477 |
477 |
478 self.staticText1 = wx.StaticText(id=ID_USERTYPEDIALOGSTATICTEXT1, |
478 self.staticText1 = wx.StaticText(id=ID_USERTYPEDIALOGSTATICTEXT1, |
479 label=_('Type:'), name='staticText1', parent=self, |
479 label=_('Type:'), name='staticText1', parent=self, |
480 pos=wx.Point(0, 0), size=wx.Size(0, 17), style=0) |
480 pos=wx.Point(0, 0), size=wx.Size(0, 17), style=0) |
481 |
481 |
482 self.Type = wx.Choice(choices=[], id=ID_USERTYPEDIALOGTYPE, |
482 self.Type = wx.ComboBox(choices=[], id=ID_USERTYPEDIALOGTYPE, |
483 name='Type', parent=self, pos=wx.Point(0, 0), |
483 name='Type', parent=self, pos=wx.Point(0, 0), |
484 size=wx.Size(0, 24), style=0) |
484 size=wx.Size(0, 28), style=wx.CB_READONLY) |
485 self.Type.Bind(wx.EVT_CHOICE, self.OnTypeChoice, |
485 self.Type.Bind(wx.EVT_CHOICE, self.OnTypeChoice, |
486 id=ID_USERTYPEDIALOGTYPE) |
486 id=ID_USERTYPEDIALOGTYPE) |
487 |
487 |
488 self.Spacer = wx.Panel(id=ID_MAPVARIABLEDIALOGSPACER, |
488 self.Spacer = wx.Panel(id=ID_MAPVARIABLEDIALOGSPACER, |
489 name='Spacer', parent=self, pos=wx.Point(0, 0), |
489 name='Spacer', parent=self, pos=wx.Point(0, 0), |
708 |
708 |
709 self.staticText3 = wx.StaticText(id=ID_NODEINFOSDIALOGSTATICTEXT3, |
709 self.staticText3 = wx.StaticText(id=ID_NODEINFOSDIALOGSTATICTEXT3, |
710 label=_('Type:'), name='staticText3', parent=self, |
710 label=_('Type:'), name='staticText3', parent=self, |
711 pos=wx.Point(0, 0), size=wx.Size(0, 17), style=0) |
711 pos=wx.Point(0, 0), size=wx.Size(0, 17), style=0) |
712 |
712 |
713 self.Type = wx.Choice(choices=[], id=ID_NODEINFOSDIALOGTYPE, |
713 self.Type = wx.ComboBox(choices=[], id=ID_NODEINFOSDIALOGTYPE, |
714 name='Type', parent=self, pos=wx.Point(0, 0), |
714 name='Type', parent=self, pos=wx.Point(0, 0), |
715 size=wx.Size(0, 25), style=0) |
715 size=wx.Size(0, 28), style=wx.CB_READONLY) |
716 |
716 |
717 self.staticText4 = wx.StaticText(id=ID_NODEINFOSDIALOGSTATICTEXT4, |
717 self.staticText4 = wx.StaticText(id=ID_NODEINFOSDIALOGSTATICTEXT4, |
718 label=_('Default String Size:'), name='staticText4', parent=self, |
718 label=_('Default String Size:'), name='staticText4', parent=self, |
719 pos=wx.Point(0, 0), size=wx.Size(0, 17), style=0) |
719 pos=wx.Point(0, 0), size=wx.Size(0, 17), style=0) |
720 |
720 |
907 |
907 |
908 self.staticText4 = wx.StaticText(id=ID_CREATENODEDIALOGSTATICTEXT4, |
908 self.staticText4 = wx.StaticText(id=ID_CREATENODEDIALOGSTATICTEXT4, |
909 label=_('Profile:'), name='staticText4', parent=self, |
909 label=_('Profile:'), name='staticText4', parent=self, |
910 pos=wx.Point(0, 0), size=wx.Size(0, 17), style=0) |
910 pos=wx.Point(0, 0), size=wx.Size(0, 17), style=0) |
911 |
911 |
912 self.Type = wx.Choice(choices=[], id=ID_CREATENODEDIALOGTYPE, |
912 self.Type = wx.ComboBox(choices=[], id=ID_CREATENODEDIALOGTYPE, |
913 name='Type', parent=self, pos=wx.Point(0, 0), |
913 name='Type', parent=self, pos=wx.Point(0, 0), |
914 size=wx.Size(0, 25), style=0) |
914 size=wx.Size(0, 28), style=wx.CB_READONLY) |
915 |
915 |
916 self.NodeName = wx.TextCtrl(id=ID_CREATENODEDIALOGNAME, name='NodeName', |
916 self.NodeName = wx.TextCtrl(id=ID_CREATENODEDIALOGNAME, name='NodeName', |
917 parent=self, pos=wx.Point(0, 0), size=wx.Size(0, 24), |
917 parent=self, pos=wx.Point(0, 0), size=wx.Size(0, 24), |
918 style=0, value='') |
918 style=0, value='') |
919 |
919 |
920 self.NodeID = wx.TextCtrl(id=ID_CREATENODEDIALOGNODEID, name='NodeID', |
920 self.NodeID = wx.TextCtrl(id=ID_CREATENODEDIALOGNODEID, name='NodeID', |
921 parent=self, pos=wx.Point(0, 0), size=wx.Size(0, 24), |
921 parent=self, pos=wx.Point(0, 0), size=wx.Size(0, 24), |
922 style=wx.TE_RIGHT, value='') |
922 style=wx.TE_RIGHT, value='') |
923 |
923 |
924 self.Profile = wx.Choice(choices=[], id=ID_CREATENODEDIALOGPROFILE, |
924 self.Profile = wx.ComboBox(choices=[], id=ID_CREATENODEDIALOGPROFILE, |
925 name='Profile', parent=self, pos=wx.Point(0, 0), |
925 name='Profile', parent=self, pos=wx.Point(0, 0), |
926 size=wx.Size(0, 24), style=0) |
926 size=wx.Size(0, 28), style=wx.CB_READONLY) |
927 self.Profile.Bind(wx.EVT_CHOICE, self.OnProfileChoice, |
927 self.Profile.Bind(wx.EVT_CHOICE, self.OnProfileChoice, |
928 id=ID_CREATENODEDIALOGPROFILE) |
928 id=ID_CREATENODEDIALOGPROFILE) |
929 |
929 |
930 self.staticText5 = wx.StaticText(id=ID_CREATENODEDIALOGSTATICTEXT5, |
930 self.staticText5 = wx.StaticText(id=ID_CREATENODEDIALOGSTATICTEXT5, |
931 label=_('Network Management:'), name='staticText5', |
931 label=_('Network Management:'), name='staticText5', |
1170 |
1170 |
1171 self.staticText3 = wx.StaticText(id=ID_ADDSLAVEDIALOGSTATICTEXT3, |
1171 self.staticText3 = wx.StaticText(id=ID_ADDSLAVEDIALOGSTATICTEXT3, |
1172 label=_('EDS File:'), name='staticText3', parent=self, |
1172 label=_('EDS File:'), name='staticText3', parent=self, |
1173 pos=wx.Point(0, 0), size=wx.Size(0, 17), style=0) |
1173 pos=wx.Point(0, 0), size=wx.Size(0, 17), style=0) |
1174 |
1174 |
1175 self.EDSFile = wx.Choice(id=ID_ADDSLAVEDIALOGEDSFILE, |
1175 self.EDSFile = wx.ComboBox(id=ID_ADDSLAVEDIALOGEDSFILE, |
1176 name='EDSFile', parent=self, pos=wx.Point(0, 0), |
1176 name='EDSFile', parent=self, pos=wx.Point(0, 0), |
1177 size=wx.Size(0, 24), style=0) |
1177 size=wx.Size(0, 28), style=wx.CB_READONLY) |
1178 |
1178 |
1179 self.ImportEDS = wx.Button(id=ID_ADDSLAVEDIALOGIMPORTEDS, label=_('Import EDS'), |
1179 self.ImportEDS = wx.Button(id=ID_ADDSLAVEDIALOGIMPORTEDS, label=_('Import EDS'), |
1180 name='ImportEDS', parent=self, pos=wx.Point(0, 0), |
1180 name='ImportEDS', parent=self, pos=wx.Point(0, 0), |
1181 size=wx.Size(100, 32), style=0) |
1181 size=wx.Size(100, 32), style=0) |
1182 self.ImportEDS.Bind(wx.EVT_BUTTON, self.OnImportEDSButton, |
1182 self.ImportEDS.Bind(wx.EVT_BUTTON, self.OnImportEDSButton, |