|
|
@ -412,7 +412,7 @@ PartitionBarsView::isIndexHidden( const QModelIndex& index ) const
|
|
|
|
void
|
|
|
|
void
|
|
|
|
PartitionBarsView::setSelection( const QRect& rect, QItemSelectionModel::SelectionFlags flags )
|
|
|
|
PartitionBarsView::setSelection( const QRect& rect, QItemSelectionModel::SelectionFlags flags )
|
|
|
|
{
|
|
|
|
{
|
|
|
|
selectionModel()->select( indexAt( rect.topLeft() ), flags );
|
|
|
|
selectionModel()->setCurrentIndex( indexAt( rect.topLeft() ), flags );
|
|
|
|
cDebug() << "selected items count:" << selectedIndexes().count();
|
|
|
|
cDebug() << "selected items count:" << selectedIndexes().count();
|
|
|
|
QStringList itemstrings;
|
|
|
|
QStringList itemstrings;
|
|
|
|
foreach( const QModelIndex& ind, selectedIndexes() )
|
|
|
|
foreach( const QModelIndex& ind, selectedIndexes() )
|
|
|
|