[Qt-interest] How to find full screen size
Ferenc Stelcz
ferenc at stelcz.hu
Sun May 24 21:48:33 CEST 2009
Kushal Das wrote:
> Hi all,
>
> I am showing an image full using QGraphicsView and and then calling
> showFullScreen on the view. Now to show the image scaled to full
> screen properly I need to find out the full screen size. How can I do
> that ?
> If I try to get size of the graphicsview while it is full screen it is
> coming as 200, 100 :(
>
>
> Kushal
I may be misunderstandig you, but have you tried
QDesktopWidget::screenGeometry()/::availableGeometry() out? It gives you a
QRect with the width and height of the given screen (by default the "default"
screen).
__________ Information from ESET Smart Security, version of virus signature database 4098 (20090522) __________
The message was checked by ESET Smart Security.
http://www.eset.com
More information about the Qt-interest-old
mailing list