Exemplo n.º 1
0
 def __init__(self, name, designer, parent, ctrlClass):
     ContainerDTC.__init__(self, name, designer, parent, ctrlClass)
     self.editors.update({'Tools': CollectionPropEdit})
     self.subCompanions['Tools'] = ToolBarToolsCDTC
     self.windowStyles = ['wx.TB_FLAT', 'wx.TB_DOCKABLE', 'wx.TB_HORIZONTAL',
                          'wx.TB_VERTICAL', 'wx.TB_3DBUTTONS', 'wx.TB_TEXT',
                          'wx.TB_NOICONS', 'wx.TB_NODIVIDER', 'wx.TB_NOALIGN',
                         ] + self.windowStyles
Exemplo n.º 2
0
 def __init__(self, name, designer, parent, ctrlClass):
     ContainerDTC.__init__(self, name, designer, parent, ctrlClass)
     self.editors.update({
         'Pages': CollectionPropEdit,
         'ImageList': ImageListClassLinkPropEdit
     })
     self.subCompanions['Pages'] = BookCtrlPagesCDTC
     self.letClickThru = True
Exemplo n.º 3
0
 def __init__(self, name, designer, frameCtrl):
     ContainerDTC.__init__(self, name, designer, None, None)
     self.control = frameCtrl
     self.editors['Flags'] = FlagsConstrPropEdit
     # XXX should rather be enumerated
     self.windowStyles = ['wx.SIMPLE_BORDER', 'wx.DOUBLE_BORDER',
                          'wx.SUNKEN_BORDER', 'wx.RAISED_BORDER',
                          'wx.STATIC_BORDER', 'wx.NO_BORDER']
Exemplo n.º 4
0
 def __init__(self, name, designer, frameCtrl):
     ContainerDTC.__init__(self, name, designer, None, None)
     self.control = frameCtrl
     self.editors['Flags'] = FlagsConstrPropEdit
     # XXX should rather be enumerated
     self.windowStyles = ['wx.SIMPLE_BORDER', 'wx.DOUBLE_BORDER',
                          'wx.SUNKEN_BORDER', 'wx.RAISED_BORDER',
                          'wx.STATIC_BORDER', 'wx.NO_BORDER']
Exemplo n.º 5
0
 def __init__(self, name, designer, parent, ctrlClass):
     ContainerDTC.__init__(self, name, designer, parent, ctrlClass)
     self.editors.update({'Tools': CollectionPropEdit})
     self.subCompanions['Tools'] = ToolBarToolsCDTC
     self.windowStyles = ['wx.TB_FLAT', 'wx.TB_DOCKABLE', 'wx.TB_HORIZONTAL',
                          'wx.TB_VERTICAL', 'wx.TB_3DBUTTONS', 'wx.TB_TEXT',
                          'wx.TB_NOICONS', 'wx.TB_NODIVIDER', 'wx.TB_NOALIGN',
                         ] + self.windowStyles
Exemplo n.º 6
0
 def __init__(self, name, designer, parent, ctrlClass):
     ContainerDTC.__init__(self, name, designer, parent, ctrlClass)
     self.editors.update({'SplitMode': EnumPropEdit,
                          'Window1'  : SplitterWindow1LinkPropEdit,
                          'Window2'  : SplitterWindow2LinkPropEdit})
     self.options['SplitMode'] = splitterWindowSplitMode
     self.names['SplitMode'] = splitterWindowSplitModeNames
     self.windowStyles = ['wx.SP_3D', 'wx.SP_3DSASH', 'wx.SP_3DBORDER',
                          'wx.SP_BORDER', 'wx.SP_NOBORDER', 
                          'wx.SP_PERMIT_UNSPLIT', 'wx.SP_LIVE_UPDATE',
                          ] + self.windowStyles 
     self.win1 = None
     self.win2 = None
Exemplo n.º 7
0
 def __init__(self, name, designer, parent, ctrlClass):
     ContainerDTC.__init__(self, name, designer, parent, ctrlClass)
     self.editors.update({'SplitMode': EnumPropEdit,
                          'Window1'  : SplitterWindow1LinkPropEdit,
                          'Window2'  : SplitterWindow2LinkPropEdit})
     self.options['SplitMode'] = splitterWindowSplitMode
     self.names['SplitMode'] = splitterWindowSplitModeNames
     self.windowStyles = ['wx.SP_3D', 'wx.SP_3DSASH', 'wx.SP_3DBORDER',
                          'wx.SP_BORDER', 'wx.SP_NOBORDER', 
                          'wx.SP_PERMIT_UNSPLIT', 'wx.SP_LIVE_UPDATE',
                          ] + self.windowStyles 
     self.win1 = None
     self.win2 = None
Exemplo n.º 8
0
 def __init__(self, name, designer, parent, ctrlClass):
     ContainerDTC.__init__(self, name, designer, parent, ctrlClass)
     self.editors.update({'SashVisibleLeft' : SashVisiblePropEdit,
                          'SashVisibleTop' : SashVisiblePropEdit,
                          'SashVisibleRight' : SashVisiblePropEdit,
                          'SashVisibleBottom' : SashVisiblePropEdit})
     self.windowStyles = ['wx.SW_3D', 'wx.SW_3DSASH', 'wx.SW_3DBORDER',
                          'wx.SW_BORDER'] + self.windowStyles
     self.edgeNameMap = {'SashVisibleLeft'  : wx.SASH_LEFT,
                         'SashVisibleTop'   : wx.SASH_TOP,
                         'SashVisibleRight' : wx.SASH_RIGHT,
                         'SashVisibleBottom': wx.SASH_BOTTOM}
     for name in self.edgeNameMap.keys() + ['SashVisible']:
         self.customPropEvaluators[name] = self.EvalSashVisible
Exemplo n.º 9
0
 def __init__(self, name, designer, parent, ctrlClass):
     ContainerDTC.__init__(self, name, designer, parent, ctrlClass)
     self.editors.update({'SashVisibleLeft' : SashVisiblePropEdit,
                          'SashVisibleTop' : SashVisiblePropEdit,
                          'SashVisibleRight' : SashVisiblePropEdit,
                          'SashVisibleBottom' : SashVisiblePropEdit})
     self.windowStyles = ['wx.SW_3D', 'wx.SW_3DSASH', 'wx.SW_3DBORDER',
                          'wx.SW_BORDER'] + self.windowStyles
     self.edgeNameMap = {'SashVisibleLeft'  : wx.SASH_LEFT,
                         'SashVisibleTop'   : wx.SASH_TOP,
                         'SashVisibleRight' : wx.SASH_RIGHT,
                         'SashVisibleBottom': wx.SASH_BOTTOM}
     for name in self.edgeNameMap.keys() + ['SashVisible']:
         self.customPropEvaluators[name] = self.EvalSashVisible
Exemplo n.º 10
0
 def __init__(self, name, designer, frameCtrl):
     ContainerDTC.__init__(self, name, designer, None, None)
     self.control = frameCtrl
Exemplo n.º 11
0
 def __init__(self, name, designer, parent, ctrlClass):
     ContainerDTC.__init__(self, name, designer, parent, ctrlClass)
     self.editors['DefaultItem'] = ButtonClassLinkPropEdit
     self.windowStyles.insert(0, 'wx.TAB_TRAVERSAL')
Exemplo n.º 12
0
 def __init__(self, name, designer, parent, ctrlClass):
     ContainerDTC.__init__(self, name, designer, parent, ctrlClass)
     self.editors.update({'Pages':     CollectionPropEdit,
                          'ImageList': ImageListClassLinkPropEdit})
     self.subCompanions['Pages'] = BookCtrlPagesCDTC
     self.letClickThru = True
Exemplo n.º 13
0
 def __init__(self, name, designer, parent, ctrlClass):
     ContainerDTC.__init__(self, name, designer, parent, ctrlClass)
     self.editors['TargetWindow'] = WindowClassLinkPropEdit
Exemplo n.º 14
0
 def __init__(self, name, designer, parent, ctrlClass):
     ContainerDTC.__init__(self, name, designer, parent, ctrlClass)
     self.windowStyles = ['wx.CP_DEFAULT_STYLE', 'wx.CP_NO_TLW_RESIZE'] +self.windowStyles
Exemplo n.º 15
0
 def __init__(self, name, designer, parent, ctrlClass):
     ContainerDTC.__init__(self, name, designer, parent, ctrlClass)
     self.editors['Fields'] = CollectionPropEdit
     self.subCompanions['Fields'] = StatusBarFieldsCDTC
     self.windowStyles = ['wx.ST_SIZEGRIP'] + self.windowStyles
Exemplo n.º 16
0
 def __init__(self, name, designer, frameCtrl):
     ContainerDTC.__init__(self, name, designer, None, None)
     self.control = frameCtrl
Exemplo n.º 17
0
 def __init__(self, name, designer, parent, ctrlClass):
     ContainerDTC.__init__(self, name, designer, parent, ctrlClass)
     self.editors['Fields'] = CollectionPropEdit
     self.subCompanions['Fields'] = StatusBarFieldsCDTC
     self.windowStyles = ['wx.ST_SIZEGRIP'] + self.windowStyles
Exemplo n.º 18
0
 def __init__(self, name, designer, parent, ctrlClass):
     ContainerDTC.__init__(self, name, designer, parent, ctrlClass)
     self.editors['DefaultItem'] = ButtonClassLinkPropEdit
     self.windowStyles.insert(0, 'wx.TAB_TRAVERSAL')
Exemplo n.º 19
0
 def __init__(self, name, designer, parent, ctrlClass):
     ContainerDTC.__init__(self, name, designer, parent, ctrlClass)
     self.editors['TargetWindow'] = WindowClassLinkPropEdit
Exemplo n.º 20
0
 def __init__(self, name, designer, parent, ctrlClass):
     ContainerDTC.__init__(self, name, designer, parent, ctrlClass)
     self.windowStyles = ['wx.CP_DEFAULT_STYLE', 'wx.CP_NO_TLW_RESIZE'] +self.windowStyles