Results 1 to 2 of 2

Thread: Maximizing a floating QDockWidget?

  1. #1
    Join Date
    Oct 2012
    Posts
    4
    Thanks
    1
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows

    Default Maximizing a floating QDockWidget?

    Hi,

    Is it possible to make a QDockWidget that has a working 'maximize' icon in its title bar whenever it is floating? I've tried using setWindowFlags(Qt::WindowMaximizeButtonHint) in the constructor of a class derived from QDockWidget, but that does not seem to have any effect.

    Regards

  2. #2
    Join Date
    Dec 2012
    Location
    Dallas, Texas
    Posts
    1
    Qt products
    Qt3
    Platforms
    Windows

    Default Re: Maximizing a floating QDockWidget?

    Quote Originally Posted by blackmarlin View Post
    Hi,

    Is it possible to make a QDockWidget that has a working 'maximize' icon in its title bar whenever it is floating? I've tried using setWindowFlags(Qt::WindowMaximizeButtonHint) in the constructor of a class derived from QDockWidget, but that does not seem to have any effect.

    Regards
    No, I don't think that possible to make a QDockWidget that has a working 'maximize' icon in its title bar whenever it is floating. At least using setWindowFlags is not possible. Well you should try something more.
    Boat Auction Can Make Your Fishing Dreams a Reality

Similar Threads

  1. Events of floating QDockWidget
    By harregui in forum Qt Programming
    Replies: 8
    Last Post: 20th January 2017, 16:21
  2. Replies: 2
    Last Post: 10th May 2011, 07:51
  3. QDockWidget floating at the beginning
    By Caius Aérobus in forum Qt Programming
    Replies: 0
    Last Post: 2nd March 2011, 13:15
  4. Replies: 1
    Last Post: 7th December 2010, 21:46
  5. QDockWidget : No floating
    By prashant in forum Qt Programming
    Replies: 1
    Last Post: 5th October 2009, 18:42

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.