def __init__(self, gui, index): ObsLightWizardPage.__init__(self, gui, index, u"wizard_chooseGbsArch.ui") self.ui_WizardPage.LocalTargetListcomboBox.currentIndexChanged.connect( self.on_LocalTargetListcomboBox) self._archList = ["i586"] self._indexComboBox = 0
def __init__(self, gui, index): ObsLightWizardPage.__init__(self, gui, index, u"wizard_configProjectAlias.ui") noSpaceValidator = QRegExpValidator(PROJECT_ALIAS_REGEXP, self) self.ui_WizardPage.aliasLineEdit.setValidator(noSpaceValidator) self.registerField(u"projectAlias*", self.ui_WizardPage.aliasLineEdit) self.registerField(u"CreateChroot", self.ui_WizardPage.createChrootCheckBox) self.setCommitPage(True)
def __init__(self, gui, index): ObsLightWizardPage.__init__(self, gui, index, u"wizard_newProject.ui") self.registerField(u"newProjectName*", self.ui_WizardPage.projectNameLineEdit) self.registerField(u"newProjectTitle", self.ui_WizardPage.projectTitleLineEdit) self.registerField(u"newProjectDescription", self.ui_WizardPage.projectDescriptionTextEdit)
def __init__(self, gui, index): ObsLightWizardPage.__init__(self, gui, index, u"wizard_choosePackage.ui") FilterableWidget.__init__(self, self.ui_WizardPage.filterLineEdit, self.ui_WizardPage.packageListWidget, multiSelection=True) self.registerField(u"packageRow*", self.ui_WizardPage.packageListWidget) self.setCommitPage(True)
def __init__(self, gui, index): ObsLightWizardPage.__init__(self, gui, index, u"wizard_chooseProjectTemplate.ui") # self.registerField(u"addNewLocalProject", self.ui_WizardPage.addNewLocalProjectButton) # self.ui_WizardPage.addNewLocalProjectButton.toggled.connect(self.__completeChanged) self.registerField(u"LocalProjectList", self.ui_WizardPage.LocalProjectListWidget) self.ui_WizardPage.LocalProjectListWidget.currentRowChanged.connect(self.selectLocalProjectRow) self.projectTemplateDict = None self._selectedFile = None
def __init__(self, gui, index): ObsLightWizardPage.__init__(self, gui, index, u"wizard_chooseLocalProject.ui") uwp = self.ui_WizardPage FilterableWidget.__init__(self, uwp.filterLineEdit, uwp.projectListWidget) self.registerField(u"projectList", self.ui_WizardPage.projectListWidget) self.ui_WizardPage.projectListWidget.currentRowChanged.connect( self.__completeChanged)
def __init__(self, gui, index): ObsLightWizardPage.__init__(self, gui, index, u"wizard_chooseNewOrExistingPackage.ui") self.registerField(u"importExistingPackage", self.ui_WizardPage.importExistingPackageButton) self.registerField(u"createNewPackage", self.ui_WizardPage.createNewPackageButton) #TMP remove this (Import package from an other local OBS Light Project) # self.registerField(u"copyPackage", # self.ui_WizardPage.copyPackageButton) self.registerField(u"importManifestButton", self.ui_WizardPage.importManifestButton)
def __init__(self, gui, index): ObsLightWizardPage.__init__(self, gui, index, u"wizard_chooseGitPackage.ui") # self.ui_WizardPage.updateListPushButton.clicked.connect(self.on_updateListPushButton_clicked) self.ui_WizardPage.selectAllPushButton.clicked.connect(self.on_selectAllPushButton_clicked) self.ui_WizardPage.unselectAllPushButton.clicked.connect(self.on_unselectAllPushButton_clicked) # self.ui_WizardPage.importPushButton.clicked.connect(self.on_importPushButton_clicked) self.ui_WizardPage.CheckUserNameButton.clicked.connect(self.on_CheckUserNameButton_clicked) self.registerField(u"CheckUserNameButton", self.ui_WizardPage.CheckUserNameButton) self.__gitProjectTreeView = self.ui_WizardPage.gitProjectTreeView self.standardModel = None self.__initViewTree() self.__userIsCheck = False
def __init__(self, gui, index): ObsLightWizardPage.__init__(self, gui, index, u"wizard_chooseRepository.ui") httpValidator = QRegExpValidator(URL_REGEXP, self) self.ui_WizardPage.repositoryUrlEdit.setValidator(httpValidator) self.ui_WizardPage.AddRepositoryButton.clicked.connect( self.on_AddRepositoryButton_clicked) self.ui_WizardPage.DelRepositoryButton.clicked.connect( self.on_DelRepositoryButton_clicked) # self.ui_WizardPage.autoAddRepoButton.stateChanged.connect(self._checkAutoAddRepoButton) self.__repoList = [] self.__addLocalProject = True
def __init__(self, gui, index): # ObsLightWizardPage.__init__(self, gui, index, u"wizard_newPackage.ui") ObsLightWizardPage.__init__(self, gui, index, u"wizard_newPackageFromGit.ui") packageNameValidator = QRegExpValidator(PACKAGE_NAME_REGEXP, self) self.ui_WizardPage.packageNameLineEdit.setValidator(packageNameValidator) self.registerField(u"newPackageName*", self.ui_WizardPage.packageNameLineEdit) self.registerField(u"newPackageTitle", self.ui_WizardPage.packageTitleLineEdit) self.registerField(u"newPackageDescription", self.ui_WizardPage.packageDescriptionTextEdit) self.registerField(u"newPackageGitUrl", self.ui_WizardPage.gitUrlLineEdit) self.registerField(u"gitSubDirLineEdit", self.ui_WizardPage.gitSubDirLineEdit)
def __init__(self, gui, index): ObsLightWizardPage.__init__(self, gui, index, u"wizard_chooseProject.ui") uwp = self.ui_WizardPage FilterableWidget.__init__(self, uwp.filterLineEdit, uwp.projectListWidget) uwp.restrainMaintainerCheckBox.stateChanged.connect( self._checkBoxStateChanged) uwp.restrainBugownerCheckBox.stateChanged.connect( self._checkBoxStateChanged) uwp.restrainRemoteLinksCheckBox.stateChanged.connect( self._checkBoxStateChanged) self.registerField(u"projectRow*", uwp.projectListWidget) self.registerField(u"restrainMaintainer", uwp.restrainMaintainerCheckBox) self.registerField(u"restrainBugowner", uwp.restrainBugownerCheckBox) self.registerField(u"restrainRemoteLinks", uwp.restrainRemoteLinksCheckBox)
def __init__(self, gui, index): ObsLightWizardPage.__init__(self, gui, index, u"wizard_configServerUrl.ui") httpValidator = QRegExpValidator(URL_REGEXP, self) self.ui_WizardPage.webUrlLineEdit.setValidator(httpValidator) self.ui_WizardPage.apiUrlLineEdit.setValidator(httpValidator) self.ui_WizardPage.repoUrlLineEdit.setValidator(httpValidator) for pc in self.preConfiguredServerList: self.ui_WizardPage.preConfiguredServerCBox.addItem( pc['serverAlias'], pc) self.ui_WizardPage.preConfiguredServerCBox.currentIndexChanged.connect( self.autoConfServer) self.registerField(u"webUrl*", self.ui_WizardPage.webUrlLineEdit) self.registerField(u"apiUrl*", self.ui_WizardPage.apiUrlLineEdit) self.registerField(u"repoUrl*", self.ui_WizardPage.repoUrlLineEdit) self.registerField(u"username*", self.ui_WizardPage.usernameLineEdit) self.registerField(u"password*", self.ui_WizardPage.passwordLineEdit)
def __init__(self, gui, index): ObsLightWizardPage.__init__(self, gui, index, u"wizard_chooseManifest.ui") self.__selectedManifestFilePath = None self.__ManifestFileDict = None # self.registerField(u"lineManifestEdit", self.ui_WizardPage.lineManifestEdit) self.registerField(u"liveManifest", self.ui_WizardPage.liveManifestButton) self.ui_WizardPage.liveManifestButton.toggled.connect( self.__OnLiveManifestButton) self.registerField(u"listManifest", self.ui_WizardPage.listManifestButton) self.ui_WizardPage.listManifestButton.toggled.connect( self.__OnListManifestButton) # self.registerField(u"customManifest", self.ui_WizardPage.customManifestButton) # self.ui_WizardPage.customManifestButton.toggled.connect(self.__OnCustomManifestButtonn) # self.ui_WizardPage.loadManifestPushButton.clicked.connect(self.on_loadManifestPushButton_clicked) self.ui_WizardPage.ManifestListWidget.currentRowChanged.connect( self.selectManifestRow) self.__OnListManifestButton()
def __init__(self, gui, index): ObsLightWizardPage.__init__(self, gui, index, u"wizard_chooseProjectConf.ui") self.registerField(u"chooseConf", self.ui_WizardPage.chooseConfButton) self.ui_WizardPage.chooseConfButton.toggled.connect(self.__completeChanged) self.registerField(u"chooseGbsConf", self.ui_WizardPage.chooseGbsConfButton) self.ui_WizardPage.chooseGbsConfButton.toggled.connect(self.__completeChanged) self.registerField(u"addNewConf", self.ui_WizardPage.addNewConfButton) self.ui_WizardPage.addNewConfButton.toggled.connect(self.__completeChanged) self.registerField(u"LocalConfList", self.ui_WizardPage.LocalConfListWidget) self.ui_WizardPage.LocalConfListWidget.currentRowChanged.connect(self.selectConfRow) self.registerField(u"LocalGbsConfList", self.ui_WizardPage.LocalGbsConfListWidget) self.ui_WizardPage.LocalGbsConfListWidget.currentRowChanged.connect(self.selectGbsConfRow) self.ui_WizardPage.LoadConfFileButton.clicked.connect(self.on_loadConfFileButton_clicked) self._selectedFile = None self.projectConfDict = None self.projectGbsConfDict = None self._loadConfFile = None
def __init__(self, gui, index): ObsLightWizardPage.__init__(self, gui, index, u"wizard_chooseRepositoryTree.ui") self.__repositoryTreeView = self.ui_WizardPage.repositoryTreeView self.standardModel = None self.__selectedBuildConf = None
def __init__(self, gui, index): ObsLightWizardPage.__init__(self, gui, index, u"wizard_configServerAlias.ui") noSpaceValidator = QRegExpValidator(SERVER_ALIAS_REGEXP, self) self.ui_WizardPage.aliasLineEdit.setValidator(noSpaceValidator) self.registerField(u"serverAlias*", self.ui_WizardPage.aliasLineEdit) self.setCommitPage(True)
def __init__(self, gui, index): ObsLightWizardPage.__init__(self, gui, index, u"wizard_chooseLocalGbsOrOBSProject.ui")
def __init__(self, gui, index): ObsLightWizardPage.__init__(self, gui, index, u"wizard_chooseArchitecture.ui") self.registerField(u"archCBox*", self.ui_WizardPage.architectureComboBox)
def __init__(self, gui, index): ObsLightWizardPage.__init__(self, gui, index, u"wizard_chooseServer.ui") self.registerField(u"addNewServer", self.ui_WizardPage.addNewServerButton) self.ui_WizardPage.addNewServerButton.toggled.connect(self.__completeChanged) self.registerField(u"serverList", self.ui_WizardPage.serverListWidget) self.ui_WizardPage.serverListWidget.currentRowChanged.connect(self.__completeChanged)
def __init__(self, gui, index): ObsLightWizardPage.__init__(self, gui, index, u"wizard_chooseTarget.ui") self.registerField(u"targetCBox*", self.ui_WizardPage.targetComboBox)