aboutsummaryrefslogtreecommitdiffstats
path: root/ethereal/assets/qml/views/chain.qml
diff options
context:
space:
mode:
authorobscuren <geffobscura@gmail.com>2014-08-18 03:07:09 +0800
committerobscuren <geffobscura@gmail.com>2014-08-18 03:07:09 +0800
commit5ae3deea86a4916eee07b30195da280957e2fd2f (patch)
treeb7b9d67949287fb1fa9570450c90c07eefa9cf05 /ethereal/assets/qml/views/chain.qml
parent88655439a017ea74041d022a9f23a919d27f51e2 (diff)
downloaddexon-5ae3deea86a4916eee07b30195da280957e2fd2f.tar
dexon-5ae3deea86a4916eee07b30195da280957e2fd2f.tar.gz
dexon-5ae3deea86a4916eee07b30195da280957e2fd2f.tar.bz2
dexon-5ae3deea86a4916eee07b30195da280957e2fd2f.tar.lz
dexon-5ae3deea86a4916eee07b30195da280957e2fd2f.tar.xz
dexon-5ae3deea86a4916eee07b30195da280957e2fd2f.tar.zst
dexon-5ae3deea86a4916eee07b30195da280957e2fd2f.zip
New menu
Diffstat (limited to 'ethereal/assets/qml/views/chain.qml')
-rw-r--r--ethereal/assets/qml/views/chain.qml7
1 files changed, 7 insertions, 0 deletions
diff --git a/ethereal/assets/qml/views/chain.qml b/ethereal/assets/qml/views/chain.qml
index 9fbc02954..b94d9edca 100644
--- a/ethereal/assets/qml/views/chain.qml
+++ b/ethereal/assets/qml/views/chain.qml
@@ -7,8 +7,11 @@ import QtQuick.Controls.Styles 1.1
import Ethereum 1.0
Rectangle {
+ id: root
property var title: "Network"
property var iconFile: "../net.png"
+ property var secondary: "Hi"
+ property var menuItem
objectName: "chainView"
visible: false
@@ -93,6 +96,8 @@ Rectangle {
}
}
+
+
function addBlock(block, initial) {
var txs = JSON.parse(block.transactions);
var amount = 0
@@ -109,6 +114,8 @@ Rectangle {
} else {
blockModel.insert(0, {number: block.number, name: block.name, gasLimit: block.gasLimit, gasUsed: block.gasUsed, coinbase: block.coinbase, hash: block.hash, txs: txs, txAmount: amount, time: block.time, prettyTime: convertToPretty(block.time)})
}
+
+ //root.secondary.text = "#" + block.number;
}
Window {