Hi All,
How can I make a dialog modal dynamically ?
My application has one working thread , I just want to make my dialog Modal(e.g. setModal(true)) till that thread is done with all the calculations.There I have one API (scriptInExecution()) which returns true if calculation is in progress.
I tried this using setModal(true) but it's not working ,than I used QApplication:rocessEvent() but still I got nothing.
Am I missing somethingQt Code:
if(true == scriptInExecution()) { this->setModal(true); } else { this->setModal(false); }To copy to clipboard, switch view to plain text mode
Thanks.
Bookmarks