summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Teske <qt@squorn.de>2017-06-27 15:06:24 +0200
committerDaniel Teske <qt@squorn.de>2017-07-03 12:28:35 +0000
commit00b8050d68c337f02713d3c353ded9de094eda79 (patch)
tree373c708b65947888660df562a4a41e0988a195b7
parentdb6e357d4806d707368fc7c4694c6a7ab8e702af (diff)
QLineEdit: Document that []{} are reserved in Input Masks
They don't have any meaning, seems like they were meant for a future extension. Documenting them, documents that they need to be escaped. Change-Id: I90079766ffd45fab8c4676f7a9212ff6dec4a732 Reviewed-by: Topi Reiniƶ <topi.reinio@qt.io>
-rw-r--r--src/widgets/widgets/qlineedit.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/widgets/widgets/qlineedit.cpp b/src/widgets/widgets/qlineedit.cpp
index fa78b9203c..b9b50c307b 100644
--- a/src/widgets/widgets/qlineedit.cpp
+++ b/src/widgets/widgets/qlineedit.cpp
@@ -1186,6 +1186,7 @@ QMargins QLineEdit::textMargins() const
\row \li \c > \li All following alphabetic characters are uppercased.
\row \li \c < \li All following alphabetic characters are lowercased.
\row \li \c ! \li Switch off case conversion.
+ \row \li \c {[ ] { }} \li Reserved.
\row \li \tt{\\} \li Use \tt{\\} to escape the special
characters listed above to use them as
separators.