mirror of
https://github.com/sqlitebrowser/sqlitebrowser.git
synced 2026-01-20 11:00:44 -06:00
Move filter header from window to table widget and show sort indicators
Move the FilterTableHeader object from the MainWindow to the ExtendedTableWidget class because it actually is a part of the latter, not the former. Show sort order arrows in the table header of the Browse Data tab after clicking it.
This commit is contained in:
@@ -14,6 +14,8 @@ FilterTableHeader::FilterTableHeader(QTableView* parent) :
|
||||
setClickable(true);
|
||||
#endif
|
||||
|
||||
setSortIndicatorShown(true);
|
||||
|
||||
// Do some connects: Basically just resize and reposition the input widgets whenever anything changes
|
||||
connect(this, SIGNAL(sectionResized(int,int,int)), this, SLOT(adjustPositions()));
|
||||
connect(parent->horizontalScrollBar(), SIGNAL(valueChanged(int)), this, SLOT(adjustPositions()));
|
||||
|
||||
Reference in New Issue
Block a user