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. QwsServer->enablePainting(false);
Forum Updated to NodeBB v4.3 + New Features

QwsServer->enablePainting(false);

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

    When I use qwsServer->enablePainting(false); in a action method for a button, it's works like expected. But it does not only disable painting, no other events, keyboard or mouse, arrive my app. All input is blocked. The vfb window (testing on host) is affected too. Only background threads run again.

    I planed to disable any painting actions until I click anywhere in the app (full screen window).
    It's for a embedded machine controlling a radio. Screen updates disturbe the reception. So was my idea to switch off screen updates while not needed.

    1 Reply Last reply
    0
    • B Offline
      B Offline
      brijeshvpatel
      wrote on last edited by
      #2

      As I know enablePainting API should work as per you requirement. Another way I can suggest is, you can override paint event of your active widget.

      Brijesh

      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