|
|
@ -61,7 +61,7 @@ Component { |
|
|
|
id: txValue |
|
|
|
id: txValue |
|
|
|
width: 200 |
|
|
|
width: 200 |
|
|
|
placeholderText: "Amount" |
|
|
|
placeholderText: "Amount" |
|
|
|
validator: IntValidator { } |
|
|
|
validator: RegExpValidator { regExp: /\d*/ } |
|
|
|
onTextChanged: { |
|
|
|
onTextChanged: { |
|
|
|
contractFormReady() |
|
|
|
contractFormReady() |
|
|
|
} |
|
|
|
} |
|
|
@ -69,7 +69,7 @@ Component { |
|
|
|
TextField { |
|
|
|
TextField { |
|
|
|
id: txGas |
|
|
|
id: txGas |
|
|
|
width: 200 |
|
|
|
width: 200 |
|
|
|
validator: IntValidator { } |
|
|
|
validator: RegExpValidator { regExp: /\d*/ } |
|
|
|
placeholderText: "Gas" |
|
|
|
placeholderText: "Gas" |
|
|
|
onTextChanged: { |
|
|
|
onTextChanged: { |
|
|
|
contractFormReady() |
|
|
|
contractFormReady() |
|
|
@ -79,7 +79,7 @@ Component { |
|
|
|
id: txGasPrice |
|
|
|
id: txGasPrice |
|
|
|
width: 200 |
|
|
|
width: 200 |
|
|
|
placeholderText: "Gas price" |
|
|
|
placeholderText: "Gas price" |
|
|
|
validator: IntValidator { } |
|
|
|
validator: RegExpValidator { regExp: /\d*/ } |
|
|
|
onTextChanged: { |
|
|
|
onTextChanged: { |
|
|
|
contractFormReady() |
|
|
|
contractFormReady() |
|
|
|
} |
|
|
|
} |
|
|
|