Results 1 to 2 of 2

Thread: No paintEvent after window icon clicked

  1. #1
    Join Date
    Feb 2009
    Location
    Poland
    Posts
    2
    Qt products
    Qt4 Qt/Embedded
    Platforms
    Unix/X11 Windows

    Default No paintEvent after window icon clicked

    Hello,

    I qt beginner and I faced the following problem.
    I've done simple application(on Winwdows) which decodes video and call update() by each decoded frame. I use paintEvent to update widget with the current frame.
    Problem is when I click window icon or do right-click on window title bar,
    popup menu is opened and paintEvents do not occur.
    I want to watch background video without breaks.

    Please help me and advise how to avoid this effect ?

  2. #2
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,359
    Thanks
    3
    Thanked 5,015 Times in 4,792 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: No paintEvent after window icon clicked

    Change the operating system Unfortunately there are problems with delivering events to the application when you interact with a window title bar on Windows.

Similar Threads

  1. window icon in QGraphicsProxyWidget
    By Maike.F in forum Qt Programming
    Replies: 1
    Last Post: 20th November 2008, 13:50
  2. Replies: 2
    Last Post: 12th October 2008, 14:42
  3. Couple of questions: main window icon + toolbar icon
    By bpackard in forum Qt Programming
    Replies: 0
    Last Post: 20th March 2008, 19:03
  4. Replies: 1
    Last Post: 17th January 2008, 10:17
  5. Setting window icon on derived QWidget
    By steg90 in forum Qt Programming
    Replies: 5
    Last Post: 16th July 2007, 11:21

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
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.