Exemple #1
0
 def __init__(self, name, designer, parentCompanion, ctrl):
     CollectionDTC.__init__(self, name, designer, parentCompanion, ctrl)
     self.editors = {
         'Position': IntConstrPropEdit,
         'Item': StrConstrPropEdit,
         'Bitmap': BitmapConstrPropEdit
     }
    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}
    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 = []
Exemple #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
Exemple #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 = []
Exemple #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 = []
Exemple #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}
Exemple #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']
Exemple #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'
     ]
Exemple #10
0
 def __init__(self, name, designer, parentCompanion, ctrl):
     CollectionDTC.__init__(self, name, designer, parentCompanion, ctrl)
     self.editors['Index'] = IntConstrPropEdit
 def __init__(self, name, designer, parentCompanion, ctrl):
     CollectionDTC.__init__(self, name, designer, parentCompanion, ctrl)
     self.editors = {'Number' : IntConstrPropEdit,
                     'Text': StrConstrPropEdit,
                     'Width': SBFWidthConstrPropEdit}
     self.widths = []
Exemple #12
0
 def __init__(self, name, designer, parentCompanion, ctrl):
     CollectionDTC.__init__(self, name, designer, parentCompanion, ctrl)
     self.editors.update({'Menu': MenuEnumConstrPropEdit,
                          'Title': StrConstrPropEdit})
Exemple #13
0
    def __init__(self, name, designer, parentCompanion, ctrl):
        CollectionDTC.__init__(self, name, designer, parentCompanion, ctrl)

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