I have a program with an interface made with Qt, Pyside.
After completing the fields of the interface the program performs actions that take a while.
What I would like is to put a pop-up window with a message and that does not let the user touch anything of the program and when the program finishes performing its actions that another window appears with a close button. This window with the close button I already have it.
What I need is to know how I can open a pop-up window that closes itself when the process is finished and that does not let the user touch anything while it's open.
I have seen the QProgressDialog and the QProgressBar, but I want something very simple that only shows a message.
def funcion_que_tarda_un_minuto():
...
...
#aquí abrir la ventana pop up con un mensaje "espera mientras se realizan los cálculos" y que no deje al usuario hacer nada en el programa
#Una vez terminados los cálculos, esta ventana se cierra sola y aparece al instante otra con:
self.msgBox = QMessageBox
self.msgBox = setIcon(QMessageBox.Information)
self.msgBox = setText("Proceso finalizado")
self.retval = self.msgBox.exec_()
Greetings and thanks