本文整理匯總了Python中BaseCompanions.UtilityDTC類的典型用法代碼示例。如果您正苦於以下問題:Python UtilityDTC類的具體用法?Python UtilityDTC怎麽用?Python UtilityDTC使用的例子?那麽, 這裏精選的類代碼示例或許可以為您提供幫助。
在下文中一共展示了UtilityDTC類的9個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的Python代碼示例。
示例1: __init__
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
示例2: renameCtrlRefs
def renameCtrlRefs(self, oldName, newName):
UtilityDTC.renameCtrlRefs(self, oldName, newName)
self.designer.checkCollectionRename(oldName, newName, self)
示例3: renameCtrl
def renameCtrl(self, oldName, newName):
UtilityDTC.renameCtrl(self, oldName, newName)
self.designer.checkSizerConnectRename(oldName, newName)
示例4: dependentProps
def dependentProps(self):
return UtilityDTC.dependentProps(self) + ['Items']
示例5: properties
def properties(self):
props = UtilityDTC.properties(self)
props.update({'Items': ('NoneRoute', None, None)})
return props
示例6: __init__
def __init__(self, name, designer, objClass):
UtilityDTC.__init__(self, name, designer, objClass)
self.editors['Items'] = SizerItemsColPropEdit
self.subCompanions['Items'] = SizerItemsCDTC
示例7: vetoedMethods
def vetoedMethods(self):
return UtilityDTC.vetoedMethods(self)+['GetPosition', 'SetPosition',
'GetSize', 'SetSize', 'GetRect', 'SetRect']
示例8: designTimeObject
def designTimeObject(self, args=None):
return UtilityDTC.designTimeObject(self, self.designTimeDefaults())
示例9: __init__
def __init__(self, name, designer, objClass):
UtilityDTC.__init__(self, name, designer, objClass)
self.editors.update({'Constraints': CollPropEdit})
self.subCompanions['Constraints'] = IndividualLayoutConstraintCDTC