Why not have a boolean variable which will say whether this wave form has been calculated before and show the dialog only when it is set to false (and set it to true after showing the dialog)?
This can be an idea. But I have to hide all code of the qprogressdialog inside the boolean check? Or only a part?
Bookmarks