aboutsummaryrefslogtreecommitdiffstats
path: root/ethereal/assets/qml/wallet.qml
diff options
context:
space:
mode:
authorMaran <maran.hidskes@gmail.com>2014-04-01 19:18:42 +0800
committerMaran <maran.hidskes@gmail.com>2014-04-01 19:18:42 +0800
commitee5e7f2b350202ed2d2e64265d18d0462bd21c91 (patch)
tree8ea2a6305d58e8d56b16e9869850961b61b7d25c /ethereal/assets/qml/wallet.qml
parenta30f5730b384bf99d23f6e83b356e27a14f961d1 (diff)
parente403b28eea6959c1d0ed003d955df3dee586083b (diff)
downloaddexon-ee5e7f2b350202ed2d2e64265d18d0462bd21c91.tar
dexon-ee5e7f2b350202ed2d2e64265d18d0462bd21c91.tar.gz
dexon-ee5e7f2b350202ed2d2e64265d18d0462bd21c91.tar.bz2
dexon-ee5e7f2b350202ed2d2e64265d18d0462bd21c91.tar.lz
dexon-ee5e7f2b350202ed2d2e64265d18d0462bd21c91.tar.xz
dexon-ee5e7f2b350202ed2d2e64265d18d0462bd21c91.tar.zst
dexon-ee5e7f2b350202ed2d2e64265d18d0462bd21c91.zip
Fix merge conflict
Diffstat (limited to 'ethereal/assets/qml/wallet.qml')
-rw-r--r--ethereal/assets/qml/wallet.qml29
1 files changed, 23 insertions, 6 deletions
diff --git a/ethereal/assets/qml/wallet.qml b/ethereal/assets/qml/wallet.qml
index 7fc7f5447..9093e3ca8 100644
--- a/ethereal/assets/qml/wallet.qml
+++ b/ethereal/assets/qml/wallet.qml
@@ -158,20 +158,35 @@ ApplicationWindow {
anchors.leftMargin: 5
anchors.topMargin: 5
TextField {
- id: txAmount
+ id: txRecipient
+ placeholderText: "Recipient address (or empty for contract)"
+ Layout.fillWidth: true
+ }
+
+ TextField {
+ id: txValue
width: 200
placeholderText: "Amount"
}
-
TextField {
- id: txReceiver
- placeholderText: "Receiver Address (or empty for contract)"
- Layout.fillWidth: true
+ id: txGas
+ width: 200
+ placeholderText: "Gas"
+ anchors.left: txValue
+ anchors.leftMargin: 5
+ }
+ TextField {
+ id: txGasPrice
+ width: 200
+ placeholderText: "Gas price"
+ anchors.left: txGas
+ anchors.leftMargin: 5
}
Label {
text: "Transaction data"
}
+
TextArea {
id: codeView
anchors.topMargin: 5
@@ -180,9 +195,11 @@ ApplicationWindow {
}
Button {
+ id: txButton
text: "Send"
onClicked: {
- console.log(eth.createTx(txReceiver.text, txAmount.text, codeView.text))
+ //this.enabled = false
+ console.log(eth.createTx(txRecipient.text, txValue.text, txGas.text, txGasPrice.text, codeView.text))
}
}
}