How to make a loading indicator for all window?
-
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.
-
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 ) -
Appart from what @mrjj said did u you try simple qprogressdialog to start with ?
-
@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() ?