Пример #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)