From 7c1f7dd431e864cb841afbc7e994d831034c1ec2 Mon Sep 17 00:00:00 2001 From: Andre Hartmann Date: Sat, 4 Apr 2020 13:48:03 +0200 Subject: [PATCH] JsonWizard: Document historyId and restoreLastHistoryItem Change-Id: I5f06fb06cb6766f2f9899bfd2aeadc2198dab1c7 Reviewed-by: Orgad Shaneh Reviewed-by: Christian Kandeler --- .../creator-projects-custom-wizards-json.qdocinc | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/doc/qtcreator/src/projects/creator-only/creator-projects-custom-wizards-json.qdocinc b/doc/qtcreator/src/projects/creator-only/creator-projects-custom-wizards-json.qdocinc index b53d8e9b92f..3ef9ff43b9c 100644 --- a/doc/qtcreator/src/projects/creator-only/creator-projects-custom-wizards-json.qdocinc +++ b/doc/qtcreator/src/projects/creator-only/creator-projects-custom-wizards-json.qdocinc @@ -785,7 +785,9 @@ "data": { "trText": "%{BaseCB}", - "trDisabledText": "%{BaseCB}" + "trDisabledText": "%{BaseCB}", + "historyId": "EditValues", + "restoreLastHistoryItem": false } }, \endcode @@ -808,6 +810,14 @@ \li \c isPassword is a boolean value that specifies that the line edit contains a password, which will be masked. + \li \c historyId is a key that specifies the name for a list of items + for the history completer. + + \li \c restoreLastHistoryItem is a boolean that specifies that the + last history item is automatically set as the default text in + the line edit. This key can only be set to true if \c historyId + is also set. + \endlist \section2 Path Chooser