Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
Hiding the progress bar when the application is not active
QtVik last edited by
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 :
Also i have tried withQt::WindowModal ,Qt::ApplicationModal but nothing works.
Can you show the code you are using to update the progress bar ?