コード例 #1
0
 def __init__(self, name, designer, objClass):
     UtilityDTC.__init__(self, name, designer, objClass)
     self.editors.update({
         'Title': StrConstrPropEdit,
         'Items': CollectionPropEdit
     })
     self.subCompanions['Items'] = MenuItemsCIDTC
コード例 #2
0
 def __init__(self, name, designer, objClass):
     UtilityDTC.__init__(self, name, designer, objClass)
     self.editors.update({
         'CursorId': EnumConstrPropEdit,
         'Visible': BoolPropEdit
     })
     self.names['CursorId'] = stockCursorIds
コード例 #3
0
 def __init__(self, name, designer, objClass):
     UtilityDTC.__init__(self, name, designer, objClass)
     self.editors.update({
         'Width': IntConstrPropEdit,
         'Height': IntConstrPropEdit,
         'Images': CollectionPropEdit,
     })
     self.subCompanions['Images'] = ImageListImagesCDTC
コード例 #4
0
 def __init__(self, name, designer, objClass):
     UtilityDTC.__init__(self, name, designer, objClass)
     self.editors.update({'CursorName': StrConstrPropEdit,
                          'Flags': EnumConstrPropEdit,
                          'HotSpotX': IntConstrPropEdit,
                          'HotSpotY': IntConstrPropEdit,
                          'Visible': BoolPropEdit})
     self.names['Flags'] = cursorIconTypes
コード例 #5
0
 def __init__(self, name, designer, objClass):
     UtilityDTC.__init__(self, name, designer, objClass)
     self.editors.update({'Menus': CollectionPropEdit})
     self.subCompanions['Menus'] = MenuBarMenusCDTC
コード例 #6
0
ファイル: UtilCompanions.py プロジェクト: cwt/boa-constructor
 def __init__(self, name, designer, objClass):
     UtilityDTC.__init__(self, name, designer, objClass)
     self.editors.update({'Width': IntConstrPropEdit,
                          'Height': IntConstrPropEdit,
                          'Images': CollectionPropEdit,})
     self.subCompanions['Images'] = ImageListImagesCDTC
コード例 #7
0
ファイル: SizerCompanions.py プロジェクト: aricsanders/boa
    def renameCtrl(self, oldName, newName):
        UtilityDTC.renameCtrl(self, oldName, newName)

        self.designer.checkSizerConnectRename(oldName, newName)
コード例 #8
0
ファイル: SizerCompanions.py プロジェクト: aricsanders/boa
 def properties(self):
     props = UtilityDTC.properties(self)
     props.update({'Items': ('NoneRoute', None, None)})
     return props
コード例 #9
0
ファイル: UtilCompanions.py プロジェクト: cwt/boa-constructor
 def __init__(self, name, designer, objClass):
     UtilityDTC.__init__(self, name, designer, objClass)
     self.editors.update({'CursorId': EnumConstrPropEdit,
                          'Visible': BoolPropEdit})
     self.names['CursorId'] = stockCursorIds
コード例 #10
0
 def vetoedMethods(self):
     return UtilityDTC.vetoedMethods(self)+['GetPosition', 'SetPosition',
            'GetSize', 'SetSize', 'GetRect', 'SetRect']
コード例 #11
0
 def __init__(self, name, designer, objClass):
     UtilityDTC.__init__(self, name, designer, objClass)
     self.id = self.getWinId()
コード例 #12
0
    def renameCtrlRefs(self, oldName, newName):
        UtilityDTC.renameCtrlRefs(self, oldName, newName)

        self.designer.checkCollectionRename(oldName, newName, self)
コード例 #13
0
    def renameCtrl(self, oldName, newName):
        UtilityDTC.renameCtrl(self, oldName, newName)

        self.designer.checkSizerConnectRename(oldName, newName)
コード例 #14
0
 def __init__(self, name, designer, objClass):
     UtilityDTC.__init__(self, name, designer, objClass)
     self.editors['Items'] = SizerItemsColPropEdit
     self.subCompanions['Items'] = SizerItemsCDTC
コード例 #15
0
 def __init__(self, name, designer, objClass):
     UtilityDTC.__init__(self, name, designer, objClass)
     self.editors.update({'Constraints': CollPropEdit})
     self.subCompanions['Constraints'] = IndividualLayoutConstraintCDTC
コード例 #16
0
 def properties(self):
     props = UtilityDTC.properties(self)
     props.update({'Menus':  ('NoneRoute', None, None)})
     return props
コード例 #17
0
 def dependentProps(self):
     return UtilityDTC.dependentProps(self) + ['Menus']
コード例 #18
0
 def designTimeObject(self, args=None):
     return UtilityDTC.designTimeObject(self, self.designTimeDefaults())
コード例 #19
0
 def SetName(self, oldValue, newValue):
     UtilityDTC.SetName(self, oldValue, newValue)
     self.updateWindowIds()
コード例 #20
0
 def __init__(self, name, designer, objClass):
     UtilityDTC.__init__(self, name, designer, objClass)
     self.editors.update({'Entries': CollectionPropEdit})
     self.subCompanions['Entries'] = AcceleratorTableEntriesCDTC
コード例 #21
0
ファイル: SizerCompanions.py プロジェクト: aricsanders/boa
 def __init__(self, name, designer, objClass):
     UtilityDTC.__init__(self, name, designer, objClass)
     self.editors['Items'] = SizerItemsColPropEdit
     self.subCompanions['Items'] = SizerItemsCDTC
コード例 #22
0
ファイル: UtilCompanions.py プロジェクト: cwt/boa-constructor
 def __init__(self, name, designer, objClass):
     UtilityDTC.__init__(self, name, designer, objClass)
     self.editors.update({'Title': StrConstrPropEdit,
                          'Items': CollectionPropEdit})
     self.subCompanions['Items'] = MenuItemsCIDTC
コード例 #23
0
ファイル: SizerCompanions.py プロジェクト: aricsanders/boa
 def dependentProps(self):
     return UtilityDTC.dependentProps(self) + ['Items']
コード例 #24
0
 def dependentProps(self):
     return UtilityDTC.dependentProps(self) + ['Items']
コード例 #25
0
ファイル: SizerCompanions.py プロジェクト: aricsanders/boa
    def renameCtrlRefs(self, oldName, newName):
        UtilityDTC.renameCtrlRefs(self, oldName, newName)

        self.designer.checkCollectionRename(oldName, newName, self)
コード例 #26
0
ファイル: UtilCompanions.py プロジェクト: aricsanders/boa
 def __init__(self, name, designer, objClass):
     UtilityDTC.__init__(self, name, designer, objClass)
     self.editors.update({'Constraints': CollPropEdit})
     self.subCompanions['Constraints'] = IndividualLayoutConstraintCDTC