diff options
author | obscuren <geffobscura@gmail.com> | 2014-04-12 12:12:10 +0800 |
---|---|---|
committer | obscuren <geffobscura@gmail.com> | 2014-04-12 12:12:10 +0800 |
commit | ce43a9500f38bae426eef6c3c9d33e006c32c26d (patch) | |
tree | dff150cff9a2b55b1e3dae7128e67893d3f198c8 /ethereal/assets | |
parent | 710bbed1a2c508bcfa48f9a56b55342d4cdc9971 (diff) | |
download | dexon-ce43a9500f38bae426eef6c3c9d33e006c32c26d.tar dexon-ce43a9500f38bae426eef6c3c9d33e006c32c26d.tar.gz dexon-ce43a9500f38bae426eef6c3c9d33e006c32c26d.tar.bz2 dexon-ce43a9500f38bae426eef6c3c9d33e006c32c26d.tar.lz dexon-ce43a9500f38bae426eef6c3c9d33e006c32c26d.tar.xz dexon-ce43a9500f38bae426eef6c3c9d33e006c32c26d.tar.zst dexon-ce43a9500f38bae426eef6c3c9d33e006c32c26d.zip |
Debug steps
Diffstat (limited to 'ethereal/assets')
-rw-r--r-- | ethereal/assets/qml/wallet.qml | 19 |
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() } |