Results 1 to 2 of 2

Thread: How to disable maximize button from subwindow

  1. #1
    Join Date
    Aug 2009
    Posts
    6
    Thanks
    2
    Qt products
    Qt4
    Platforms
    Unix/X11

    Question How to disable maximize button from subwindow

    hi,
    I'm adding sub windows in QMdiArea. I wanted to disable maximize button from sub window.

    Thanks in Advance

    madhu

  2. #2
    Join Date
    Jan 2006
    Location
    Germany
    Posts
    4,380
    Thanks
    19
    Thanked 1,005 Times in 913 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows Symbian S60
    Wiki edits
    5

    Default Re: How to disable maximize button from subwindow

    You can use normal window flags and remove Qt::WindowMaximizeButtonHint. That's not directly disable but has the same effect.

  3. The following user says thank you to Lykurg for this useful post:

    manti_madhu (27th November 2009)

Similar Threads

  1. how to disable the maximize button?
    By zabeehkhan in forum Qt Programming
    Replies: 4
    Last Post: 14th April 2010, 07:26
  2. Disable Close button (X) of a QDialog
    By BrainB0ne in forum Qt Programming
    Replies: 29
    Last Post: 8th December 2009, 17:01
  3. Disable Maximize at Runtime
    By ericV in forum Qt Programming
    Replies: 0
    Last Post: 3rd November 2009, 10:22
  4. Maximize Window button of Manin Window
    By sabeesh in forum Qt Programming
    Replies: 1
    Last Post: 1st August 2007, 08:20
  5. Disable Checkable Button Question
    By jbpvr in forum Qt Programming
    Replies: 9
    Last Post: 20th March 2007, 17:57

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.