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. Call a function periodically for QML window data updates
Forum Updated to NodeBB v4.3 + New Features

Call a function periodically for QML window data updates

Scheduled Pinned Locked Moved Solved General and Desktop
qml
3 Posts 2 Posters 531 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.
  • B Offline
    B Offline
    Babs
    wrote on last edited by
    #1

    Hello,
    I'm working in a QML application which contains data received from a sensor. I want to call the functions that deals with the sensors data periodically in order to update them on my QML side.
    Anyone got an idea of how do so?

    J.HilkJ 1 Reply Last reply
    0
    • B Babs

      Hello,
      I'm working in a QML application which contains data received from a sensor. I want to call the functions that deals with the sensors data periodically in order to update them on my QML side.
      Anyone got an idea of how do so?

      J.HilkJ Offline
      J.HilkJ Offline
      J.Hilk
      Moderators
      wrote on last edited by
      #2

      hi @Babs

      a job for a timer

      https://doc.qt.io/qt-5/qml-qtqml-timer.html


      Be aware of the Qt Code of Conduct, when posting : https://forum.qt.io/topic/113070/qt-code-of-conduct


      Q: What's that?
      A: It's blue light.
      Q: What does it do?
      A: It turns blue.

      B 1 Reply Last reply
      3
      • J.HilkJ J.Hilk

        hi @Babs

        a job for a timer

        https://doc.qt.io/qt-5/qml-qtqml-timer.html

        B Offline
        B Offline
        Babs
        wrote on last edited by
        #3

        @J.Hilk Thank you for your response.
        Best Regards,

        1 Reply Last reply
        1

        • Login

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