[Interest] Is there a well-defined relationship between QScreen and QDesktopWidget?
Richard Moore
rich at kde.org
Tue Jul 21 15:15:20 CEST 2015
On 21 July 2015 at 13:28, Sze Howe Koh <szehowe.koh at gmail.com> wrote:
> Hello,
>
> Is it safe to assume that, for a given value of 'i',
> QGuiApplication::screens()[i] and QDesktopWidget::screen(i) refer to the
> same physical screen?
>
>
It's certainly the case at the moment:
http://code.woboq.org/qt5/qtbase/src/widgets/kernel/qdesktopwidget.cpp.html#_ZN21QDesktopWidgetPrivate16_q_updateScreensEv
Cheers
Rich.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20150721/2cdffc8a/attachment.html>
More information about the Interest
mailing list