I am making a GUI application in Python. It has some radial button and I would like to show a progressBar while the script.main()
finish and then shows the MessageBox
:
def ejecuta(self):
if self.ui.radioButton_1.isChecked()== True:
script1.main()
QtGui.QMessageBox.information(self,'Mensaje','Finalizado')
How can I do that?