예제 #1
0
파일: differ.py 프로젝트: joelsefus/paella
 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())
예제 #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())
예제 #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()
예제 #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()
예제 #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())
예제 #6
0
파일: environ.py 프로젝트: joelsefus/paella
 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())
예제 #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()
예제 #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')
예제 #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()
예제 #10
0
파일: clients.py 프로젝트: joelsefus/paella
 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')
예제 #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 = []
예제 #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 = []
예제 #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)
예제 #14
0
파일: base.py 프로젝트: joelsefus/paella
 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)