Results 1 to 2 of 2

Thread: User has not minimize or maximize buttons

  1. #1
    Join Date
    Mar 2006
    Posts
    74
    Thanks
    1
    Qt products
    Qt3
    Platforms
    MacOS X Unix/X11 Windows

    Default User has not minimize or maximize buttons

    I have a user that is not getting the minimize or maximize buttons on the window title bar (all he has is the close button). The constructor for the dialog looks like this:

    Qt Code:
    1. lprofMain::lprofMain( QWidget* parent)
    2. : lprofMainBase( parent, "", 0,
    3. Qt::WType_TopLevel | Qt::WStyle_SysMenu | Qt::WStyle_MinMax )
    To copy to clipboard, switch view to plain text mode 

    Qt::WStyle_SysMenu | Qt::WStyle_MinMax were added a long time ago to get these controls working on Windows and on my Linux box I am seeing the minimize and maximize controls. So I don't understand why the user is not.

    Anyone have any ideas?

    This is a Qt3 application.

  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: User has not minimize or maximize buttons

    As far as I know, these are only hints. It's up to the underlying window manager whether they are respected or not. Just curious, which desktop is he/she running? My wild guess is something exotic or rather old..
    J-P Nurmi

Similar Threads

  1. Replies: 3
    Last Post: 25th March 2006, 06:15

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.