diff options
Diffstat (limited to 'ethereal/assets/qml')
-rw-r--r-- | ethereal/assets/qml/views/chain.qml | 4 | ||||
-rw-r--r-- | ethereal/assets/qml/views/info.qml | 10 | ||||
-rw-r--r-- | ethereal/assets/qml/views/transaction.qml | 2 | ||||
-rw-r--r-- | ethereal/assets/qml/wallet.qml | 8 |
4 files changed, 12 insertions, 12 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() diff --git a/ethereal/assets/qml/wallet.qml b/ethereal/assets/qml/wallet.qml index b3fda0a58..10cbe5c1e 100644 --- a/ethereal/assets/qml/wallet.qml +++ b/ethereal/assets/qml/wallet.qml @@ -26,7 +26,7 @@ ApplicationWindow { var pendingTxView = addPlugin("./views/pending_tx.qml") // Call the ready handler - eth.done() + gui.done() } function addPlugin(path, options) { @@ -111,7 +111,7 @@ ApplicationWindow { text: "Run JS file" onTriggered: { generalFileDialog.callback = function(path) { - eth.evalJavascriptFile(path) + lib.evalJavascriptFile(path) } generalFileDialog.open() } @@ -155,7 +155,7 @@ ApplicationWindow { id: miningButton text: "Start Mining" onClicked: { - eth.toggleMining() + gui.toggleMining() } } @@ -456,7 +456,7 @@ ApplicationWindow { anchors.leftMargin: 5 text: "Import" onClicked: { - eth.importTx(txImportField.text) + lib.importTx(txImportField.text) txImportField.visible = false } } |