diff --git a/share/qtcreator/qmldesigner/propertyeditor/Qt/TextInputGroupBox.qml b/share/qtcreator/qmldesigner/propertyeditor/Qt/TextInputGroupBox.qml index 9dda196f5efd21d51b3d51ae8073b3be64c6bdda..ecdc849b7c2f17e2b6468e337bed0c06ab098402 100644 --- a/share/qtcreator/qmldesigner/propertyeditor/Qt/TextInputGroupBox.qml +++ b/share/qtcreator/qmldesigner/propertyeditor/Qt/TextInputGroupBox.qml @@ -13,7 +13,7 @@ GroupBox { visible: isTextInput layout: HorizontalLayout { - Label {text: "Input Mask"} + Label {text: qsTr("Input Mask") } LineEdit { backendValue: backendValues.inputMask @@ -22,6 +22,40 @@ GroupBox { } } + QWidget { + visible: isTextInput + layout: HorizontalLayout { + + Label {text: "Echo Mode"} + + ComboBox { + baseStateFlag: isBaseState + items : { ["Normal", "Password", "PasswordEchoOnEdit", "NoEcho"] } + currentText: backendValues.echoMode.value; + onItemsChanged: { + currentText = backendValues.echoMode.value; + } + backendValue: backendValues.echoMode + } + } + } + + QWidget { + visible: isTextInput + layout: HorizontalLayout { + + Label { + text: qsTr("Pass. Char") + toolTip: qsTr("Password Character") + } + + LineEdit { + backendValue: backendValues.passwordCharacter + baseStateFlag: isBaseState + } + } + } + QWidget { layout: HorizontalLayout { Label {text: qsTr("Flags") }