Hiding the progress bar when the application is not active

  • 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.


  • Lifetime Qt Champion


    Can you show the code you are using to update the progress bar ?

Log in to reply