1
0

qml: don't use predictive text for fields where it makes no sense

This commit is contained in:
Sander van Grieken
2023-12-29 16:18:03 +01:00
parent 3935e378b3
commit 92bff08ba5
9 changed files with 19 additions and 0 deletions

View File

@@ -85,8 +85,12 @@ Pane {
id: searchEdit
Layout.fillWidth: true
Layout.columnSpan: 3
placeholderText: qsTr('search')
inputMethodHints: Qt.ImhNoPredictiveText
onTextChanged: listview.filterModel.filterText = text
Image {
anchors.right: parent.right
anchors.verticalCenter: parent.verticalCenter

View File

@@ -133,6 +133,7 @@ ElDialog {
: constants.colorError
}
}
RowLayout {
Layout.fillWidth: true
ElTextArea {
@@ -142,6 +143,8 @@ ElDialog {
Layout.minimumHeight: fontMetrics.lineSpacing * 4 + topPadding + bottomPadding
font.family: FixedFont
wrapMode: TextInput.Wrap
inputMethodHints: Qt.ImhNoPredictiveText
background: PaneInsetBackground {
baseColor: _verified == SignVerifyMessageDialog.Check.Unknown
? constants.darkerDialogBackground

View File

@@ -74,6 +74,7 @@ Item {
TextField {
id: address
enabled: proxy_enabled_cb.checked
inputMethodHints: Qt.ImhNoPredictiveText
}
Label {
@@ -84,6 +85,7 @@ Item {
TextField {
id: port
enabled: proxy_enabled_cb.checked
inputMethodHints: Qt.ImhDigitsOnly
}
Label {
@@ -94,6 +96,7 @@ Item {
TextField {
id: username_tf
enabled: proxy_enabled_cb.checked
inputMethodHints: Qt.ImhNoPredictiveText
}
Label {

View File

@@ -41,6 +41,7 @@ Item {
id: address_tf
enabled: !auto_server_cb.checked
width: parent.width
inputMethodHints: Qt.ImhNoPredictiveText
}
}

View File

@@ -51,6 +51,8 @@ WizardComponent {
id: customwordstext
Layout.fillWidth: true
placeholderText: qsTr('Enter your custom word(s)')
inputMethodHints: Qt.ImhNoPredictiveText
onTextChanged: checkValid()
}
}

View File

@@ -81,6 +81,7 @@ WizardComponent {
visible: extendcb.checked
Layout.fillWidth: true
placeholderText: qsTr('Enter your custom word(s)')
inputMethodHints: Qt.ImhNoPredictiveText
}
Component.onCompleted : {

View File

@@ -231,6 +231,8 @@ WizardComponent {
Layout.fillWidth: true
Layout.columnSpan: 2
placeholderText: qsTr('Enter your custom word(s)')
inputMethodHints: Qt.ImhNoPredictiveText
onTextChanged: startValidationTimer()
}
}

View File

@@ -171,6 +171,8 @@ WizardComponent {
id: derivationpathtext
Layout.fillWidth: true
Layout.leftMargin: constants.paddingMedium
inputMethodHints: Qt.ImhNoPredictiveText
onTextChanged: validate()
}

View File

@@ -18,6 +18,7 @@ WizardComponent {
id: wallet_name
focus: true
text: Daemon.suggestWalletName()
inputMethodHints: Qt.ImhNoPredictiveText
}
}