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 cells in the first row spanning multiple columns. Is this possible?
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.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With