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. Moving Text by QPropropertyAnimation: How to ensure Higher FPS?
Qt 6.11 is out! See what's new in the release blog

Moving Text by QPropropertyAnimation: How to ensure Higher FPS?

Scheduled Pinned Locked Moved Unsolved General and Desktop
1 Posts 1 Posters 339 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.
  • L Offline
    L Offline
    lexected
    wrote on last edited by
    #1

    Hi :)

    I am writing an application that, aside from other things, runs stock quotes on the bottom of the screen. I would like these to move at a certain speed, since there's content I really need to fit there in a period of time, before a new quote arrives.

    The problem I have is that if the quotes go faster than ~80px/second (on a Full HD Screen), low frame rate becomes noticeable (= it is noticeable that the text jumps over some distance every frame).

    The question is: can I somehow ensure that my QPropertyAnimation animates my moving text without "jumps"?

    I did little research and some experimenting to find out that I can:

    • modify the global QUnifiedTimer's interval, but I believe that this would affect all timers and could cause some problems (sounds like an ugly hack)
    • run the quotes in two lines, partly checkered, thus increasing the density of information
    • ignore some of the incoming date (:'( please no)

    Does anyone have any ideas or suggestions?

    Thanks,
    lex

    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