def __init__(self, appdata): UCApplication.__init__(self) self.appdata = appdata self.insp = DocumentInspector(self) self.proxy = AppProxy(self) self.mw = AppMainWindow(self, create_actions(self)) self.proxy.update_references()
class Application(UCApplication): docs = [] actions = [] def __init__(self, appdata): UCApplication.__init__(self) self.appdata = appdata self.insp = DocumentInspector(self) self.proxy = AppProxy(self) self.mw = AppMainWindow(self, create_actions(self)) self.proxy.update_references() def run(self): self.mw.run()