Пример #1
0
 def __init__(self, parent, name='SuiteManagerWindow'):
     BaseSplitWindow.__init__(self, parent, SuiteManagerView, name=name)
     self.initPaellaCommon()
     self.suitecursor = SuiteCursor(self.conn)
     self.refreshListView()
     self.initActions()
     self.initMenus()
     self.initToolbar()
     self.resize(800, 300)
     self.splitter.setSizes([100, 700])
Пример #2
0
 def __init__(self, parent, name='SuiteManagerWindow'):
     BaseSplitWindow.__init__(self, parent, SuiteManagerView, name=name)
     self.initPaellaCommon()
     self.suitecursor = SuiteCursor(self.conn)
     self.refreshListView()
     self.initActions()
     self.initMenus()
     self.initToolbar()
     self.resize(800, 300)
     self.splitter.setSizes([100, 700])
Пример #3
0
 def __init__(self, parent, name='AptSourceMainWindow'):
     BaseSplitWindow.__init__(self, parent, AptSourceView,
                              name=name)
     self.initPaellaCommon()
     self.aptsrc = AptSourceHandler(self.conn)
     self.initActions()
     self.initMenus()
     self.initToolbar()
     self.setCaption('Apt Sources Manager')
     self.resize(500, 300)
     self.splitter.setSizes([100, 400])
     self.refreshListView()
     self.mainView.resetView()
Пример #4
0
 def __init__(self, parent, name='AptKeyWindow'):
     BaseSplitWindow.__init__(self, parent, AptKeyView, name=name)
     self.initPaellaCommon()
     self.db = AptKeyHandler(self.conn)
     self.initActions()
     self.initMenus()
     self.initToolbar()
     self.setCaption('Apt Key Manager')
     #self.resize(500, 300)
     #self.splitter.setSizes([100, 400])
     #self.refreshListView()
     #self.mainView.resetView()
     self.refreshListView()
Пример #5
0
 def __init__(self, parent, name='AptKeyWindow'):
     BaseSplitWindow.__init__(self, parent, AptKeyView, name=name)
     self.initPaellaCommon()
     self.db = AptKeyHandler(self.conn)
     self.initActions()
     self.initMenus()
     self.initToolbar()
     self.setCaption('Apt Key Manager')
     #self.resize(500, 300)
     #self.splitter.setSizes([100, 400])
     #self.refreshListView()
     #self.mainView.resetView()
     self.refreshListView()
Пример #6
0
 def __init__(self, parent):
     BaseSplitWindow.__init__(self, parent, ProfileView, name="ProfileMainWindow")
     self.initPaellaCommon()
     self.initActions()
     self.initMenus()
     self.initToolbar()
     self.cursor = self.conn.cursor(statement=True)
     self.profile = Profile(self.conn)
     self.refreshListView()
     self.resize(600, 800)
     self.splitter.setSizes([150, 450])
     self.setCaption("Paella Profiles")
     self._dialog = None
     self.connect(self.mainView, PYSIGNAL("changeSuite"), self.slotChangeSuite)
Пример #7
0
 def __init__(self, parent):
     BaseSplitWindow.__init__(self, parent, FamilyView,
                              name='FamilyMainWindow')
     self.initPaellaCommon()
     self.initActions()
     self.initMenus()
     self.initToolbar()
     self.cursor = self.conn.cursor(statement=True)
     self.family = Family(self.conn)
     self.refreshListView()
     self.resize(600, 800)
     self.splitter.setSizes([100, 500])
     self.setCaption('Paella Families')
     self._new_family_dialog = None
Пример #8
0
 def __init__(self, parent):
     BaseSplitWindow.__init__(self, parent, FamilyView,
                              name='FamilyMainWindow')
     self.initPaellaCommon()
     self.initActions()
     self.initMenus()
     self.initToolbar()
     self.cursor = self.conn.cursor(statement=True)
     self.family = Family(self.conn)
     self.refreshListView()
     self.resize(600, 800)
     self.splitter.setSizes([100, 500])
     self.setCaption('Paella Families')
     self._new_family_dialog = None
Пример #9
0
 def __init__(self, parent):
     BaseSplitWindow.__init__(self, parent, ProfileView,
                              name='ProfileMainWindow')
     self.initPaellaCommon()
     self.initActions()
     self.initMenus()
     self.initToolbar()
     self.cursor = self.conn.cursor(statement=True)
     self.profile = Profile(self.conn)
     self.refreshListView()
     self.resize(600, 800)
     self.splitter.setSizes([150, 450])
     self.setCaption('Paella Profiles')
     self._dialog = None
     self.connect(self.mainView, PYSIGNAL('changeSuite'), self.slotChangeSuite)
Пример #10
0
 def __init__(self, parent, suite):
     BaseSplitWindow.__init__(self, parent, TraitView,
                              name='TraitMainWindow-%s' % suite)
     print 'in TraitMainWindow suite is', suite
     # from BasePaellaWindow
     self.initPaellaCommon()
     self.initActions()
     self.initMenus()
     self.initToolbar()
     self.mainView.set_suite(suite)
     self.setCaption('%s traits' % suite)
     # these values should be in a configfile
     self.resize(500, 800)
     self.splitter.setSizes([100, 400])
     self.trait = Trait(self.conn, suite=suite)
     self.refreshListView()
     # dialog pointers
     self._import_export_dirsel_dialog = None    
Пример #11
0
 def __init__(self, parent, suite):
     BaseSplitWindow.__init__(self,
                              parent,
                              TraitView,
                              name='TraitMainWindow-%s' % suite)
     print 'in TraitMainWindow suite is', suite
     # from BasePaellaWindow
     self.initPaellaCommon()
     self.initActions()
     self.initMenus()
     self.initToolbar()
     self.mainView.set_suite(suite)
     self.setCaption('%s traits' % suite)
     # these values should be in a configfile
     self.resize(500, 800)
     self.splitter.setSizes([100, 400])
     self.trait = Trait(self.conn, suite=suite)
     self.refreshListView()
     # dialog pointers
     self._import_export_dirsel_dialog = None