qt5base-lts/tests/auto/tools/uic/baseline
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
..
translation uic: Revert the microoptimization patch introducing QStringLiteral 2018-07-19 12:38:45 +00:00
.gitattributes
addlinkdialog.ui
addlinkdialog.ui.h uic: Generate correctly qualified invocation of QCoreApplication::translate() 2018-12-03 19:05:03 +00:00
addtorrentform.ui
addtorrentform.ui.h uic: Generate correctly qualified invocation of QCoreApplication::translate() 2018-12-03 19:05:03 +00:00
authenticationdialog.ui
authenticationdialog.ui.h uic: Generate correctly qualified invocation of QCoreApplication::translate() 2018-12-03 19:05:03 +00:00
backside.ui
backside.ui.h uic: Generate correctly qualified invocation of QCoreApplication::translate() 2018-12-03 19:05:03 +00:00
batchtranslation.ui
batchtranslation.ui.h uic: No longer generate static_cast for enum values in legacy forms 2018-12-13 07:11:12 +00:00
bookmarkdialog.ui
bookmarkdialog.ui.h uic: Generate correctly qualified invocation of QCoreApplication::translate() 2018-12-03 19:05:03 +00:00
bookwindow.ui
bookwindow.ui.h uic: Generate correctly qualified invocation of QCoreApplication::translate() 2018-12-03 19:05:03 +00:00
browserwidget.ui
browserwidget.ui.h Remove QGuiAction again and split QAction implementation up instead 2020-03-29 11:18:57 +01:00
bug18156QTreeWidget.ui
bug18156QTreeWidget.ui.h uic: Generate correctly qualified invocation of QCoreApplication::translate() 2018-12-03 19:05:03 +00:00
buttongroup.ui Don't generate QButtonGroup include unconditionally 2018-01-15 15:50:07 +00:00
buttongroup.ui.h uic: Generate correctly qualified invocation of QCoreApplication::translate() 2018-12-03 19:05:03 +00:00
calculator.ui
calculator.ui.h uic: Generate correctly qualified invocation of QCoreApplication::translate() 2018-12-03 19:05:03 +00:00
calculatorform.ui
calculatorform.ui.h uic: No longer generate static_cast for enum values in legacy forms 2018-12-13 07:11:12 +00:00
certificateinfo.ui
certificateinfo.ui.h uic: Generate correctly qualified invocation of QCoreApplication::translate() 2018-12-03 19:05:03 +00:00
chatdialog.ui
chatdialog.ui.h uic: Generate correctly qualified invocation of QCoreApplication::translate() 2018-12-03 19:05:03 +00:00
chatmainwindow.ui
chatmainwindow.ui.h Remove QGuiAction again and split QAction implementation up instead 2020-03-29 11:18:57 +01:00
chatsetnickname.ui
chatsetnickname.ui.h uic: No longer generate static_cast for enum values in legacy forms 2018-12-13 07:11:12 +00:00
config.ui
config.ui.h uic: Generate correctly qualified invocation of QCoreApplication::translate() 2018-12-03 19:05:03 +00:00
config.ui.py uic/Python: Add imports for Q(Date)Time, QKeySequence 2020-02-06 17:46:21 +01:00
connectdialog.ui
connectdialog.ui.h uic: Generate correctly qualified invocation of QCoreApplication::translate() 2018-12-03 19:05:03 +00:00
controller.ui
controller.ui.h uic: Generate correctly qualified invocation of QCoreApplication::translate() 2018-12-03 19:05:03 +00:00
cookies.ui
cookies.ui.h uic: Generate correctly qualified invocation of QCoreApplication::translate() 2018-12-03 19:05:03 +00:00
cookiesexceptions.ui
cookiesexceptions.ui.h uic: Generate correctly qualified invocation of QCoreApplication::translate() 2018-12-03 19:05:03 +00:00
default.ui
default.ui.h Remove QGuiAction again and split QAction implementation up instead 2020-03-29 11:18:57 +01:00
Dialog_with_Buttons_Bottom.ui
Dialog_with_Buttons_Bottom.ui.h uic: Generate correctly qualified invocation of QCoreApplication::translate() 2018-12-03 19:05:03 +00:00
Dialog_with_Buttons_Right.ui
Dialog_with_Buttons_Right.ui.h uic: Generate correctly qualified invocation of QCoreApplication::translate() 2018-12-03 19:05:03 +00:00
Dialog_without_Buttons.ui
Dialog_without_Buttons.ui.h uic: Generate correctly qualified invocation of QCoreApplication::translate() 2018-12-03 19:05:03 +00:00
dialog.ui uic: Implement form window setting to disable QObject::connectSlotsByName() 2019-07-02 09:15:47 +02:00
dialog.ui.h uic: Implement form window setting to disable QObject::connectSlotsByName() 2019-07-02 09:15:47 +02:00
downloaditem.ui
downloaditem.ui.h uic: Generate correctly qualified invocation of QCoreApplication::translate() 2018-12-03 19:05:03 +00:00
downloads.ui
downloads.ui.h uic: Generate correctly qualified invocation of QCoreApplication::translate() 2018-12-03 19:05:03 +00:00
embeddeddialog.ui
embeddeddialog.ui.h uic: Generate correctly qualified invocation of QCoreApplication::translate() 2018-12-03 19:05:03 +00:00
enumnostdset.ui
enumnostdset.ui.h uic: Generate correctly qualified invocation of QCoreApplication::translate() 2018-12-03 19:05:03 +00:00
filespage.ui
filespage.ui.h uic: Generate correctly qualified invocation of QCoreApplication::translate() 2018-12-03 19:05:03 +00:00
filternamedialog.ui
filternamedialog.ui.h uic: Generate correctly qualified invocation of QCoreApplication::translate() 2018-12-03 19:05:03 +00:00
filterpage.ui
filterpage.ui.h uic: Generate correctly qualified invocation of QCoreApplication::translate() 2018-12-03 19:05:03 +00:00
finddialog.ui
finddialog.ui.h uic: Generate correctly qualified invocation of QCoreApplication::translate() 2018-12-03 19:05:03 +00:00
form.ui
form.ui.h uic: Generate correctly qualified invocation of QCoreApplication::translate() 2018-12-03 19:05:03 +00:00
formwindowsettings.ui
formwindowsettings.ui.h uic: Generate correctly qualified invocation of QCoreApplication::translate() 2018-12-03 19:05:03 +00:00
generalpage.ui
generalpage.ui.h uic: Generate correctly qualified invocation of QCoreApplication::translate() 2018-12-03 19:05:03 +00:00
gridalignment.ui
gridalignment.ui.h uic: Generate correctly qualified invocation of QCoreApplication::translate() 2018-12-03 19:05:03 +00:00
gridpanel.ui
gridpanel.ui.h uic: Generate correctly qualified invocation of QCoreApplication::translate() 2018-12-03 19:05:03 +00:00
helpdialog.ui uic: Fix broken icon code generation 2019-01-23 17:06:59 +00:00
helpdialog.ui.h uic: Fix broken icon code generation 2019-01-23 17:06:59 +00:00
history.ui
history.ui.h uic: Generate correctly qualified invocation of QCoreApplication::translate() 2018-12-03 19:05:03 +00:00
icontheme.ui
icontheme.ui.h uic: Generate correctly qualified invocation of QCoreApplication::translate() 2018-12-03 19:05:03 +00:00
idbased.ui uic: Support id-based translations 2018-01-18 11:31:09 +00:00
idbased.ui.h tst_uic: Brush up the uic autotest 2018-11-13 18:55:30 +00:00
identifierpage.ui
identifierpage.ui.h uic: Generate correctly qualified invocation of QCoreApplication::translate() 2018-12-03 19:05:03 +00:00
imagedialog.ui
imagedialog.ui.h uic: No longer generate static_cast for enum values in legacy forms 2018-12-13 07:11:12 +00:00
inputpage.ui
inputpage.ui.h uic: Generate correctly qualified invocation of QCoreApplication::translate() 2018-12-03 19:05:03 +00:00
installdialog.ui
installdialog.ui.h uic: Generate correctly qualified invocation of QCoreApplication::translate() 2018-12-03 19:05:03 +00:00
languagesdialog.ui
languagesdialog.ui.h uic: Generate correctly qualified invocation of QCoreApplication::translate() 2018-12-03 19:05:03 +00:00
listwidgeteditor.ui
listwidgeteditor.ui.h uic: Generate correctly qualified invocation of QCoreApplication::translate() 2018-12-03 19:05:03 +00:00
Main_Window.ui
Main_Window.ui.h uic: Generate correctly qualified invocation of QCoreApplication::translate() 2018-12-03 19:05:03 +00:00
mainwindow.ui
mainwindow.ui.h Remove QGuiAction again and split QAction implementation up instead 2020-03-29 11:18:57 +01:00
mydialog.ui
mydialog.ui.h uic: Generate correctly qualified invocation of QCoreApplication::translate() 2018-12-03 19:05:03 +00:00
myform.ui
myform.ui.h uic: Generate correctly qualified invocation of QCoreApplication::translate() 2018-12-03 19:05:03 +00:00
newactiondialog.ui
newactiondialog.ui.h uic: Generate correctly qualified invocation of QCoreApplication::translate() 2018-12-03 19:05:03 +00:00
newdynamicpropertydialog.ui
newdynamicpropertydialog.ui.h uic: Generate correctly qualified invocation of QCoreApplication::translate() 2018-12-03 19:05:03 +00:00
newform.ui
newform.ui.h uic: No longer generate static_cast for enum values in legacy forms 2018-12-13 07:11:12 +00:00
orderdialog.ui
orderdialog.ui.h uic: Generate correctly qualified invocation of QCoreApplication::translate() 2018-12-03 19:05:03 +00:00
outputpage.ui
outputpage.ui.h uic: Generate correctly qualified invocation of QCoreApplication::translate() 2018-12-03 19:05:03 +00:00
pagefold.ui
pagefold.ui.h Remove QGuiAction again and split QAction implementation up instead 2020-03-29 11:18:57 +01:00
paletteeditor.ui
paletteeditor.ui.h uic: No longer generate static_cast for enum values in legacy forms 2018-12-13 07:11:12 +00:00
passworddialog.ui
passworddialog.ui.h uic: Generate correctly qualified invocation of QCoreApplication::translate() 2018-12-03 19:05:03 +00:00
pathpage.ui
pathpage.ui.h uic: Generate correctly qualified invocation of QCoreApplication::translate() 2018-12-03 19:05:03 +00:00
phrasebookbox.ui
phrasebookbox.ui.h uic: Generate correctly qualified invocation of QCoreApplication::translate() 2018-12-03 19:05:03 +00:00
pixmapfunction.ui uic: Fix pixmap functions for QIcon 2018-09-06 11:58:40 +00:00
pixmapfunction.ui.h uic: Generate correctly qualified invocation of QCoreApplication::translate() 2018-12-03 19:05:03 +00:00
plugindialog.ui
plugindialog.ui.h uic: Generate correctly qualified invocation of QCoreApplication::translate() 2018-12-03 19:05:03 +00:00
preferencesdialog.ui
preferencesdialog.ui.h uic: Generate correctly qualified invocation of QCoreApplication::translate() 2018-12-03 19:05:03 +00:00
previewconfigurationwidget.ui
previewconfigurationwidget.ui.h uic: Generate correctly qualified invocation of QCoreApplication::translate() 2018-12-03 19:05:03 +00:00
previewdialogbase.ui
previewdialogbase.ui.h uic: No longer generate static_cast for enum values in legacy forms 2018-12-13 07:11:12 +00:00
previewwidget.ui
previewwidget.ui.h uic: No longer generate static_cast for enum values in legacy forms 2018-12-13 07:11:12 +00:00
proxy.ui
proxy.ui.h uic: Generate correctly qualified invocation of QCoreApplication::translate() 2018-12-03 19:05:03 +00:00
qfiledialog.ui
qfiledialog.ui.h uic: Avoid use of Q_UNUSED in the generated code 2019-07-30 09:34:36 +02:00
qpagesetupwidget.ui uic: Fix possible crash when reading the size hint property 2017-06-13 06:56:10 +00:00
qpagesetupwidget.ui.h uic: Generate correctly qualified invocation of QCoreApplication::translate() 2018-12-03 19:05:03 +00:00
qprintpropertieswidget.ui
qprintpropertieswidget.ui.h uic: Generate correctly qualified invocation of QCoreApplication::translate() 2018-12-03 19:05:03 +00:00
qprintsettingsoutput.ui
qprintsettingsoutput.ui.h uic: Generate correctly qualified invocation of QCoreApplication::translate() 2018-12-03 19:05:03 +00:00
qprintwidget.ui
qprintwidget.ui.h uic: Generate correctly qualified invocation of QCoreApplication::translate() 2018-12-03 19:05:03 +00:00
qsqlconnectiondialog.ui
qsqlconnectiondialog.ui.h uic: Generate correctly qualified invocation of QCoreApplication::translate() 2018-12-03 19:05:03 +00:00
qtgradientdialog.ui
qtgradientdialog.ui.h uic: Generate correctly qualified invocation of QCoreApplication::translate() 2018-12-03 19:05:03 +00:00
qtgradienteditor.ui
qtgradienteditor.ui.h uic: Generate correctly qualified invocation of QCoreApplication::translate() 2018-12-03 19:05:03 +00:00
qtgradientview.ui
qtgradientview.ui.h uic: Generate correctly qualified invocation of QCoreApplication::translate() 2018-12-03 19:05:03 +00:00
qtgradientviewdialog.ui
qtgradientviewdialog.ui.h uic: Generate correctly qualified invocation of QCoreApplication::translate() 2018-12-03 19:05:03 +00:00
qtresourceeditordialog.ui
qtresourceeditordialog.ui.h uic: Generate correctly qualified invocation of QCoreApplication::translate() 2018-12-03 19:05:03 +00:00
qttoolbardialog.ui
qttoolbardialog.ui.h uic: Generate correctly qualified invocation of QCoreApplication::translate() 2018-12-03 19:05:03 +00:00
qttrid.ui
qttrid.ui.h Remove QGuiAction again and split QAction implementation up instead 2020-03-29 11:18:57 +01:00
querywidget.ui
querywidget.ui.h uic: Generate correctly qualified invocation of QCoreApplication::translate() 2018-12-03 19:05:03 +00:00
remotecontrol.ui
remotecontrol.ui.h Remove QGuiAction again and split QAction implementation up instead 2020-03-29 11:18:57 +01:00
saveformastemplate.ui
saveformastemplate.ui.h uic: Generate correctly qualified invocation of QCoreApplication::translate() 2018-12-03 19:05:03 +00:00
settings.ui
settings.ui.h uic: Generate correctly qualified invocation of QCoreApplication::translate() 2018-12-03 19:05:03 +00:00
signalslotdialog.ui
signalslotdialog.ui.h uic: Generate correctly qualified invocation of QCoreApplication::translate() 2018-12-03 19:05:03 +00:00
sslclient.ui
sslclient.ui.h uic: Generate correctly qualified invocation of QCoreApplication::translate() 2018-12-03 19:05:03 +00:00
sslerrors.ui
sslerrors.ui.h uic: Generate correctly qualified invocation of QCoreApplication::translate() 2018-12-03 19:05:03 +00:00
statistics.ui
statistics.ui.h uic: Generate correctly qualified invocation of QCoreApplication::translate() 2018-12-03 19:05:03 +00:00
stringlisteditor.ui
stringlisteditor.ui.h uic: Generate correctly qualified invocation of QCoreApplication::translate() 2018-12-03 19:05:03 +00:00
stylesheeteditor.ui
stylesheeteditor.ui.h uic: No longer generate static_cast for enum values in legacy forms 2018-12-13 07:11:12 +00:00
tabbedbrowser.ui
tabbedbrowser.ui.h uic: No longer generate static_cast for enum values in legacy forms 2018-12-13 07:11:12 +00:00
tablewidgeteditor.ui
tablewidgeteditor.ui.h uic: Generate correctly qualified invocation of QCoreApplication::translate() 2018-12-03 19:05:03 +00:00
tetrixwindow.ui
tetrixwindow.ui.h uic: Generate correctly qualified invocation of QCoreApplication::translate() 2018-12-03 19:05:03 +00:00
textfinder.ui
textfinder.ui.h uic: Generate correctly qualified invocation of QCoreApplication::translate() 2018-12-03 19:05:03 +00:00
topicchooser.ui
topicchooser.ui.h uic: Generate correctly qualified invocation of QCoreApplication::translate() 2018-12-03 19:05:03 +00:00
translatedialog.ui
translatedialog.ui.h uic: Generate correctly qualified invocation of QCoreApplication::translate() 2018-12-03 19:05:03 +00:00
translationsettings.ui
translationsettings.ui.h uic: Generate correctly qualified invocation of QCoreApplication::translate() 2018-12-03 19:05:03 +00:00
treewidgeteditor.ui
treewidgeteditor.ui.h uic: Generate correctly qualified invocation of QCoreApplication::translate() 2018-12-03 19:05:03 +00:00
trpreviewtool.ui
trpreviewtool.ui.h Remove QGuiAction again and split QAction implementation up instead 2020-03-29 11:18:57 +01:00
validators.ui
validators.ui.h uic: Generate correctly qualified invocation of QCoreApplication::translate() 2018-12-03 19:05:03 +00:00
wateringconfigdialog.ui
wateringconfigdialog.ui.h uic: Generate correctly qualified invocation of QCoreApplication::translate() 2018-12-03 19:05:03 +00:00
Widget.ui
Widget.ui.h uic: Generate correctly qualified invocation of QCoreApplication::translate() 2018-12-03 19:05:03 +00:00