JsonWizard: Document historyId and restoreLastHistoryItem

Change-Id: I5f06fb06cb6766f2f9899bfd2aeadc2198dab1c7
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
This commit is contained in:
Andre Hartmann
2020-04-04 13:48:03 +02:00
committed by André Hartmann
parent a6dad316c2
commit 7c1f7dd431

View File

@@ -785,7 +785,9 @@
"data": "data":
{ {
"trText": "%{BaseCB}", "trText": "%{BaseCB}",
"trDisabledText": "%{BaseCB}" "trDisabledText": "%{BaseCB}",
"historyId": "EditValues",
"restoreLastHistoryItem": false
} }
}, },
\endcode \endcode
@@ -808,6 +810,14 @@
\li \c isPassword is a boolean value that specifies that the line edit \li \c isPassword is a boolean value that specifies that the line edit
contains a password, which will be masked. 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 \endlist
\section2 Path Chooser \section2 Path Chooser