Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
Loading Page while Loading data
hisong1988 last edited by
I want to achieve that effect: when I press a button and then the app loading data via network, so I need a page(or a widget) to show that I am loading the data. and the page should be dynamically show how much data the app loaded.
I have some question:
which classes I could use?(the QSplashScreen?,but how to "dynamically" show message)
Should I use the Thread when showing the loading widget as I am loading data in the background?
mohsen last edited by
You should implement your desired "Loading" widget yourself. You may use a class for your entire network operations and send its pocket send and received data to the Loading Widget through connecting signals and slots. Usually QNetwork operates as self-threaded and you wont need to put it on another thread unless you've used a modal dialog to show your Loading form.
goetz last edited by
QProgressDialog:"http://doc.qt.nokia.com/stable/qprogressdialog.html" could be a solution.