Results 1 to 4 of 4

Thread: How to Hide the TitleBar ?

  1. #1
    Join Date
    Feb 2010
    Posts
    7
    Qt products
    Qt4
    Platforms
    Windows

    Default How to Hide the TitleBar ?

    Hi All,

    I have QMdiArea in which i am adding subwindow(QMainWindow) which is displayed when i click a button.The subwindow is displayed with Titlebar.How can i hide the TitleBar of SubWindow and Display it in QMdiArea ?.

    Waiting for your replies.....

    With Regards,
    vasant

  2. #2
    Join Date
    Jan 2008
    Location
    Bengaluru
    Posts
    144
    Thanks
    8
    Thanked 7 Times in 7 Posts
    Qt products
    Qt3 Qt4
    Platforms
    Windows

    Default Re: How to Hide the TitleBar ?

    Negate the flag Qt::WindowTitleHint by calling,

    http://doc.qt.nokia.com/4.6/qwidget....ndowFlags-prop

  3. #3
    Join Date
    Feb 2010
    Posts
    7
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: How to Hide the TitleBar ?

    Thanks nikhil for the reply....But still it showing the TitleBar of subwindow !!. when i use Qt::FramelessWindowHint Flag it is showing effect in Parent window but not in SubWindow.pls let me know how it can take effect for SubWindows inside QMdiArea.

    ~Vasant

  4. #4
    Join Date
    Jan 2008
    Location
    Bengaluru
    Posts
    144
    Thanks
    8
    Thanked 7 Times in 7 Posts
    Qt products
    Qt3 Qt4
    Platforms
    Windows

    Default Re: How to Hide the TitleBar ?

    Could you post the code snippet what you did.

Similar Threads

  1. Qt::Popup with titlebar
    By keyur259 in forum Qt Programming
    Replies: 22
    Last Post: 1st February 2010, 04:36
  2. Mac titlebar buttons Issue.
    By kaushal_gaurav in forum Qt Programming
    Replies: 5
    Last Post: 9th July 2009, 21:45
  3. TitleBar color
    By chethana in forum General Programming
    Replies: 1
    Last Post: 14th November 2008, 17:20
  4. Increase the height of titlebar, ...
    By vql in forum Qt Programming
    Replies: 2
    Last Post: 23rd March 2008, 11:28
  5. QMainWindow with no titlebar in OSX
    By xgoan in forum Qt Programming
    Replies: 3
    Last Post: 22nd February 2007, 12: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
  •  
Qt is a trademark of The Qt Company.