qml: don't use predictive text for fields where it makes no sense
This commit is contained in:
@@ -85,8 +85,12 @@ Pane {
|
|||||||
id: searchEdit
|
id: searchEdit
|
||||||
Layout.fillWidth: true
|
Layout.fillWidth: true
|
||||||
Layout.columnSpan: 3
|
Layout.columnSpan: 3
|
||||||
|
|
||||||
placeholderText: qsTr('search')
|
placeholderText: qsTr('search')
|
||||||
|
inputMethodHints: Qt.ImhNoPredictiveText
|
||||||
|
|
||||||
onTextChanged: listview.filterModel.filterText = text
|
onTextChanged: listview.filterModel.filterText = text
|
||||||
|
|
||||||
Image {
|
Image {
|
||||||
anchors.right: parent.right
|
anchors.right: parent.right
|
||||||
anchors.verticalCenter: parent.verticalCenter
|
anchors.verticalCenter: parent.verticalCenter
|
||||||
|
|||||||
@@ -133,6 +133,7 @@ ElDialog {
|
|||||||
: constants.colorError
|
: constants.colorError
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
RowLayout {
|
RowLayout {
|
||||||
Layout.fillWidth: true
|
Layout.fillWidth: true
|
||||||
ElTextArea {
|
ElTextArea {
|
||||||
@@ -142,6 +143,8 @@ ElDialog {
|
|||||||
Layout.minimumHeight: fontMetrics.lineSpacing * 4 + topPadding + bottomPadding
|
Layout.minimumHeight: fontMetrics.lineSpacing * 4 + topPadding + bottomPadding
|
||||||
font.family: FixedFont
|
font.family: FixedFont
|
||||||
wrapMode: TextInput.Wrap
|
wrapMode: TextInput.Wrap
|
||||||
|
inputMethodHints: Qt.ImhNoPredictiveText
|
||||||
|
|
||||||
background: PaneInsetBackground {
|
background: PaneInsetBackground {
|
||||||
baseColor: _verified == SignVerifyMessageDialog.Check.Unknown
|
baseColor: _verified == SignVerifyMessageDialog.Check.Unknown
|
||||||
? constants.darkerDialogBackground
|
? constants.darkerDialogBackground
|
||||||
|
|||||||
@@ -74,6 +74,7 @@ Item {
|
|||||||
TextField {
|
TextField {
|
||||||
id: address
|
id: address
|
||||||
enabled: proxy_enabled_cb.checked
|
enabled: proxy_enabled_cb.checked
|
||||||
|
inputMethodHints: Qt.ImhNoPredictiveText
|
||||||
}
|
}
|
||||||
|
|
||||||
Label {
|
Label {
|
||||||
@@ -84,6 +85,7 @@ Item {
|
|||||||
TextField {
|
TextField {
|
||||||
id: port
|
id: port
|
||||||
enabled: proxy_enabled_cb.checked
|
enabled: proxy_enabled_cb.checked
|
||||||
|
inputMethodHints: Qt.ImhDigitsOnly
|
||||||
}
|
}
|
||||||
|
|
||||||
Label {
|
Label {
|
||||||
@@ -94,6 +96,7 @@ Item {
|
|||||||
TextField {
|
TextField {
|
||||||
id: username_tf
|
id: username_tf
|
||||||
enabled: proxy_enabled_cb.checked
|
enabled: proxy_enabled_cb.checked
|
||||||
|
inputMethodHints: Qt.ImhNoPredictiveText
|
||||||
}
|
}
|
||||||
|
|
||||||
Label {
|
Label {
|
||||||
|
|||||||
@@ -41,6 +41,7 @@ Item {
|
|||||||
id: address_tf
|
id: address_tf
|
||||||
enabled: !auto_server_cb.checked
|
enabled: !auto_server_cb.checked
|
||||||
width: parent.width
|
width: parent.width
|
||||||
|
inputMethodHints: Qt.ImhNoPredictiveText
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -51,6 +51,8 @@ WizardComponent {
|
|||||||
id: customwordstext
|
id: customwordstext
|
||||||
Layout.fillWidth: true
|
Layout.fillWidth: true
|
||||||
placeholderText: qsTr('Enter your custom word(s)')
|
placeholderText: qsTr('Enter your custom word(s)')
|
||||||
|
inputMethodHints: Qt.ImhNoPredictiveText
|
||||||
|
|
||||||
onTextChanged: checkValid()
|
onTextChanged: checkValid()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -81,6 +81,7 @@ WizardComponent {
|
|||||||
visible: extendcb.checked
|
visible: extendcb.checked
|
||||||
Layout.fillWidth: true
|
Layout.fillWidth: true
|
||||||
placeholderText: qsTr('Enter your custom word(s)')
|
placeholderText: qsTr('Enter your custom word(s)')
|
||||||
|
inputMethodHints: Qt.ImhNoPredictiveText
|
||||||
}
|
}
|
||||||
|
|
||||||
Component.onCompleted : {
|
Component.onCompleted : {
|
||||||
|
|||||||
@@ -231,6 +231,8 @@ WizardComponent {
|
|||||||
Layout.fillWidth: true
|
Layout.fillWidth: true
|
||||||
Layout.columnSpan: 2
|
Layout.columnSpan: 2
|
||||||
placeholderText: qsTr('Enter your custom word(s)')
|
placeholderText: qsTr('Enter your custom word(s)')
|
||||||
|
inputMethodHints: Qt.ImhNoPredictiveText
|
||||||
|
|
||||||
onTextChanged: startValidationTimer()
|
onTextChanged: startValidationTimer()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -171,6 +171,8 @@ WizardComponent {
|
|||||||
id: derivationpathtext
|
id: derivationpathtext
|
||||||
Layout.fillWidth: true
|
Layout.fillWidth: true
|
||||||
Layout.leftMargin: constants.paddingMedium
|
Layout.leftMargin: constants.paddingMedium
|
||||||
|
inputMethodHints: Qt.ImhNoPredictiveText
|
||||||
|
|
||||||
onTextChanged: validate()
|
onTextChanged: validate()
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -18,6 +18,7 @@ WizardComponent {
|
|||||||
id: wallet_name
|
id: wallet_name
|
||||||
focus: true
|
focus: true
|
||||||
text: Daemon.suggestWalletName()
|
text: Daemon.suggestWalletName()
|
||||||
|
inputMethodHints: Qt.ImhNoPredictiveText
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user