Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
def __init__(self, Wizard, parent=None):
super(BuildPage, self).__init__(parent)
self.base = Wizard.base
self.Wizard = Wizard # Main wizard of program
self.setTitle(self.tr(" Build page"))
self.setSubTitle(self.tr("Options to build"))
specEditBox = QGroupBox()
layoutspecEditBox = QGridLayout()
buildPathBox = QGroupBox()
layoutbuildPathBox = QGridLayout()
buildSRPMBox = QGroupBox()
layoutbuildSRPMBox = QGridLayout()
buildRPMBox = QGroupBox()
layoutbuildRPMBox = QGridLayout()
specEditBox.setTitle("SPEC file")
"border-width: 1px;" +
"border-color: rgb(178, 182, 178);" +
"border-radius: 3px;" +
"background-color:" +
"rgb(237, 237, 237);}")
# Setting pages to wizard
self.setPage(self.PageIntro, IntroPage(self))
self.setPage(self.PageImport, ImportPage(self))
self.setPage(self.PageMandatory, MandatoryPage(self))
self.setPage(self.PageSummary, SummaryPage(self))
self.setPage(self.PageScripts, ScriptsPage(self))
self.setPage(self.PageInstall, InstallPage(self))
self.setPage(self.PageRequires, RequiresPage(self))
self.setPage(self.PageUninstall, UninstallPage(self))
self.setPage(self.PageBuild, BuildPage(self))
self.setPage(self.PageCoprLogin, CoprLoginPage(self))
self.setPage(self.PageCoprDistro, CoprDistroPage(self))
self.setPage(self.PageCoprBuild, CoprBuildPage(self))
self.setPage(self.PageCoprFinal, CoprFinalPage(self))
self.setStartId(self.PageIntro)