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)
def __init__(self, gui, index, uiFileName, parent=None): QWizardPage.__init__(self, parent) ObsLightGuiObject.__init__(self, gui) self.index = index self.loadPageFromPyFile(uiFileName)
def __init__(self, parent=None): QWizardPage.__init__(self, parent)