21 #include <QApplication>
27 using namespace YACS::HMI;
36 if (e->type() == QEvent::ShortcutOverride)
41 return QTableView::event(e);
46 QModelIndex ix = currentIndex();
49 return QTableView::moveCursor(cursorAction, modifiers);
51 if(cursorAction==QAbstractItemView::MoveNext || cursorAction==QAbstractItemView::MovePrevious)
54 QModelIndex parent=ix.parent();
55 int rowCount=model()->rowCount(parent);
59 if(cursorAction==QAbstractItemView::MoveNext)
74 return model()->index(row, ix.column(), parent);
76 return QTableView::moveCursor(cursorAction, modifiers);