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. Use Progressbar To Loading the Window

Use Progressbar To Loading the Window

Scheduled Pinned Locked Moved Unsolved General and Desktop
progress barloadingwindowsusing
6 Posts 3 Posters 2.3k Views
  • 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.
  • M4RZB4NiM Offline
    M4RZB4NiM Offline
    M4RZB4Ni
    wrote on last edited by
    #1

    Hello,
    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?

    Thanks
    M4RZB4Ni

    Joel BodenmannJ 1 Reply Last reply
    0
    • M4RZB4NiM M4RZB4Ni

      Hello,
      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 BodenmannJ Offline
      Joel BodenmannJ Offline
      Joel Bodenmann
      wrote on last edited by Joel Bodenmann
      #2

      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.

      Industrial process automation software: https://simulton.com
      Embedded Graphics & GUI library: https://ugfx.io

      M4RZB4NiM 1 Reply Last reply
      2
      • Joel BodenmannJ 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.

        M4RZB4NiM Offline
        M4RZB4NiM Offline
        M4RZB4Ni
        wrote on last edited by
        #3

        @Joel-Bodenmann
        thanks
        But in That Link dont Give an Example For This Problem!
        Examples is not Good For My Problem!
        Thanks again

        Thanks
        M4RZB4Ni

        1 Reply Last reply
        0
        • SGaistS Offline
          SGaistS Offline
          SGaist
          Lifetime Qt Champion
          wrote on last edited by
          #4

          Hi,

          What does make the dialogs so long to load ?

          Interested in AI ? www.idiap.ch
          Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

          M4RZB4NiM 1 Reply Last reply
          0
          • SGaistS SGaist

            Hi,

            What does make the dialogs so long to load ?

            M4RZB4NiM Offline
            M4RZB4NiM Offline
            M4RZB4Ni
            wrote on last edited by
            #5

            @SGaist
            hi
            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

            Thanks
            M4RZB4Ni

            1 Reply Last reply
            0
            • SGaistS Offline
              SGaistS Offline
              SGaist
              Lifetime Qt Champion
              wrote on last edited by
              #6

              The link provided by @Joel-Bodenmann is a good start.

              Interested in AI ? www.idiap.ch
              Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

              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