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(CoprFinalPage, self).__init__(parent)
self.base = Wizard.base
CoprFinalPage.setFinalPage(self, True)
self.setTitle(self.tr(" Copr final page"))
self.setSubTitle(self.tr("Copr additional information"))
self.textFinalLabel = QLabel()
mainLayout = QVBoxLayout()
gridFinalText = QGridLayout()
gridFinalText.addWidget(self.textFinalLabel, 0, 1, 1, 1)
mainLayout.addSpacing(190)
mainLayout.addLayout(gridFinalText)
mainLayout.addSpacing(190)
self.setLayout(mainLayout)
def __init__(self, Wizard, parent=None):
super(CoprFinalPage, self).__init__(parent)
self.base = Wizard.base
CoprFinalPage.setFinalPage(self, True)
self.setTitle(self.tr(" Copr final page"))
self.setSubTitle(self.tr("Copr additional information"))
self.textFinalLabel = QLabel()
mainLayout = QVBoxLayout()
gridFinalText = QGridLayout()
gridFinalText.addWidget(self.textFinalLabel, 0, 1, 1, 1)
mainLayout.addSpacing(190)
mainLayout.addLayout(gridFinalText)
mainLayout.addSpacing(190)
self.setLayout(mainLayout)
"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)