blob: e430c3937b572d4e18728011abdc04f6833c43c8 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
#include "vmtree.h"
#include <QDebug>
#include <QAbstractItemView>
#include <QEvent>
#include <QKeyEvent>
void VmTree::cursorDown() {
QKeyEvent* e = new QKeyEvent ( QEvent::KeyPress, Qt::Key_Down, Qt::NoModifier);
event(e);
}
void VmTree::cursorUp() {
QKeyEvent* e = new QKeyEvent ( QEvent::KeyPress, Qt::Key_Up, Qt::NoModifier);
event(e);
}
|