示例#1
0
class WidgetEditor(object):
    def __init__(self, propsframe, layoutframe, bindingstree):
        self.properties_editor = PropertiesEditor(propsframe)
        self.layout_editor = LayoutEditor(layoutframe)
        self.bindings_editor = BindingsEditor(bindingstree)

    def edit(self, wdescr):
        self.properties_editor.edit(wdescr)
        self.layout_editor.edit(wdescr)
        self.bindings_editor.edit(wdescr)

    def hide_all(self):
        self.properties_editor.hide_all()
        self.layout_editor.hide_all()
        self.bindings_editor.hide_all()
示例#2
0
class WidgetEditor(object):

    def __init__(self, propsframe, layoutframe, bindingstree):
        self.properties_editor = PropertiesEditor(propsframe)
        self.layout_editor = LayoutEditor(layoutframe)
        self.bindings_editor = BindingsEditor(bindingstree)

    def edit(self, wdescr):
        self.properties_editor.edit(wdescr)
        self.layout_editor.edit(wdescr)
        self.bindings_editor.edit(wdescr)

    def hide_all(self):
        self.properties_editor.hide_all()
        self.layout_editor.hide_all()
        self.bindings_editor.hide_all()
示例#3
0
 def __init__(self, propsframe, layoutframe, bindingstree):
     self.properties_editor = PropertiesEditor(propsframe)
     self.layout_editor = LayoutEditor(layoutframe)
     self.bindings_editor = BindingsEditor(bindingstree)
示例#4
0
 def __init__(self, propsframe, layoutframe, bindingstree):
     self.properties_editor = PropertiesEditor(propsframe)
     self.layout_editor = LayoutEditor(layoutframe)
     self.bindings_editor = BindingsEditor(bindingstree)