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. Update UI in high rate

Update UI in high rate

Scheduled Pinned Locked Moved Unsolved General and Desktop
5 Posts 4 Posters 534 Views 2 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.
  • L Offline
    L Offline
    Lior
    wrote on last edited by
    #1

    Hi
    I want to build some app that receives data at a high rate and shows the data in real time.

    The main problem is if the main ui is get interprets in high rate it not responsive.

    The only solution I can think of is to collect several frames and update the ui in chunks.

    Can some one suggest onthoer aprroch?

    Can I set some rule to frame/widgets that it not suppose to be interactive and view only?

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

      Hi,

      What are you using to show your data ?

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

      L 1 Reply Last reply
      0
      • JoeCFDJ Offline
        JoeCFDJ Offline
        JoeCFD
        wrote on last edited by JoeCFD
        #3

        check how video widget works. Frame rate can be over 30/s. If yours is much higher, you may need to come up with some cache mechanism.

        1 Reply Last reply
        0
        • SGaistS SGaist

          Hi,

          What are you using to show your data ?

          L Offline
          L Offline
          Lior
          wrote on last edited by
          #4

          @SGaist
          I didn't start yet, but for practicing QML.

          1 Reply Last reply
          0
          • S Offline
            S Offline
            SimonSchroeder
            wrote on last edited by
            #5

            Well, I haven't used QML yet, but always QWidgets. However, here is what I've learned so far: If you have lots of data (which is what I expect if you say you have data coming in constantly), you should not create a graphical representation for all data. Within QWidgets you would have a model and the view will create the graphical elements for the parts that are currently visible. I am not sure though, how this translates to QML or if it is even possible to have the data separate from the view.

            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