Results 1 to 6 of 6

Thread: Customize Application Window

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    May 2008
    Posts
    58
    Thanks
    2

    Default Re: Customize Application Window

    In Qt 4.3 you can get title bar's height :
    qApp->style()->pixelMetric(QStyle::PM_TitleBarHeight,NULL,NULL )

  2. #2
    Join Date
    Oct 2006
    Location
    New Delhi, India
    Posts
    2,467
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows
    Thanks
    8
    Thanked 334 Times in 317 Posts

    Default Re: Customize Application Window

    How about trying setWindowFlags ??
    You can use "Qt::Window| Qt::WindowMinimizeButtonHint" to disable the maximize button

    You can play more with the flags I guess

Similar Threads

  1. Set a window as child at runtime
    By sabeesh in forum Qt Programming
    Replies: 1
    Last Post: 26th November 2007, 10:30
  2. accessing my main application window widget
    By jayw710 in forum Newbie
    Replies: 8
    Last Post: 15th November 2007, 20:33
  3. Replies: 6
    Last Post: 3rd May 2007, 16:17
  4. Independant window in an application
    By titoo in forum Qt Programming
    Replies: 4
    Last Post: 28th February 2007, 12:07
  5. Replies: 0
    Last Post: 21st February 2006, 17:30

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.