예제 #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
 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
    def renameCtrl(self, oldName, newName):
        UtilityDTC.renameCtrl(self, oldName, newName)

        self.designer.checkSizerConnectRename(oldName, newName)
예제 #8
0
 def properties(self):
     props = UtilityDTC.properties(self)
     props.update({'Items': ('NoneRoute', None, None)})
     return props
예제 #9
0
 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
 def __init__(self, name, designer, objClass):
     UtilityDTC.__init__(self, name, designer, objClass)
     self.editors['Items'] = SizerItemsColPropEdit
     self.subCompanions['Items'] = SizerItemsCDTC
예제 #22
0
 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
 def dependentProps(self):
     return UtilityDTC.dependentProps(self) + ['Items']
예제 #24
0
 def dependentProps(self):
     return UtilityDTC.dependentProps(self) + ['Items']
예제 #25
0
    def renameCtrlRefs(self, oldName, newName):
        UtilityDTC.renameCtrlRefs(self, oldName, newName)

        self.designer.checkCollectionRename(oldName, newName, self)
예제 #26
0
 def __init__(self, name, designer, objClass):
     UtilityDTC.__init__(self, name, designer, objClass)
     self.editors.update({'Constraints': CollPropEdit})
     self.subCompanions['Constraints'] = IndividualLayoutConstraintCDTC