aboutsummaryrefslogtreecommitdiffstats
path: root/ethereal/assets/qml/views
diff options
context:
space:
mode:
Diffstat (limited to 'ethereal/assets/qml/views')
-rw-r--r--ethereal/assets/qml/views/chain.qml4
-rw-r--r--ethereal/assets/qml/views/info.qml10
-rw-r--r--ethereal/assets/qml/views/transaction.qml2
3 files changed, 8 insertions, 8 deletions
diff --git a/ethereal/assets/qml/views/chain.qml b/ethereal/assets/qml/views/chain.qml
index 7ff6ffcec..2b968d56c 100644
--- a/ethereal/assets/qml/views/chain.qml
+++ b/ethereal/assets/qml/views/chain.qml
@@ -145,9 +145,9 @@ Rectangle {
text: "Debug contract"
onClicked: {
if(tx.createsContract){
- ui.startDbWithCode(tx.rawData)
+ eth.startDbWithCode(tx.rawData)
}else {
- ui.startDbWithContractAndData(tx.address, tx.rawData)
+ eth.startDbWithContractAndData(tx.address, tx.rawData)
}
}
}
diff --git a/ethereal/assets/qml/views/info.qml b/ethereal/assets/qml/views/info.qml
index 96b8e4acc..9e05e2f8e 100644
--- a/ethereal/assets/qml/views/info.qml
+++ b/ethereal/assets/qml/views/info.qml
@@ -35,11 +35,11 @@ Rectangle {
text: "Client ID"
}
TextField {
- text: eth.getCustomIdentifier()
+ text: gui.getCustomIdentifier()
width: 500
placeholderText: "Anonymous"
onTextChanged: {
- eth.setCustomIdentifier(text)
+ gui.setCustomIdentifier(text)
}
}
}
@@ -75,7 +75,7 @@ Rectangle {
MouseArea{
anchors.fill: parent
onClicked: {
- eth.registerName(nameToReg.text)
+ gui.registerName(nameToReg.text)
nameToReg.text = ""
}
}
@@ -107,7 +107,7 @@ Rectangle {
Slider {
id: logLevelSlider
- value: eth.getLogLevelInt()
+ value: gui.getLogLevelInt()
anchors {
right: parent.right
top: parent.top
@@ -124,7 +124,7 @@ Rectangle {
stepSize: 1
onValueChanged: {
- eth.setLogLevel(value)
+ gui.setLogLevel(value)
}
}
}
diff --git a/ethereal/assets/qml/views/transaction.qml b/ethereal/assets/qml/views/transaction.qml
index 4ede9e10b..61a1b81cd 100644
--- a/ethereal/assets/qml/views/transaction.qml
+++ b/ethereal/assets/qml/views/transaction.qml
@@ -174,7 +174,7 @@ Rectangle {
onClicked: {
var value = txValue.text + denomModel.get(valueDenom.currentIndex).zeros;
var gasPrice = txGasPrice.text + denomModel.get(gasDenom.currentIndex).zeros;
- var res = eth.create(txFuelRecipient.text, value, txGas.text, gasPrice, codeView.text)
+ var res = gui.create(txFuelRecipient.text, value, txGas.text, gasPrice, codeView.text)
if(res[1]) {
txResult.text = "Your contract <b>could not</b> be sent over the network:\n<b>"
txResult.text += res[1].error()