Fix documentation that claims that QStyleHints is read only

Most properties are, but some properties (such as useHoverEffects or
showShortcutsInContextMenus) can be set by the application.

Pick-to: 6.3 6.2
Change-Id: Ia6e0563a892f26456d595026f6c82502a9e888da
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
This commit is contained in:
Volker Hilsheimer 2022-05-20 22:53:04 +02:00
parent 1a0eb4fa01
commit fb9b452f18

View File

@ -71,11 +71,10 @@ public:
An object of this class, obtained from QGuiApplication, provides access to certain global
user interface parameters of the current platform.
Access is read only; typically the platform itself provides the user a way to tune these
parameters.
Access to these parameters are useful when implementing custom user interface components, in that
they allow the components to exhibit the same behaviour and feel as other components.
Access to most settings is read only. The platform itself usually provides the user with
ways to tune these parameters. Authors of custom user interface components should read
relevant settings to allow the components to exhibit the same behavior and feel as other
components.
\sa QGuiApplication::styleHints()
*/