Exemplo n.º 1
0
 def __init__(self, parent, diff_type, name='DifferWindow'):
     BasePaellaWindow.__init__(self, parent, name=name)
     self.mainView = BaseDifferFrame(self, diff_type)
     self.initActions()
     self.initMenus()
     self.initToolbar()
     self.setCentralWidget(self.mainView)
     self.setCaption('%s Differ' % diff_type.capitalize())
Exemplo n.º 2
0
 def __init__(self, parent, diff_type, name='DifferWindow'):
     BasePaellaWindow.__init__(self, parent, name=name)
     self.mainView = BaseDifferFrame(self, diff_type)
     self.initActions()
     self.initMenus()
     self.initToolbar()
     self.setCentralWidget(self.mainView)
     self.setCaption('%s Differ' % diff_type.capitalize())
Exemplo n.º 3
0
 def __init__(self, parent):
     BasePaellaWindow.__init__(self, parent, name='MachineMainWindow')
     self.initPaellaCommon()
     self.initActions()
     self.initMenus()
     self.initToolbar()
     self.mainView = None
     self.resize(400, 300)
     self.setCaption('Machine Manager')
     self.statusbar = self.statusBar()
Exemplo n.º 4
0
 def __init__(self, parent):
     BasePaellaWindow.__init__(self, parent, name='MachineMainWindow')
     self.initPaellaCommon()
     self.initActions()
     self.initMenus()
     self.initToolbar()
     self.mainView = None
     self.resize(400, 300)
     self.setCaption('Machine Manager')
     self.statusbar = self.statusBar()
Exemplo n.º 5
0
 def __init__(self, parent, etype):
     BasePaellaWindow.__init__(self, parent, name='EnvironmentWindow')
     self.initPaellaCommon()
     self.mainView = EnvironmentList(self, etype)
     self.initActions()
     self.initMenus()
     self.initToolbar()
     self.setCentralWidget(self.mainView)
     self.mainView.refreshListView()
     self.resize(600, 500)
     self.setCaption('%s Environment' % etype.capitalize())
Exemplo n.º 6
0
 def __init__(self, parent, etype):
     BasePaellaWindow.__init__(self, parent, name='EnvironmentWindow')
     self.initPaellaCommon()
     self.mainView = EnvironmentList(self, etype)
     self.initActions()
     self.initMenus()
     self.initToolbar()
     self.setCentralWidget(self.mainView)
     self.mainView.refreshListView()
     self.resize(600, 500)
     self.setCaption('%s Environment' % etype.capitalize())
Exemplo n.º 7
0
 def __init__(self, parent, suite, trait, name='TraitVariablesWindow'):
     BasePaellaWindow.__init__(self, parent, name=name)
     self.resize(500, 600)
     self.initPaellaCommon()
     self.mainView = QScrollView(self, 'TraitVariablesScrollView')
     self.tveditor = TraitVariablesEditor(self.mainView, suite, trait)
     self.mainView.addChild(self.tveditor)
     self.setCentralWidget(self.mainView)
     self.mainView.setResizePolicy(self.mainView.AutoOneFit)
     self.initActions()
     self.initMenus()
     self.initToolbar()
Exemplo n.º 8
0
 def __init__(self, parent):
     BasePaellaWindow.__init__(self, parent, name='ClientsMainWindow')
     self.initPaellaCommon()
     self.initActions()
     self.initMenus()
     self.initToolbar()
     self.cursor = self.conn.cursor(statement=True)
     self.listView = KListView(self)
     self.setCentralWidget(self.listView)
     self.refreshListView()
     self.resize(600, 800)
     self.setCaption('Paella Profiles')
Exemplo n.º 9
0
 def __init__(self, parent, suite, trait, name='TraitVariablesWindow'):
     BasePaellaWindow.__init__(self, parent, name=name)
     self.resize(500, 600)
     self.initPaellaCommon()
     self.mainView = QScrollView(self, 'TraitVariablesScrollView')
     self.tveditor = TraitVariablesEditor(self.mainView, suite, trait)
     self.mainView.addChild(self.tveditor)
     self.setCentralWidget(self.mainView)
     self.mainView.setResizePolicy(self.mainView.AutoOneFit)
     self.initActions()
     self.initMenus()
     self.initToolbar()
Exemplo n.º 10
0
 def __init__(self, parent):
     BasePaellaWindow.__init__(self, parent, name='ClientsMainWindow')
     self.initPaellaCommon()
     self.initActions()
     self.initMenus()
     self.initToolbar()
     self.cursor = self.conn.cursor(statement=True)
     self.listView = KListView(self)
     self.setCentralWidget(self.listView)
     self.refreshListView()
     self.resize(600, 800)
     self.setCaption('Paella Profiles')
Exemplo n.º 11
0
    def __init__(self, parent=None, name='BasePaellaMainWindow'):
        BasePaellaWindow.__init__(self, None, name)
        self.initPaellaCommon()
        self._suites = []
        # make a cursor
        if self.conn is not None:
            self.cursor = self.conn.cursor(statement=True)
            # figure out what suites are available
            self._refresh_suites()
        # setup actions, menus, and toolbar
        self.initActions()
        self.initMenus()
        self.initToolbar()
        self.statusbar = self.statusBar()
        self.statusbar.message('Disconnected')

        # setup dialog pointers
        self._import_export_dirsel_dialog = None

        self._all_my_children = []
Exemplo n.º 12
0
    def __init__(self, parent=None, name='BasePaellaMainWindow'):
        BasePaellaWindow.__init__(self, None, name)
        self.initPaellaCommon()
        self._suites = []
        # make a cursor
        if self.conn is not None:
            self.cursor = self.conn.cursor(statement=True)
            # figure out what suites are available
            self._refresh_suites()
        # setup actions, menus, and toolbar
        self.initActions()
        self.initMenus()
        self.initToolbar()
        self.statusbar = self.statusBar()
        self.statusbar.message('Disconnected')
        
        # setup dialog pointers
        self._import_export_dirsel_dialog = None

        self._all_my_children = []
Exemplo n.º 13
0
 def __init__(self, parent, view, name='ViewWindow'):
     BasePaellaWindow.__init__(self, parent, name)
     self.mainView = view(self)
     self.mainView.setReadOnly(True)
     self.setCentralWidget(self.mainView)
     self.resize(500, 600)
Exemplo n.º 14
0
 def __init__(self, parent, view, name='ViewWindow'):
     BasePaellaWindow.__init__(self, parent, name)
     self.mainView = view(self)
     self.mainView.setReadOnly(True)
     self.setCentralWidget(self.mainView)
     self.resize(500, 600)