Results 1 to 1 of 1

Thread: isMinimized() not working in QHideEvent on X11 ?

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Aug 2009
    Location
    Lancashire UK
    Posts
    26
    Thanked 1 Time in 1 Post
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows

    Unhappy isMinimized() not working in QHideEvent on X11 ?

    When I minimize a QMainWindow (via the minimize button), my hideEvent() handler gets called successfully on QT4.6.2.
    However, a call to isMinimized() within hideEvent() incorrectly returns false on X11 (Linux), but successfully returns true on Windows and MAC.
    Do I need to flush X events somehow before I can get a correct answer from isMinimized() ? If so how ?
    Last edited by andyp; 28th May 2010 at 09:31. Reason: Missed QT version

Similar Threads

  1. My first app not working
    By Noks in forum Newbie
    Replies: 6
    Last Post: 2nd February 2010, 16:34
  2. beginInsertRows seems not to be working
    By ugurkoltuk in forum Qt Programming
    Replies: 3
    Last Post: 6th January 2010, 14:21
  3. QPalette isn't working
    By roleroz in forum Qt Programming
    Replies: 5
    Last Post: 19th October 2006, 20:15
  4. Slot not working
    By dayrinni in forum Newbie
    Replies: 5
    Last Post: 4th September 2006, 06:20
  5. Mac OS X UI not working
    By hvengel in forum Qt Programming
    Replies: 3
    Last Post: 1st April 2006, 01:02

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.