Can I have more than one line in a table header in Qt?

后端 未结 4 2013
隐瞒了意图╮
隐瞒了意图╮ 2020-12-19 06:40

I\'m using Qt4 and I have a QTableView which displays data using a custom model. I\'d like to have two rows in the table header, ideally with some of the cell

4条回答
  •  青春惊慌失措
    2020-12-19 06:43

    I've had a similar problem regarding the multiple headder lines of a QTableView. I solved it using a simple "\n" in the column header text.

提交回复
热议问题