qt6-bb10/tests/auto/widgets/dialogs
Volker Hilsheimer 44fb925f50 Phase 2 of removing QDesktopWidget
Remove QDestopWidget public header, simplify the implementation that
maintains a Qt::Desktop type QWidget for each QScreen, and turn
QWidget's initial target screen into a QScreen pointer.

QApplication::desktop() now takes an optional QScreen pointer, and
returns a QWidget pointer, so that applications and widgets can get
access to the root widget for a specific screen without having to
resort to private APIs.

QDesktopWidgetPrivate implementations to look up a screen for an index,
widget, or point are now all inline functions that thinly wrap
QGuiApplication::screens/screenAt calls. We should consider adding those
as convenience APIs to QScreen instead.

Note that QWidget::screen is assumed to return a valid pointer; there is
code that handles the case that it returns nullptr (but also code that
trusts that it never is nullptr), so this needs to be defined, verified
with tests, and asserted. We can then simplify the code further.

Change-Id: Ifc89be65a0dce265b6729feaf54121c35137cb94
Reviewed-by: Shawn Rutledge <shawn.rutledge@qt.io>
Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
2020-06-08 20:29:49 +02:00
..
qcolordialog Regenerate tests/auto/widgets/dialogs 2019-11-13 10:05:56 +00:00
qdialog Phase 2 of removing QDesktopWidget 2020-06-08 20:29:49 +02:00
qerrormessage Regenerate tests/auto/widgets/dialogs 2019-11-13 10:05:56 +00:00
qfiledialog Remove the deprecated QDirModel 2020-06-04 19:11:19 +02:00
qfiledialog2 Remove winrt 2020-06-06 20:25:49 +02:00
qfilesystemmodel Remove winrt 2020-06-06 20:25:49 +02:00
qfontdialog Merge remote-tracking branch 'origin/5.15' into dev 2020-04-22 15:28:01 +02:00
qinputdialog Merge remote-tracking branch 'origin/wip/cmake' into dev 2020-02-13 23:29:51 +01:00
qmessagebox Remove winrt 2020-06-06 20:25:49 +02:00
qprogressdialog Merge remote-tracking branch 'origin/dev' into wip/cmake 2020-01-29 16:57:27 +01:00
qsidebar Remove winrt 2020-06-06 20:25:49 +02:00
qwizard Remove winrt 2020-06-06 20:25:49 +02:00
CMakeLists.txt Remove winrt 2020-06-06 20:25:49 +02:00
dialogs.pro Remove winrt 2020-06-06 20:25:49 +02:00