diff options
author | Volker Hilsheimer <volker.hilsheimer@qt.io> | 2022-12-02 17:03:42 +0100 |
---|---|---|
committer | Volker Hilsheimer <volker.hilsheimer@qt.io> | 2022-12-05 19:02:59 +0100 |
commit | f546f3700b376fb25de38958e0ab2ca880f9629a (patch) | |
tree | fafa2c1e546828b654b6d42026b68ae25a16441a /src/widgets/doc/src/cmake-macros.qdoc | |
parent | ade429af3308e6254f46caf513925f00af42d6c2 (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 'src/widgets/doc/src/cmake-macros.qdoc')
0 files changed, 0 insertions, 0 deletions