Qt-interest Archive, April 2007
auto maximise
Message 1 in thread
Apologies for my previous double post.
I would just like to know how to set an application to run at its maximum,
full-screen size on start up.
Thanks
_________________________________________________________________
Get Hotmail, News, Sport and Entertainment from MSN on your mobile.
http://www.msn.txt4content.com/
--
[ signature omitted ]
Message 2 in thread
Hey,
maybe the call of this function on the main window before showing the window
could help:
void showFullScreen ()
It' s a QWidget slot. Found in the Qt Assistant. :)
Best regards
seb
Am Montag, 16. April 2007 10:08 schrieb Marco Gallone:
> Apologies for my previous double post.
>
> I would just like to know how to set an application to run at its maximum,
> full-screen size on start up.
>
> Thanks
>
> _________________________________________________________________
> Get Hotmail, News, Sport and Entertainment from MSN on your mobile.
> http://www.msn.txt4content.com/
>
> --
> To unsubscribe - send a mail to qt-interest-request@xxxxxxxxxxxxx with
> "unsubscribe" in the subject or the body. List archive and information:
> http://lists.trolltech.com/qt-interest/
--
[ signature omitted ]
Message 3 in thread
On Monday 16 April 2007, Marco Gallone wrote:
> I would just like to know how to set an application to run at its maximum,
> full-screen size on start up.
Which is it, maximized or full screen?
Basically one has a frame the other doesn't.
Either way, you can use QWidget::setWindowState() to change it.
The QWidget::setWindowState() entry in Qt Assistant has some example code.
w->setWindowState(w->windowState() ^ Qt::WindowFullScreen);
Regards,
Frederik
--
[ signature omitted ]