Set the filter function in Labels view.
This commit is contained in:
parent
65230c7954
commit
ba01022d42
@ -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 )
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user