aboutsummaryrefslogtreecommitdiffstats
path: root/ethereal/assets/qml/wallet.qml
diff options
context:
space:
mode:
authorobscuren <geffobscura@gmail.com>2014-04-12 12:12:10 +0800
committerobscuren <geffobscura@gmail.com>2014-04-12 12:12:10 +0800
commitce43a9500f38bae426eef6c3c9d33e006c32c26d (patch)
treedff150cff9a2b55b1e3dae7128e67893d3f198c8 /ethereal/assets/qml/wallet.qml
parent710bbed1a2c508bcfa48f9a56b55342d4cdc9971 (diff)
downloaddexon-ce43a9500f38bae426eef6c3c9d33e006c32c26d.tar.gz
dexon-ce43a9500f38bae426eef6c3c9d33e006c32c26d.tar.zst
dexon-ce43a9500f38bae426eef6c3c9d33e006c32c26d.zip
Debug steps
Diffstat (limited to 'ethereal/assets/qml/wallet.qml')
-rw-r--r--ethereal/assets/qml/wallet.qml19
1 files changed, 17 insertions, 2 deletions
diff --git a/ethereal/assets/qml/wallet.qml b/ethereal/assets/qml/wallet.qml
index 2c8d1f241..22fe96e79 100644
--- a/ethereal/assets/qml/wallet.qml
+++ b/ethereal/assets/qml/wallet.qml
@@ -619,7 +619,18 @@ ApplicationWindow {
width: 800
height: 600
+
+ Item {
+ id: keyHandler
+ focus: true
+ Keys.onPressed: {
+ if (event.key == Qt.Key_Space) {
+ ui.next()
+ }
+ }
+ }
SplitView {
+
anchors.fill: parent
property var asmModel: ListModel {
id: asmModel
@@ -664,10 +675,14 @@ ApplicationWindow {
}
function setAsm(asm) {
- //for(var i = 0; i < asm.length; i++) {
asmModel.append({asm: asm})
- //}
}
+
+ function setInstruction(num) {
+ asmTableView.selection.clear()
+ asmTableView.selection.select(num-1)
+ }
+
function clearAsm() {
asmModel.clear()
}