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. Arch to display countdown timer
Qt 6.11 is out! See what's new in the release blog

Arch to display countdown timer

Scheduled Pinned Locked Moved Unsolved Mobile and Embedded
2 Posts 2 Posters 528 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.
  • S Offline
    S Offline
    Sudhir F
    wrote on last edited by Sudhir F
    #1

    Hi,

    I have a QML page that displays timer value every ms.
    I have Python Application which runs the timer.
    Now i have to connect the python timer to QML page to display timer every ms.

    Do i need to create a signal and slot, where every ms signal is triggerd ?
    Or
    Any other way is there for such fast data transfer from python app to QML ?

    jeremy_kJ 1 Reply Last reply
    0
    • S Sudhir F

      Hi,

      I have a QML page that displays timer value every ms.
      I have Python Application which runs the timer.
      Now i have to connect the python timer to QML page to display timer every ms.

      Do i need to create a signal and slot, where every ms signal is triggerd ?
      Or
      Any other way is there for such fast data transfer from python app to QML ?

      jeremy_kJ Offline
      jeremy_kJ Offline
      jeremy_k
      wrote on last edited by
      #2

      @Sudhir-F said in Arch to display countdown timer:

      Hi,

      I have a QML page that displays timer value every ms.

      Is the display in use capable of a 1000 hz refresh rate? The Quick scene graph threaded and software render loops are limited to QScreen::refreshRate()

      I have Python Application which runs the timer.

      Is this is the same process as the gui?

      Now i have to connect the python timer to QML page to display timer every ms.

      Do i need to create a signal and slot, where every ms signal is triggerd ?
      Or
      Any other way is there for such fast data transfer from python app to QML ?

      Either connect to a signal, use a Q_PROPERTY with a NOTIFY signal, or poll for the current timer value if that isn't possible. Has a QTimer or Timer been considered?

      Asking a question about code? http://eel.is/iso-c++/testcase/

      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