[Qt-interest] How to get screen resolution?

Zeljko zeljko at holobit.net
Thu Jun 30 08:43:38 CEST 2011


Ankit Agarwal wrote:

> Hi,
> I am using Qt4.2.2. How can I get the screen resolution in Qt.

look at QDesktopWidget ... screenGeometry(), availableGeometry().
http://doc.qt.nokia.com/4.2/qdesktopwidget.html

zeljko




More information about the Qt-interest-old mailing list