Example #1
0
    def __init__(self, options, parent=None):
        QWizardPage.__init__(self, parent)

        # Variables
        self._options = options

        # Layouts
        layout = QVBoxLayout()
        layout.setContentsMargins(0, 0, 0, 0)

        sublayout = self._initUI() # Initialize widgets
        sublayout.setContentsMargins(10, 10, 10, 10)
        layout.addLayout(sublayout, 1)
        layout.addStretch()

        self.setLayout(layout)
Example #2
0
 def __init__(self, gui, index, uiFileName, parent=None):
     QWizardPage.__init__(self, parent)
     ObsLightGuiObject.__init__(self, gui)
     self.index = index
     self.loadPageFromPyFile(uiFileName)
Example #3
0
 def __init__(self, parent=None):
     QWizardPage.__init__(self, parent)