[Qt-interest] ***SPAM*** how can make window full-screen?

Ramesh ramesh.bs at robosoftin.com
Fri Apr 30 11:06:20 CEST 2010


Use Qgraphicsview as view class..

 

Place  your Qgraphicsitems into Qgraphicscene.

 

Set your Qgraphicscene to your Qgraphicsview.

 

 

From: Meir Yanovich [mailto:meiry242 at gmail.com] 
Sent: Friday, April 30, 2010 1:07 PM
To: Ramesh
Cc: qt-interest at trolltech.com
Subject: Re: [Qt-interest] ***SPAM*** how can make window full-screen?

 

one more question about full screen
what about if im using :QGraphicsScene
as my mainwindow , i didn't saw any full screen/maximized method 
how can i make it full screen ? 
can i make QGraphicsScene child of QMainWindow ? 
is this the right way?

On Fri, Apr 30, 2010 at 10:32 AM, Meir Yanovich <meiry242 at gmail.com> wrote:

worked thanks

On Fri, Apr 30, 2010 at 10:07 AM, Ramesh <ramesh.bs at robosoftin.com> wrote:

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.

 

 


_______________________________________________
Qt-interest mailing list
Qt-interest at trolltech.com
http://lists.trolltech.com/mailman/listinfo/qt-interest

 


-----------------------------------------------
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/0557d53e/attachment.html 


More information about the Qt-interest-old mailing list