PDA

View Full Version : Qt From Without Title area



nleverin
4th October 2007, 09:53
Hi,

Does anyone how to create a qt form without any title area.

I have shown the area i want to remove in the attached figure,

thanks in advance.

nlev.

marcel
4th October 2007, 10:08
Use in the constructor of your window/dialog:


setWindowFlags(windowFalgs() | Qt::FramelessWindowHint );


Or you can do it from Designer, if that's how you created your window.

nleverin
7th March 2008, 03:43
Hi Marcel,

thanks for the reply, i got this working with Qt4,

is there an equivalent function using Qt3?

jpn
7th March 2008, 06:45
Take a look at QWidget docs. Especially its constructor and setWFlags().