def __init__(self, name, designer, cmpn, obj, ownerPW): HelperDTC.__init__(self, name, designer, cmpn, obj, ownerPW) self.editors = {'FaceName' : PropertyEditors.EnumPropEdit, 'Family' : PropertyEditors.EnumPropEdit, 'Style' : PropertyEditors.EnumPropEdit, 'Weight' : PropertyEditors.EnumPropEdit, 'Underlined': PropertyEditors.BoolPropEdit,} fontEnum = wx.FontEnumerator() fontEnum.EnumerateFacenames() fontNameList = fontEnum.GetFacenames() fontFaceName = [] fontFaceNameNames = {} for fnt in fontNameList: fontFaceName.append(fnt) fontFaceNameNames[fnt] = fnt fontFaceName.sort() self.options = {'FaceName' : fontFaceName, 'Family' : fontFamily, 'Style' : fontStyle, 'Weight' : fontWeight,} self.names = {'FaceName' : fontFaceNameNames, 'Family' : fontFamilyNames, 'Style' : fontStyleNames, 'Weight' : fontWeightNames,}
def __init__(self, name, designer, cmpn, obj, ownerPW): HelperDTC.__init__(self, name, designer, cmpn, obj, ownerPW) self.editors = { 'Red': PropertyEditors.IntPropEdit, 'Green': PropertyEditors.IntPropEdit, 'Blue': PropertyEditors.IntPropEdit, }
def __init__(self, name, designer, cmpn, obj, ownerPW): HelperDTC.__init__(self, name, designer, cmpn, obj, ownerPW) self.editors = {'Left' : PropertyEditors.BoolPropEdit, 'Top' : PropertyEditors.BoolPropEdit, 'Right' : PropertyEditors.BoolPropEdit, 'Bottom' : PropertyEditors.BoolPropEdit} self.anchCtrl = cmpn.control self.assureAnchors() self.GetLeftAnchor('') self.GetTopAnchor('') self.GetRightAnchor('') self.GetBottomAnchor('')
def __init__(self, name, designer, cmpn, obj, ownerPW): HelperDTC.__init__(self, name, designer, cmpn, obj, ownerPW) self.editors = {'Row' : PositiveIntPropEdit, 'Column' : PositiveIntPropEdit}
def __init__(self, name, designer, cmpn, obj, ownerPW): HelperDTC.__init__(self, name, designer, cmpn, obj, ownerPW) self.editors = { 'Row': PositiveIntPropEdit, 'Column': PositiveIntPropEdit }
def __init__(self, name, designer, cmpn, obj, ownerPW): HelperDTC.__init__(self, name, designer, cmpn, obj, ownerPW) self.editors = {'X' : PropertyEditors.IntPropEdit, 'Y' : PropertyEditors.IntPropEdit}
def __init__(self, name, designer, cmpn, obj, ownerPW): HelperDTC.__init__(self, name, designer, cmpn, obj, ownerPW) self.editors = {'Red' : PropertyEditors.IntPropEdit, 'Green' : PropertyEditors.IntPropEdit, 'Blue' : PropertyEditors.IntPropEdit,}
def hideDesignTime(self): return HelperDTC.hideDesignTime(self) + ['Encoding', 'NativeFontInfo', 'NativeFontInfoUserDesc', 'NoAntiAliasing']
def __init__(self, name, designer, cmpn, obj, ownerPW): HelperDTC.__init__(self, name, designer, cmpn, obj, ownerPW) self.editors = {} for flag in self.ownerCompn.windowStyles: self.editors[flag] = PropertyEditors.BoolPropEdit