Results 1 to 3 of 3

Thread: How to disable maximum event in QWidget??

  1. #1
    Join Date
    Oct 2006
    Posts
    20
    Thanks
    2

    Default How to disable maximum event in QWidget??

    Hello,everyone . Help me please . How to disable maximum event in QWidget? Thank you !

  2. #2
    Join Date
    Feb 2006
    Location
    Oslo, Norway
    Posts
    6,264
    Thanks
    36
    Thanked 1,519 Times in 1,389 Posts
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows Symbian S60 Maemo/MeeGo

    Default Re: How to disable maximum event in QWidget??

    You can use QWidget::setWindowFlags() to remove the maximize button (Qt::WindowMaximizeButtonHint).

    If you really want to get your hands on the actual maximize event, override QWidget::changeEvent() and catch QEvent::WindowStateChange (or alternatively use an event filter).
    J-P Nurmi

  3. #3
    Join Date
    Oct 2006
    Posts
    20
    Thanks
    2

    Default Re: How to disable maximum event in QWidget??

    Thank you very much! jpn..

Similar Threads

  1. Workload in a QThread blocks main application's event loop ?
    By 0xBulbizarre in forum Qt Programming
    Replies: 14
    Last Post: 9th April 2006, 21:55

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.