[Interest] DPI
Jan Kundrát
jkt at flaska.net
Tue Feb 25 13:07:27 CET 2014
On Sunday, 23 February 2014 13:24:54 CEST, igor.mironchik at gmail.com wrote:
> QApplication::desktop()->physicalDpiY()
In addition to what has already been said, note that the value is not
updated after the application has started. In X11, the actual DPI can very
well change (for example when switching outputs via xrandr), but Qt won't
react to that.
Hope this helps,
Jan
--
Trojitá, a fast Qt IMAP e-mail client -- http://trojita.flaska.net/
More information about the Interest
mailing list