Hiding the progress bar when the application is not active
Unsolved
General and Desktop
-
How to hide a progress bar dialog in my qt application when i am using another application(example: excel sheet) ?
Example: My Qt application has a data reader which has a method to load progress bar.
Since the data loading takes some time i open an excel sheet .
But everytime the progress bar pops up.
How to hide the progress bar when i am using another application ?Note: I have tried setting the modality :
progress.setWindowModality(Qt::NonModal);
Also i have tried withQt::WindowModal ,Qt::ApplicationModal but nothing works.Thanks
-
Hi,
Can you show the code you are using to update the progress bar ?