class KERNELManagerGUI_MainWindow(QtGui.QMainWindow): """ KERNELManagerGUI_MainWindow Class implementation of the KERNELManager mainwindow. """ def __init__(self, theEngine, parent=None): super(KERNELManagerGUI_MainWindow, self).__init__(parent) # Hold a reference to the ORB and POA self._engine = theEngine # Setup the ui self._ui = Ui_MainWindow() self._ui.setupUi(self) # Initialize the UI self._Initialize() def _Initialize(self): """ Intialization function. Used upon instanciation to setup the UI. """ pass
def __init__(self, theEngine, parent=None): super(KERNELManagerGUI_MainWindow, self).__init__(parent) # Hold a reference to the ORB and POA self._engine = theEngine # Setup the ui self._ui = Ui_MainWindow() self._ui.setupUi(self) # Initialize the UI self._Initialize()