Results 1 to 2 of 2

Thread: Window style

  1. #1
    Join Date
    Sep 2006
    Posts
    6
    Thanks
    1
    Thanked 2 Times in 1 Post
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11

    Default Window style

    Is it possible to make main with a larger title bar ... something like Mac iTune?

  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: Window style

    With Qt, no, it's not. Qt is not responsible for the title bar. It is provided by the underlying system, window manager. You can adjust the size of the title bar in WinXP (Control Panel -> Display Properties -> Appearance). This setting will, however, adjust sizes of each and every, current and future title bar, not just your program's title bar.

    Another option could be using a frameless window and drawing a custom title bar by hand (for example with help of styles). This would naturally require also implementation for a bunch functionalities which are normally provided by the window manager. Like window movement, minimizing, maximizing etc.
    J-P Nurmi

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

    almost (18th September 2006)

Similar Threads

  1. Custom Style
    By Dusdan in forum Qt Tools
    Replies: 8
    Last Post: 1st September 2006, 22:50
  2. Replies: 3
    Last Post: 23rd July 2006, 18:02
  3. animate a window
    By iGoo in forum Qt Programming
    Replies: 4
    Last Post: 27th June 2006, 10:46
  4. Move window in Clone Mode
    By ultrabrite in forum Qt Programming
    Replies: 1
    Last Post: 14th June 2006, 18:22
  5. cannot make a main window modal
    By Dark_Tower in forum Qt Programming
    Replies: 12
    Last Post: 23rd March 2006, 10:21

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.