[Qt-interest] ***SPAM*** how can make window full-screen?
Ramesh
ramesh.bs at robosoftin.com
Fri Apr 30 09:07:53 CEST 2010
Do it in the main function, were you create the mainwindow object..
Main()
{
QApplication a(argc, argv);
MainWindowContainer mainwindow;
Mainwindow.showmaximized();
return a.exec();
}
MainWindowContainer::MainWindowContainer()
{
ui.setupUi(this);
}
From: Meir Yanovich [mailto:meiry242 at gmail.com]
Sent: Friday, April 30, 2010 12:32 PM
To: Ramesh
Cc: qt-interest at trolltech.com
Subject: Re: ***SPAM*** [Qt-interest] how can make window full-screen?
well im doing it in the contractor that implement my gui
and when i run it from the IDE (vc) it doesn't do any thing :
MainWindowContainer::MainWindowContainer()
{
ui.setupUi(this);
ui.centralwidget->showMaximized();
}
On Fri, Apr 30, 2010 at 9:58 AM, Ramesh <ramesh.bs at robosoftin.com> wrote:
Try.. showMaximized(); .
It will cover ur full screen..
From: qt-interest-bounces at trolltech.com
[mailto:qt-interest-bounces at trolltech.com] On Behalf Of Meir Yanovich
Sent: Friday, April 30, 2010 12:23 PM
To: qt-interest at trolltech.com
Subject: ***SPAM*** [Qt-interest] how can make window full-screen?
hello all
i like to make my application window to real full screen
what is the best way to do it ?
i did try :ui.centralwidget->showFullScreen();
but without any lock
-----------------------------------------------
Robosoft Technologies - Come home to Technology
Disclaimer: This email may contain confidential material. If you were not an
intended recipient, please notify the sender and delete all copies. Emails
to and from our network may be logged and monitored. This email and its
attachments are scanned for virus by our scanners and are believed to be
safe. However, no warranty is given that this email is free of malicious
content or virus.
-----------------------------------------------
Robosoft Technologies - Come home to Technology
Disclaimer: This email may contain confidential material. If you were not an intended recipient, please notify the sender and delete all copies. Emails to and from our network may be logged and monitored. This email and its attachments are scanned for virus by our scanners and are believed to be safe. However, no warranty is given that this email is free of malicious content or virus.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20100430/c90b5aa0/attachment.html
More information about the Qt-interest-old
mailing list