Set the filter function in Labels view.

This commit is contained in:
Teo Mrnjavac 2016-01-15 18:03:48 +01:00
parent 65230c7954
commit ba01022d42

View File

@ -507,6 +507,13 @@ PartitionLabelsView::setSelectionModel( QItemSelectionModel* selectionModel )
} }
void
PartitionLabelsView::setSelectionFilter( SelectionFilter canBeSelected )
{
this->canBeSelected = canBeSelected;
}
QModelIndex QModelIndex
PartitionLabelsView::moveCursor( CursorAction cursorAction, Qt::KeyboardModifiers modifiers ) PartitionLabelsView::moveCursor( CursorAction cursorAction, Qt::KeyboardModifiers modifiers )
{ {