summaryrefslogtreecommitdiffstats
path: root/tests/auto/widgets/itemviews/qtreewidget
diff options
context:
space:
mode:
authorThorbjørn Lund Martsum <tmartsum@gmail.com>2020-08-03 10:53:30 +0200
committerThorbjørn Lund Martsum <tmartsum@gmail.com>2020-08-13 06:06:51 +0200
commit2002158a13517411ba797788331e8865cca514e5 (patch)
tree42819e31c8d1df093537d9d175128a6b9889b251 /tests/auto/widgets/itemviews/qtreewidget
parent99ce02f692bd9ad59f5e159ce65ef13f4e041a31 (diff)
QHeaderView: create virutal initStyleOptionForIndex function
The paintSection was very long and thus difficult to override. This change makes it far more easy to do custom section painting or styling in the headerview. [ChangeLog][QtWidgets][QHeaderView] Introduced QHeaderView::initStyleOptionForIndex to make it easier to reimplement custom styling and painting of sections. Change-Id: I99e5fe8d70485a4650ab33e3d3eb4a46d6468326 Reviewed-by: Richard Moe Gustavsen <richard.gustavsen@qt.io>
Diffstat (limited to 'tests/auto/widgets/itemviews/qtreewidget')
0 files changed, 0 insertions, 0 deletions