We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5b73cd1 commit 7541a82Copy full SHA for 7541a82
1 file changed
src/FilterTableHeader.cpp
@@ -17,6 +17,9 @@ FilterTableHeader::FilterTableHeader(QTableView* parent) :
17
// Make sure to not automatically resize the columns according to the contents
18
setSectionResizeMode(QHeaderView::Interactive);
19
20
+ // Highlight column headers of selected cells to emulate spreadsheet behaviour
21
+ setHighlightSections(true);
22
+
23
// Do some connects: Basically just resize and reposition the input widgets whenever anything changes
24
connect(this, &FilterTableHeader::sectionResized, this, &FilterTableHeader::adjustPositions);
25
connect(parent->horizontalScrollBar(), &QScrollBar::valueChanged, this, &FilterTableHeader::adjustPositions);
0 commit comments