mirror of
https://github.com/sqlitebrowser/sqlitebrowser.git
synced 2026-01-20 02:50:46 -06:00
resize multiple (selected) cols in Browse Data tab
This commit is contained in:
@@ -117,3 +117,11 @@ int ExtendedTableWidget::numVisibleRows()
|
||||
// Calculate the number of visible rows
|
||||
return row_bottom - row_top;
|
||||
}
|
||||
|
||||
QSet<int> ExtendedTableWidget::selectedCols()
|
||||
{
|
||||
QSet<int> selectedCols;
|
||||
foreach(const QModelIndex & idx, selectedIndexes())
|
||||
selectedCols.insert(idx.column());
|
||||
return selectedCols;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user