Commit 5f3b82e2 authored by Thomas Hartmann's avatar Thomas Hartmann
Browse files

QmlDesigner.propertyEditor support for echoMode

parent 1387ee81
......@@ -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") }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment