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.
  • M Offline
    M Offline
    M4RZB4Ni
    wrote on 15 Aug 2016, 14:08 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

    J 1 Reply Last reply 15 Aug 2016, 14:23
    0
    • M M4RZB4Ni
      15 Aug 2016, 14:08

      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?

      J Offline
      J Offline
      Joel Bodenmann
      wrote on 15 Aug 2016, 14:23 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

      M 1 Reply Last reply 15 Aug 2016, 14:55
      2
      • J Joel Bodenmann
        15 Aug 2016, 14:23

        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.

        M Offline
        M Offline
        M4RZB4Ni
        wrote on 15 Aug 2016, 14:55 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
        • S Offline
          S Offline
          SGaist
          Lifetime Qt Champion
          wrote on 15 Aug 2016, 20:30 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

          M 1 Reply Last reply 15 Aug 2016, 20:51
          0
          • S SGaist
            15 Aug 2016, 20:30

            Hi,

            What does make the dialogs so long to load ?

            M Offline
            M Offline
            M4RZB4Ni
            wrote on 15 Aug 2016, 20:51 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
            • S Offline
              S Offline
              SGaist
              Lifetime Qt Champion
              wrote on 15 Aug 2016, 20:58 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

              4/6

              15 Aug 2016, 20:30

              • Login

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