示例#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