628 |
# |
# |
629 |
|
|
630 |
self.fieldTypeText = wxStaticText(self, -1, "") |
self.fieldTypeText = wxStaticText(self, -1, "") |
631 |
self.__SetFieldTypeText(self.__cur_field) |
topBox.Add(self.fieldTypeText, 0, wxGROW | wxALIGN_LEFT | wxALL, 4) |
|
|
|
|
topBox.Add(self.fieldTypeText, 0, wxALIGN_LEFT | wxALL, 4) |
|
|
#self.fieldTypeText.SetLabel("asdfadsfs") |
|
632 |
|
|
633 |
propertyBox = wxBoxSizer(wxHORIZONTAL) |
propertyBox = wxBoxSizer(wxHORIZONTAL) |
634 |
propertyBox.Add(wxStaticText(self, -1, _("Field: ")), |
propertyBox.Add(wxStaticText(self, -1, _("Field: ")), |
635 |
0, wxALIGN_CENTER | wxALL, 4) |
0, wxALIGN_LEFT | wxALL, 4) |
636 |
propertyBox.Add(self.fields, 1, wxGROW|wxALL, 4) |
propertyBox.Add(self.fields, 1, wxGROW|wxALL, 4) |
637 |
EVT_COMBOBOX(self, ID_PROPERTY_SELECT, self._OnFieldSelect) |
EVT_COMBOBOX(self, ID_PROPERTY_SELECT, self._OnFieldSelect) |
638 |
|
|
869 |
|
|
870 |
def __init__(self, parent, prop, shapeType): |
def __init__(self, parent, prop, shapeType): |
871 |
wxDialog.__init__(self, parent, -1, _("Select Properties"), |
wxDialog.__init__(self, parent, -1, _("Select Properties"), |
872 |
style = wxRESIZE_BORDER) |
style = wxDEFAULT_DIALOG_STYLE | wxRESIZE_BORDER) |
873 |
|
|
874 |
self.prop = ClassGroupProperties(prop) |
self.prop = ClassGroupProperties(prop) |
875 |
|
|