Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. QML and Qt Quick
  4. problem with window not redrawing

problem with window not redrawing

Scheduled Pinned Locked Moved Unsolved QML and Qt Quick
1 Posts 1 Posters 238 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.
  • C Offline
    C Offline
    Cyrille de Brebisson
    wrote on last edited by
    #1

    Hello,

    I have a problem with the qml window not repainting when the computer goes to sleep on windows...

    When the app receives the windows sleep message, some QObject property (like connected) will change.
    Some Qml object uses this property to display the connected state (text: object.connected?"connected":"disconnected")...
    However, when the computer restore from sleep, the qml object has NOT redrawn. The property value for text is correct, but no painting happend on the change.

    I would like to see if/how I can force a redraw of my application upon a resume from sleep, but I have not manged to succeed. I have tried doing an update on my mainUi, but I get an error telling me that there is nothing to update...

    Can you please help me?
    thanks,
    Cyrille

    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