GUI/TransientsWidgets.py
def initUI(self):
        """Create the layout, adding central widget, layout style and status
        bar. """
        self.setWindowTitle(self.title)
        self.setGeometry(self.left, self.top, self.width, self.height)

        layout = QG.QGridLayout()  # create a grid for subWidgets
        layout.setSpacing(10)
        self.setLayout(layout)


        self.centralWidget = TransientAnalysisWidget()
        layout.addWidget(self.centralWidget, 0, 0)
        self.setCentralWidget(self.centralWidget)
        self.statusBar().showMessage('Message in statusbar.')

        self.show()
Create the layout, adding central widget, layout style and status
        bar. 
Create the layout, adding central widget, layout style and status
bar.
Create the layout adding central widget layout style and status bar .
def initUI(self):
        self.setWindowTitle(self.title)
        self.setGeometry(self.left, self.top, self.width, self.height)
        layout = QG.QGridLayout()  
        layout.setSpacing(10)
        self.setLayout(layout)
        self.centralWidget = TransientAnalysisWidget()
        layout.addWidget(self.centralWidget, 0, 0)
        self.setCentralWidget(self.centralWidget)
        self.statusBar().showMessage('Message in statusbar.')
        self.show()
def initUI ( self ) : self . setWindowTitle ( self . title ) self . setGeometry ( self . left , self . top , self . width , self . height ) layout = QG . QGridLayout ( ) layout . setSpacing ( 10 ) self . setLayout ( layout ) self . centralWidget = TransientAnalysisWidget ( ) layout . addWidget ( self . centralWidget , 0 , 0 ) self . setCentralWidget ( self . centralWidget ) self . statusBar ( ) . showMessage ( 'Message in statusbar.' ) self . show ( )
Create the layout, adding central widget, layout style and status
bar.
Create the layout adding central widget layout style and status bar .
"""Create the layout, adding central widget, layout style and status
        bar. """ # create a grid for subWidgets

self