PDA

View Full Version : Remove Window title bar



Lele
16th January 2007, 12:09
Hi all,
I'd like to remove the window title bar on the top of a window,
I tried Qt::WindowTitleHint but that just removes the butttons on the bar, I could also use a Qt::FramelessWindowHint but that dosen't allow me to manually resize the window.
Any help is appreciated
Thanks in advance
bye

sunil.thaha
16th January 2007, 12:16
If you want a frameless window use the Qt::FramelessWindowHint Option. Now to handle the resizing, a frame is required or you will have to write the codes for resizing. You could have some widgets that acts as a grip and dagging that should essentially resize your Frameless widget

Lele
16th January 2007, 12:28
thanks for answering,
well, basically the normal window woul be good to me, I just want to remove the (usually blue on XP) window title, having read the docs it seems to me that's impossible to have unless implementi a custom widget that behaves like that.
bye

sunil.thaha
16th January 2007, 12:56
Qt does not handle the Frames. the underlying window manager does it. So for a title bar. I think you have to paint it yourself