JSON wizards: Fix documentation of shared properties of all fields

"data" is only used for the widget type specific options.

Change-Id: Ie9b68cc22d84dff00e0a59f888cff0270b0f1e5f
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
This commit is contained in:
Eike Ziller
2022-03-15 13:03:26 +01:00
parent 2d3d66c115
commit 0648b7547a

View File

@@ -659,28 +659,22 @@
value of the widget, the user-provided value is stored and will value of the widget, the user-provided value is stored and will
become the new default value the next time the wizard is run. become the new default value the next time the wizard is run.
\li \c data specifies settings for the widget: \li \c visible is set to \c true if the widget is visible, otherwise
it is set to \c false. By default, it is set to \c true.
\list \li \c enabled is set to \c true if the widget is enabled, otherwise
it is set to \c false. By default, it is set to \c true.
\li \c visible is set to \c true if the widget is visible, otherwise \li \c mandatory is set to \c true if this widget must have a value
it is set to \c false. By default, it is set to \c true. for the \uicontrol Next button to become enabled. By default, it
is set to \c true.
\li \c enabled is set to \c true if the widget is enabled, otherwise \li \c span is set to hide the label and to span the form. By
it is set to \c false. By default, it is set to \c true. default, it is set to \c false. For more information, see
\l{Using Variables in Wizards}.
\li \c mandatory is set to \c true if this widget must have a value \li \c data specifies additional settings for the particular widget type, as described
for the \uicontrol Next button to become enabled. By default, it in the following sections.
is set to \c true.
\li \c span is set to hide the label and to span the form. By
default, it is set to \c false. For more information, see
\l{Using Variables in Wizards}.
\endlist
The additional settings available for a particular widget are described
in the following sections.
\endlist \endlist