def addRepository(self): self.repoDialog = repodialog.RepoDialog() self.connect(self.repoDialog.buttonBox, SIGNAL("accepted()"), self.__addRepository) self.connect(self.repoDialog.browseButton, SIGNAL("clicked()"), self.browseLocalRepository) self.repoDialog.show()
def addRepository(self): self.repoDialog = repodialog.RepoDialog() self.repoDialog.buttonBox.accepted.connect(self.__addRepository) self.repoDialog.show()