Results 1 to 9 of 9

Thread: Calling update() from paintEvent()

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #5
    Join Date
    Jan 2008
    Posts
    6
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: Calling update() from paintEvent()

    Quote Originally Posted by wysota View Post
    As for your other doubt - if the application doesn't have the CPU, it won't process events. If you click on the window decoration which is not a part of the application but rather the windowing system, you might take away CPU from the application and it can't do anything about it. Conclusions are yours to draw.
    It's nonsense. So you want to say, that when I click on window decoration in Windows everything stopped? =)))) You can take a look on Windows native applications like Clock or Media Player for example - they work even if you click on their caption. More over, slots connected to timer still works in this case. It is very bad design if GUI is dead while user holding mouse button on caption or looking on system menu opened with Alt+Space.

    And if you want calling update() from paintEvent() is implemented in Qt composition demo, so this way is not that bad. BTW.
    Last edited by wonder.mice; 11th January 2008 at 13:09.

Similar Threads

  1. Replies: 3
    Last Post: 27th November 2006, 09:56

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Qt is a trademark of The Qt Company.