Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. How to make a loading indicator for all window?
Qt 6.11 is out! See what's new in the release blog

How to make a loading indicator for all window?

Scheduled Pinned Locked Moved Unsolved General and Desktop
4 Posts 3 Posters 4.0k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • R_IrudezuR Offline
    R_IrudezuR Offline
    R_Irudezu
    wrote on last edited by
    #1

    I am currently making a synchronizing process and it takes a couple of seconds. I don't want to keep wait UI so i want to show a simple loading indicator. Maybe blurry background and show loading indicator for 3 or 4 seconds. How to do that? Any idea, suggestion? Thanks in advance.

    Keizoku wa chikaranari.

    1 Reply Last reply
    0
    • mrjjM Offline
      mrjjM Offline
      mrjj
      Lifetime Qt Champion
      wrote on last edited by mrjj
      #2

      Hi
      There are many ways but i liked this one
      https://stackoverflow.com/questions/19383427/blur-effect-over-a-qwidget-in-qt
      ( the class OverlayWidget )

      1 Reply Last reply
      3
      • dheerendraD Offline
        dheerendraD Offline
        dheerendra
        Moderators Qt Champions 2024 Qt Champions 2022 Qt Champions 2017
        wrote on last edited by
        #3

        Appart from what @mrjj said did u you try simple qprogressdialog to start with ?

        Dheerendra
        @Community Service
        Certified Qt Specialist
        https://www.pthinks.com

        R_IrudezuR 1 Reply Last reply
        3
        • dheerendraD dheerendra

          Appart from what @mrjj said did u you try simple qprogressdialog to start with ?

          R_IrudezuR Offline
          R_IrudezuR Offline
          R_Irudezu
          wrote on last edited by R_Irudezu
          #4

          @dheerendra I used QProgressDialog for this case. But it keeps wait UI when function process is long. I mean when process is long, 'not responding' shown over the top of QProgressDialog. Should i call function with QFuture and Qt::Concurrent.run() ?

          @mrjj

          Keizoku wa chikaranari.

          1 Reply Last reply
          0

          • Login

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • Users
          • Groups
          • Search
          • Get Qt Extensions
          • Unsolved