PDA

View Full Version : desktops size



seux
1st September 2011, 17:43
Hello,
How can i get the screen resolution? I tried it with
QApplication::desktop()->screenGeometry(0);
But the values are fairly to high to fit to my screen.

Talei
1st September 2011, 18:18
Use:

QDesktopWidget dsk;
dsk.width()