PDA

View Full Version : Can you hide the titlebar for a Qwidget in Windows?



sgmurphy19
11th February 2008, 22:06
Is it possible to hide the top portion of the QWidget window in Windows. The part of the window with the minimize btn, max imize btn and x (close) btn?

jpn
11th February 2008, 22:17
Yes, see QWidget::windowFlags and Qt::FramelessWindowHint (http://doc.trolltech.com/latest/qt.html#WindowType-enum).

sgmurphy19
11th February 2008, 22:28
Thanks!
I was able to accomplish what I needed using
setWindowFlags(Qt::Popup);