本文整理汇总了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