PDA

View Full Version : How to Hide the TitleBar ?



vasant
4th February 2010, 08:52
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

nikhilqt
4th February 2010, 09:00
Negate the flag Qt::WindowTitleHint by calling,

http://doc.qt.nokia.com/4.6/qwidget.html#windowFlags-prop

vasant
4th February 2010, 10:20
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

nikhilqt
4th February 2010, 13:48
Could you post the code snippet what you did.