Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
Use Progressbar To Loading the Window
I have 3 Window
and This Windows Are Heavy For loading and Take Long Time For Showing
I Want to Use a Progress bar to while Window Loads
Progress bar showing For User
i fact when User Click on the button for showing
Button value is 0 and when page Shows Progress bar set on 100
I searched in Google for This Problem But cant Find appropriate Solution
and I Have Read Progress Bar Documentation and cant Understand idea Thing!
How I Can Do This?
Joel Bodenmann last edited by Joel Bodenmann
You might want to have a look at QProgressDialog. It's a dialog pre-made for exactly that purpose.
The main problem with these kinds of things is knowing how long it takes. Either you show the progress based on a known set of steps or based on a time estimate (not really recommended as it depends on many factors). But that pre-made dialog definitely takes a way some of the pain.
But in That Link dont Give an Example For This Problem!
Examples is not Good For My Problem!
What does make the dialogs so long to load ?
thats problem(heavy loading)
with treading Solved!
but i want to know how we can connect a progress bar to Window for showing and loading
The link provided by @Joel-Bodenmann is a good start.