PDA

View Full Version : Set full screen a dialog box



fantom
7th March 2011, 16:49
Hello all,

Could you please tell me how i can set full screen a dialog box?
I would appreciate an example :)!

Thank you!

mcosta
7th March 2011, 17:43
you tried with QWidget::setWindowState()?

Example


this->setWindowState(Qt::WindowFullScreen);

fantom
8th March 2011, 11:32
Thank you its working but i can not see the close and minimize button! What i have to do?

wysota
8th March 2011, 11:54
A full screen widget doesn't have close and minimize buttons. Maybe what you wanted was a maximized window - QWidget::showMaximized().