summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorChristian Kandeler <christian.kandeler@qt.io>2019-08-27 18:08:26 +0200
committerChristian Kandeler <christian.kandeler@qt.io>2019-09-23 12:48:56 +0000
commit4702faba060b879e2caa296a1f0800ebe6b36f22 (patch)
treeb1bee9db62bdefdb8bb8431b29beb93d8c400c0c /doc
parent2e63d2c7d37d76fd6d2b87e37aa52a570e236adf (diff)
downloadqt-creator-4702faba060b879e2caa296a1f0800ebe6b36f22.tar.gz
Wizards: Add the ability to remember user choices
Wizard authors can now provide a persistence key to values where that makes sense. For now, we make use of it for the build system type in all wizards and the minimum Qt version as well as the virtual keyboard settings in the QtQuick wizards. Fixes: QTCREATORBUG-16657 Change-Id: I179930665bd163b1cf198467ab8b43bc72f8ec4a Reviewed-by: Eike Ziller <eike.ziller@qt.io>
Diffstat (limited to 'doc')
-rw-r--r--doc/src/projects/creator-only/creator-projects-custom-wizards-json.qdoc5
1 files changed, 5 insertions, 0 deletions
diff --git a/doc/src/projects/creator-only/creator-projects-custom-wizards-json.qdoc b/doc/src/projects/creator-only/creator-projects-custom-wizards-json.qdoc
index 80fcdaa832..3d29edd0c8 100644
--- a/doc/src/projects/creator-only/creator-projects-custom-wizards-json.qdoc
+++ b/doc/src/projects/creator-only/creator-projects-custom-wizards-json.qdoc
@@ -683,6 +683,11 @@
\li \c trIncompleteMessage is shown when the field's \c isComplete was
evaluated to \c false.
+ \li \c persistenceKey makes the user choice persistent. The value is
+ taken to be a settings key. If the user changes the default
+ value of the widget, the user-provided value is stored and will
+ become the new default value the next time the wizard is run.
+
\li \c data specifies settings for the widget:
\list