Ejemplo n.º 1
0
 def __init__(self, name, designer, parentCompanion, ctrl):
     CollectionDTC.__init__(self, name, designer, parentCompanion, ctrl)
     self.editors = {
         'Position': IntConstrPropEdit,
         'Item': StrConstrPropEdit,
         'Bitmap': BitmapConstrPropEdit
     }
Ejemplo n.º 2
0
    def __init__(self, name, designer, parentCompanion, ctrl):
        CollectionDTC.__init__(self, name, designer, parentCompanion, ctrl)
        self.editors = {'Width': IntConstrPropEdit,
                        'Heading': StrConstrPropEdit,
                        'Format': EnumConstrPropEdit}#StyleConstrPropEdit}
#        self.options = {'Format': formatStyle}
        self.names = {'Format': formatStyle}
Ejemplo n.º 3
0
    def __init__(self, name, designer, parentCompanion, ctrl):
        CollectionDTC.__init__(self, name, designer, parentCompanion, ctrl)
        self.editors = {'Page': ClassLinkConstrPropEdit,
                        'Text': StrConstrPropEdit,
                        'Selected' : BoolConstrPropEdit,
                        'ImageId': IntConstrPropEdit}

        self.tempPlaceHolders = []
Ejemplo n.º 4
0
    def __init__(self, name, designer, parentCompanion, ctrl):
        CollectionDTC.__init__(self, name, designer, parentCompanion, ctrl)
        self.editors = {'Bitmap': BitmapConstrPropEdit,
                        'Mask': BitmapConstrPropEdit,
#                        'Icon': BitmapConstrPropEdit,
                        'MaskColour': ColourConstrPropEdit}
        from Views.CollectionEdit import ImageListCollectionEditor
        self.CollEditorFrame = ImageListCollectionEditor
Ejemplo n.º 5
0
    def __init__(self, name, designer, parentCompanion, ctrl):
        CollectionDTC.__init__(self, name, designer, parentCompanion, ctrl)
        self.editors = {'Page': ClassLinkConstrPropEdit,
                        'Text': StrConstrPropEdit,
                        'Selected' : BoolConstrPropEdit,
                        'ImageId': IntConstrPropEdit}

        self.tempPlaceHolders = []
Ejemplo n.º 6
0
 def __init__(self, name, designer, parentCompanion, ctrl):
     CollectionDTC.__init__(self, name, designer, parentCompanion, ctrl)
     self.editors = {
         'Number': IntConstrPropEdit,
         'Text': StrConstrPropEdit,
         'Width': SBFWidthConstrPropEdit
     }
     self.widths = []
Ejemplo n.º 7
0
 def __init__(self, name, designer, parentCompanion, ctrl):
     CollectionDTC.__init__(self, name, designer, parentCompanion, ctrl)
     self.editors = {
         'Width': IntConstrPropEdit,
         'Heading': StrConstrPropEdit,
         'Format': EnumConstrPropEdit
     }  #StyleConstrPropEdit}
     #        self.options = {'Format': formatStyle}
     self.names = {'Format': formatStyle}
Ejemplo n.º 8
0
 def __init__(self, name, designer, parentCompanion, ctrl):
     CollectionDTC.__init__(self, name, designer, parentCompanion, ctrl)
     self.editors = {'Window': SizerWinEnumConstrPropEdit,
                     'Sizer': SizerEnumConstrPropEdit,
                     'Proportion': IntConstrPropEdit,
                     'Flag': SizerFlagsConstrPropEdit,
                     'Border': IntConstrPropEdit,
                     'Size': SizeConstrPropEdit,
                    }
     self.windowStyles = ['wx.LEFT', 'wx.RIGHT', 'wx.TOP', 'wx.BOTTOM', 'wx.ALL',
                          'wx.SHRINK', 'wx.GROW', 'wx.EXPAND', 'wx.SHAPED',
                          'wx.ALIGN_LEFT', 'wx.ALIGN_CENTER_HORIZONTAL',
                          'wx.ALIGN_RIGHT', 'wx.ALIGN_BOTTOM',
                          'wx.ALIGN_CENTER_VERTICAL', 'wx.ALIGN_TOP',
                          'wx.ALIGN_CENTER', 'wx.ADJUST_MINSIZE']
Ejemplo n.º 9
0
 def __init__(self, name, designer, parentCompanion, ctrl):
     CollectionDTC.__init__(self, name, designer, parentCompanion, ctrl)
     self.editors = {
         'Window': SizerWinEnumConstrPropEdit,
         'Sizer': SizerEnumConstrPropEdit,
         'Proportion': IntConstrPropEdit,
         'Flag': SizerFlagsConstrPropEdit,
         'Border': IntConstrPropEdit,
         'Size': SizeConstrPropEdit,
     }
     self.windowStyles = [
         'wx.LEFT', 'wx.RIGHT', 'wx.TOP', 'wx.BOTTOM', 'wx.ALL',
         'wx.SHRINK', 'wx.GROW', 'wx.EXPAND', 'wx.SHAPED', 'wx.ALIGN_LEFT',
         'wx.ALIGN_CENTER_HORIZONTAL', 'wx.ALIGN_RIGHT', 'wx.ALIGN_BOTTOM',
         'wx.ALIGN_CENTER_VERTICAL', 'wx.ALIGN_TOP', 'wx.ALIGN_CENTER',
         'wx.ADJUST_MINSIZE'
     ]
Ejemplo n.º 10
0
 def __init__(self, name, designer, parentCompanion, ctrl):
     CollectionDTC.__init__(self, name, designer, parentCompanion, ctrl)
     self.editors['Index'] = IntConstrPropEdit
Ejemplo n.º 11
0
 def __init__(self, name, designer, parentCompanion, ctrl):
     CollectionDTC.__init__(self, name, designer, parentCompanion, ctrl)
     self.editors = {'Number' : IntConstrPropEdit,
                     'Text': StrConstrPropEdit,
                     'Width': SBFWidthConstrPropEdit}
     self.widths = []
Ejemplo n.º 12
0
 def __init__(self, name, designer, parentCompanion, ctrl):
     CollectionDTC.__init__(self, name, designer, parentCompanion, ctrl)
     self.editors.update({'Menu': MenuEnumConstrPropEdit,
                          'Title': StrConstrPropEdit})
Ejemplo n.º 13
0
    def __init__(self, name, designer, parentCompanion, ctrl):
        CollectionDTC.__init__(self, name, designer, parentCompanion, ctrl)

        self.editors['Entry'] = AcceleratorEntryPropEdit
Ejemplo n.º 14
0
 def __init__(self, name, designer, parentCompanion, ctrl):
     CollectionDTC.__init__(self, name, designer, parentCompanion, ctrl)
     self.editors['Index'] = IntConstrPropEdit
Ejemplo n.º 15
0
 def __init__(self, name, designer, parentCompanion, ctrl):
     CollectionDTC.__init__(self, name, designer, parentCompanion, ctrl)
     self.editors = {'Position' : IntConstrPropEdit,
                     'Item': StrConstrPropEdit,
                     'Bitmap': BitmapConstrPropEdit}