qt6-bb10/tests/auto/gui/kernel
Volker Hilsheimer bcaff2b06f Remove QGuiAction again and split QAction implementation up instead
Duplicating the number of classes is a high price to pay to be able to
have some QAction functionality behave differently, or be only available
in widgets applications.

Instead, declare the entire API in QtGui in QAction* classes, and
delegate the implementation of QtWidgets specific functionality to
the private. The creation of the private is then delegated to the
Q(Gui)ApplicationPrivate instance through a virtual factory function.

Change some public APIs that are primarily useful for specialized tools
such as Designer to operate on QObject* rather than QWidget*. APIs that
depend on QtWidgets types have been turned into inline template
functions, so that they are instantiated only at the caller side, where
we can expect the respective types to be fully defined. This way, we
only need to forward declare a few classes in the header, and don't
need to generate any additional code for e.g. language bindings.

Change-Id: Id0b27f9187652ec531a2e8b1b9837e82dc81625c
Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
2020-03-29 11:18:57 +01:00
..
noqteventloop Regenerate projects one last time before merge 2020-02-12 17:30:49 +00:00
qaction Remove QGuiAction again and split QAction implementation up instead 2020-03-29 11:18:57 +01:00
qactiongroup Remove QGuiAction again and split QAction implementation up instead 2020-03-29 11:18:57 +01:00
qbackingstore Regenerate projects one last time before merge 2020-02-12 17:30:49 +00:00
qclipboard cmake: Remove APPLE prefix from platform names 2020-03-16 17:57:56 +01:00
qcursor cmake: add gui/kernel tests 2019-10-31 09:49:30 +00:00
qdrag cmake: add gui/kernel tests 2019-10-31 09:49:30 +00:00
qevent cmake: add gui/kernel tests 2019-10-31 09:49:30 +00:00
qfileopenevent cmake: add gui/kernel tests 2019-10-31 09:49:30 +00:00
qguiapplication CMake: Fix tst_qguiapplication test 2020-02-25 16:47:08 +01:00
qguieventdispatcher cmake: add gui/kernel tests 2019-10-31 09:49:30 +00:00
qguieventloop Regenerate projects one last time before merge 2020-02-12 17:30:49 +00:00
qguimetatype Get rid of QMatrix 2020-02-28 08:57:57 +01:00
qguishortcut Extract QGuiShortcut 2019-11-01 20:29:46 +01:00
qguitimer Regenerate projects one last time before merge 2020-02-12 17:30:49 +00:00
qguivariant Get rid of QMatrix 2020-02-28 08:57:57 +01:00
qhighdpiscaling Add nullptr guard to QHighDScaling::scaleAndOrigin(QPlatformScreen *) 2019-08-11 12:01:26 +02:00
qinputmethod Regenerate projects one last time before merge 2020-02-12 17:30:49 +00:00
qkeyevent Merge remote-tracking branch 'origin/dev' into wip/cmake 2019-11-19 13:53:21 +01:00
qkeysequence Regenerate projects one last time before merge 2020-02-12 17:30:49 +00:00
qmouseevent cmake: add gui/kernel tests 2019-10-31 09:49:30 +00:00
qmouseevent_modal Merge remote-tracking branch 'origin/5.15' into dev 2020-02-13 18:31:40 +01:00
qopenglwindow Regenerate projects one last time before merge 2020-02-12 17:30:49 +00:00
qpalette Merge remote-tracking branch 'origin/dev' into merge-dev 2020-01-24 13:17:33 +01:00
qpixelformat cmake: add gui/kernel tests 2019-10-31 09:49:30 +00:00
qrasterwindow Regenerate projects one last time before merge 2020-02-12 17:30:49 +00:00
qscreen Regenerate projects one last time before merge 2020-02-12 17:30:49 +00:00
qsurfaceformat Regenerate projects one last time before merge 2020-02-12 17:30:49 +00:00
qtouchevent Regenerate projects one last time before merge 2020-02-12 17:30:49 +00:00
qwindow Initial cleanup of qevent.h for Qt6 2020-03-05 21:49:18 +01:00
CMakeLists.txt cmake: Remove APPLE prefix from platform names 2020-03-16 17:57:56 +01:00
kernel.pro Remove QGuiAction again and split QAction implementation up instead 2020-03-29 11:18:57 +01:00