Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. Loading Page while Loading data

Loading Page while Loading data

Scheduled Pinned Locked Moved Mobile and Embedded
3 Posts 3 Posters 1.9k Views 1 Watching
  • 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.
  • H Offline
    H Offline
    hisong1988
    wrote on last edited by
    #1

    Hello,all.

    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:

    1. which classes I could use?(the QSplashScreen?,but how to "dynamically" show message)

    2. Should I use the Thread when showing the loading widget as I am loading data in the background?

    I am still searching for....

    1 Reply Last reply
    0
    • M Offline
      M Offline
      mohsen
      wrote on last edited by
      #2

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

      1 Reply Last reply
      0
      • G Offline
        G Offline
        goetz
        wrote on last edited by
        #3

        QProgressDialog:"http://doc.qt.nokia.com/stable/qprogressdialog.html" could be a solution.

        http://www.catb.org/~esr/faqs/smart-questions.html

        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