Details
-
Suggestion
-
Resolution: Fixed
-
P2: Important
-
5.13.0
-
-
96c27eb710a37780e79e09df2ebce1d5e4922c9d
Description
It seems that there is no way to revert background colour to default for headers of QTableWidget. Like, if the user is changing color by
table->verticalHeaderItem(0)->setBackground(QBrush(Qt::red));
then there is no way to revert it to default depending on style.
setBackground(QBrush()) helps with "Windows" style, but with "Fusion", QBrush() is not helping.
The same applies for QListWidget and QTreeWidget
Attachments
Issue Links
- duplicates
-
QTBUG-35944 Setting QTreeWidgetItem::foreground() back to default doesn't obey 'disabled' coloring
- Closed
For Gerrit Dashboard: QTBUG-76423 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
266286,10 | QList/Table/TreeWidgetItem: Allow reseting values by passing the default value | 5.15 | qt/qtbase | Status: MERGED | +2 | 0 |