[PySide] QAbstractTableModel headerData() Qt.BackgroundRole - Ignored?
Ed Lipson
edlipsongm at gmail.com
Fri Apr 9 13:29:58 CEST 2021
How would one set the background color of the QTableView (QtHorizontal
orientation) header? I have tried the 'mail title' action, where I see the
role being used. I just don't get the color.
I used the same concept in data() and the cells take on the background
color as appropriate for the state.
PySide2 5.15.2 Python3.9.1
Thanks,
Ed
PS: Where is it appropriate to ask such questions? JIRA does not have a
question type defined and doing it there may be too much noise in the bug
tracking system.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/pyside/attachments/20210409/e4133656/attachment.html>
More information about the PySide
mailing list