qt6-bb10/tests/auto/widgets
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
..
dialogs cmake: Remove APPLE prefix from platform names 2020-03-16 17:57:56 +01:00
effects Regenerate projects one last time before merge 2020-02-12 17:30:49 +00:00
graphicsview CMake: Disable two graphicsview tests 2020-03-18 15:44:06 +01:00
itemviews QAbstractItemView::dataChanged(): optimize call to QWidget::update() 2020-03-28 09:03:18 +01:00
kernel Remove QGuiAction again and split QAction implementation up instead 2020-03-29 11:18:57 +01:00
styles cmake: Remove APPLE prefix from platform names 2020-03-16 17:57:56 +01:00
util Regenerate projects one last time before merge 2020-02-12 17:30:49 +00:00
widgets Remove QGuiAction again and split QAction implementation up instead 2020-03-29 11:18:57 +01:00
CMakeLists.txt Begin port of qtbase to CMake 2018-11-01 11:48:46 +00:00
widgets.pro Move QGestureRecognizer test to widgets/kernel 2017-06-02 18:36:11 +00:00