Dialogs.py
changeset 313 9266d1e6e3d4
parent 306 eecc53781498
child 325 0a58f1625b6e
equal deleted inserted replaced
312:eab54dae434d 313:9266d1e6e3d4
   514               label='Preview:', name='staticText5', parent=self,
   514               label='Preview:', name='staticText5', parent=self,
   515               pos=wx.Point(0, 0), size=wx.Size(0, 17), style=0)
   515               pos=wx.Point(0, 0), size=wx.Size(0, 17), style=0)
   516 
   516 
   517         self.Class = wx.ComboBox(id=ID_VARIABLEPROPERTIESDIALOGCLASS,
   517         self.Class = wx.ComboBox(id=ID_VARIABLEPROPERTIESDIALOGCLASS,
   518               name='Class', parent=self, pos=wx.Point(0, 0),
   518               name='Class', parent=self, pos=wx.Point(0, 0),
   519               size=wx.Size(0, 24), style=wx.CB_READONLY)
   519               size=wx.Size(0, 28), style=wx.CB_READONLY)
   520         self.Bind(wx.EVT_COMBOBOX, self.OnClassChanged, id=ID_VARIABLEPROPERTIESDIALOGCLASS)
   520         self.Bind(wx.EVT_COMBOBOX, self.OnClassChanged, id=ID_VARIABLEPROPERTIESDIALOGCLASS)
   521         
   521         
   522         self.VariableName = wx.ListBox(id=ID_VARIABLEPROPERTIESDIALOGNAME,
   522         self.VariableName = wx.ListBox(id=ID_VARIABLEPROPERTIESDIALOGNAME,
   523               name='Name', parent=self, pos=wx.Point(0, 0),
   523               name='Name', parent=self, pos=wx.Point(0, 0),
   524               size=wx.Size(0, 90), style=wx.LB_SINGLE)
   524               size=wx.Size(0, 90), style=wx.LB_SINGLE)
  1022               pos=wx.Point(0, 0), size=wx.Size(0, 24), style=0)
  1022               pos=wx.Point(0, 0), size=wx.Size(0, 24), style=0)
  1023         self.Bind(wx.EVT_RADIOBUTTON, self.OnTypeChanged, id=ID_LDELEMENTDIALOGRADIOBUTTON6)
  1023         self.Bind(wx.EVT_RADIOBUTTON, self.OnTypeChanged, id=ID_LDELEMENTDIALOGRADIOBUTTON6)
  1024 
  1024 
  1025         self.ElementName = wx.ComboBox(id=ID_LDELEMENTDIALOGNAME,
  1025         self.ElementName = wx.ComboBox(id=ID_LDELEMENTDIALOGNAME,
  1026               name='Name', parent=self, pos=wx.Point(0, 0),
  1026               name='Name', parent=self, pos=wx.Point(0, 0),
  1027               size=wx.Size(0, 24), style=wx.CB_READONLY)
  1027               size=wx.Size(0, 28), style=wx.CB_READONLY)
  1028         self.Bind(wx.EVT_COMBOBOX, self.OnNameChanged, id=ID_LDELEMENTDIALOGNAME)
  1028         self.Bind(wx.EVT_COMBOBOX, self.OnNameChanged, id=ID_LDELEMENTDIALOGNAME)
  1029 
  1029 
  1030         self.Preview = wx.Panel(id=ID_LDELEMENTDIALOGPREVIEW,
  1030         self.Preview = wx.Panel(id=ID_LDELEMENTDIALOGPREVIEW,
  1031               name='Preview', parent=self, pos=wx.Point(0, 0),
  1031               name='Preview', parent=self, pos=wx.Point(0, 0),
  1032               size=wx.Size(0, 0), style=wx.TAB_TRAVERSAL|wx.SIMPLE_BORDER)
  1032               size=wx.Size(0, 0), style=wx.TAB_TRAVERSAL|wx.SIMPLE_BORDER)
  1677         self.Bind(wx.EVT_RADIOBUTTON, self.OnTypeChanged, id=ID_TRANSITIONCONTENTDIALOGRADIOBUTTON1)
  1677         self.Bind(wx.EVT_RADIOBUTTON, self.OnTypeChanged, id=ID_TRANSITIONCONTENTDIALOGRADIOBUTTON1)
  1678         self.radioButton1.SetValue(True)
  1678         self.radioButton1.SetValue(True)
  1679 
  1679 
  1680         self.Reference = wx.ComboBox(id=ID_TRANSITIONCONTENTDIALOGREFERENCE,
  1680         self.Reference = wx.ComboBox(id=ID_TRANSITIONCONTENTDIALOGREFERENCE,
  1681               name='Reference', parent=self, pos=wx.Point(0, 0), 
  1681               name='Reference', parent=self, pos=wx.Point(0, 0), 
  1682               size=wx.Size(0, 24), style=wx.CB_READONLY)
  1682               size=wx.Size(0, 28), style=wx.CB_READONLY)
  1683         self.Bind(wx.EVT_COMBOBOX, self.OnReferenceChanged, id=ID_TRANSITIONCONTENTDIALOGREFERENCE)
  1683         self.Bind(wx.EVT_COMBOBOX, self.OnReferenceChanged, id=ID_TRANSITIONCONTENTDIALOGREFERENCE)
  1684 
  1684 
  1685         self.radioButton2 = wx.RadioButton(id=ID_TRANSITIONCONTENTDIALOGRADIOBUTTON2,
  1685         self.radioButton2 = wx.RadioButton(id=ID_TRANSITIONCONTENTDIALOGRADIOBUTTON2,
  1686               label='Inline', name='radioButton2', parent=self,
  1686               label='Inline', name='radioButton2', parent=self,
  1687               pos=wx.Point(0, 0), size=wx.Size(0, 24), style=0)
  1687               pos=wx.Point(0, 0), size=wx.Size(0, 24), style=0)