Qt World Summit: Register Today!


  • 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.

  • 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.

Log in to reply