add input method hints
This commit is contained in:
@@ -39,6 +39,7 @@ Pane {
|
|||||||
id: amount
|
id: amount
|
||||||
font.family: FixedFont
|
font.family: FixedFont
|
||||||
Layout.fillWidth: true
|
Layout.fillWidth: true
|
||||||
|
inputMethodHints: Qt.ImhPreferNumbers
|
||||||
}
|
}
|
||||||
|
|
||||||
Label {
|
Label {
|
||||||
@@ -82,6 +83,7 @@ Pane {
|
|||||||
id: amountFiat
|
id: amountFiat
|
||||||
font.family: FixedFont
|
font.family: FixedFont
|
||||||
Layout.fillWidth: true
|
Layout.fillWidth: true
|
||||||
|
inputMethodHints: Qt.ImhDigitsOnly
|
||||||
}
|
}
|
||||||
|
|
||||||
Label {
|
Label {
|
||||||
|
|||||||
@@ -7,11 +7,12 @@ TextArea {
|
|||||||
id: seedtext
|
id: seedtext
|
||||||
Layout.fillWidth: true
|
Layout.fillWidth: true
|
||||||
Layout.minimumHeight: 80
|
Layout.minimumHeight: 80
|
||||||
rightPadding: 16
|
rightPadding: constants.paddingLarge
|
||||||
leftPadding: 16
|
leftPadding: constants.paddingLarge
|
||||||
wrapMode: TextInput.WordWrap
|
wrapMode: TextInput.WordWrap
|
||||||
font.bold: true
|
font.bold: true
|
||||||
font.pixelSize: 18
|
font.pixelSize: constants.fontSizeLarge
|
||||||
|
inputMethodHints: Qt.ImhSensitiveData | Qt.ImhPreferLowercase | Qt.ImhNoPredictiveText
|
||||||
background: Rectangle {
|
background: Rectangle {
|
||||||
color: "transparent"
|
color: "transparent"
|
||||||
border.color: Material.accentColor
|
border.color: Material.accentColor
|
||||||
|
|||||||
@@ -42,6 +42,7 @@ Pane {
|
|||||||
id: amount
|
id: amount
|
||||||
font.family: FixedFont
|
font.family: FixedFont
|
||||||
placeholderText: qsTr('Amount')
|
placeholderText: qsTr('Amount')
|
||||||
|
inputMethodHints: Qt.ImhPreferNumbers
|
||||||
}
|
}
|
||||||
|
|
||||||
Label {
|
Label {
|
||||||
|
|||||||
Reference in New Issue
Block a user