Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
how to phase out the labels and the data in a QTableView
aftalib last edited by
hi, im working on a QTableView and i would like the labels and the things that are below it to be phased out (not aligned) like in my screenshot right there :
is there a way to do this in qt ? i thought about setting the width of my rows below but there is no method SetRowWidth unfortunately. any ideas ?
thank you in advance
One possible source of ideas could be the Frozen Column example.
gde23 last edited by
Also one possibility would be to set the span (via setSpan()) of the cells to something like this:
0 - 1 | 2 - 3 | 4 - 5
0 | 1 - 2 | 3 - 4 | 5
then you have always two cells that are combined, with one cell offset.