/*****************************************
* The TreeView showing the Buffers
*****************************************/
/*****************************************
* The TreeView showing the Buffers
*****************************************/
int rowDelta = ( event->delta() > 0 ) ? -1 : 1;
QModelIndex currentIndex = selectionModel()->currentIndex();
QModelIndex resultingIndex;
int rowDelta = ( event->delta() > 0 ) ? -1 : 1;
QModelIndex currentIndex = selectionModel()->currentIndex();
QModelIndex resultingIndex;
}
selectionModel()->setCurrentIndex( resultingIndex, QItemSelectionModel::ClearAndSelect | QItemSelectionModel::Rows );
selectionModel()->select( resultingIndex, QItemSelectionModel::ClearAndSelect );
}
selectionModel()->setCurrentIndex( resultingIndex, QItemSelectionModel::ClearAndSelect | QItemSelectionModel::Rows );
selectionModel()->select( resultingIndex, QItemSelectionModel::ClearAndSelect );