def __init__(self, app, parent): SimpleSplitWindow.__init__(self, app, parent, FamilyView, 'FamilyMainWindow') self.app = app self.initActions() self.initMenus() self.initToolbar() self.conn = app.conn self.cfg = app.cfg self.cursor = StatementCursor(self.conn) self.family = Family(self.conn) self.refreshListView() self.resize(600, 800) self.setCaption('paella families')
def __init__(self, app, parent): SimpleSplitWindow.__init__(self, app, parent, ProfileView, 'ProfileMainWindow') self.app = app self.initActions() self.initMenus() self.initToolbar() self.conn = app.conn self.cfg = app.cfg self.cursor = StatementCursor(self.conn) self.profile = Profile(self.conn) self.refreshListView() self.resize(600, 800) self.setCaption('paella profiles')
def __init__(self, app, parent, suite): SimpleSplitWindow.__init__(self, app, parent, TraitView, 'TraitMainWindow') self.app = app self.initActions() self.initMenus() self.initToolbar() self.conn = app.conn self.suite = suite self.cfg = app.cfg self.cursor = StatementCursor(self.conn) self.trait = Trait(self.conn, suite=suite) self.refreshListView() self.view.set_suite(suite) self.resize(600, 800) self.setCaption('%s traits' % suite)