summaryrefslogtreecommitdiffstats
path: root/tests/auto/widgets/CMakeLists.txt
diff options
context:
space:
mode:
authorVolker Hilsheimer <volker.hilsheimer@qt.io>2022-12-02 17:03:42 +0100
committerVolker Hilsheimer <volker.hilsheimer@qt.io>2022-12-05 19:02:59 +0100
commitf546f3700b376fb25de38958e0ab2ca880f9629a (patch)
treefafa2c1e546828b654b6d42026b68ae25a16441a /tests/auto/widgets/CMakeLists.txt
parentade429af3308e6254f46caf513925f00af42d6c2 (diff)
Fix documentation of QAction's text property
The text of an action is used as the tooltip and iconText unless those are explicitly set, and only then does an '&' mnemonic get stripped. An '&' in the text will generate mnemonic shortcuts in some UI controls, such as menubars, menus, or buttons. Document that in the text property, and add a see-also from the constructor to the relevant properties. As a drive-by, reduce the usage of "widget" in the documentation. QAction now lives in QtGui and can be used by both widget and Qt Quick UIs. Fixes: QTBUG-109060 Fixes: QTBUG-109061 Pick-to: 6.4 6.2 Change-Id: I5e7c2a01b8029f519d7050187e486b667d3cd52b Reviewed-by: Paul Wicking <paul.wicking@qt.io>
Diffstat (limited to 'tests/auto/widgets/CMakeLists.txt')
0 files changed, 0 insertions, 0 deletions