示例#1
0
 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')
示例#2
0
 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')
示例#3
0
 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')
示例#4
0
 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)
示例#5
0
 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)