PDA

View Full Version : How to make a QTableWidgetItem occupy multiple rows and/or columns in a QTableWidget?



Momergil
22nd January 2014, 22:26
Hello!

I guess this time I don't need to give more explanations :) The question is entirely in the title, a problem for which I simply couldn't find anything about in the Qt Assistant.


Thanks for any help,

Momergil

ChrisW67
22nd January 2014, 23:29
QTableView::setSpan()

Momergil
23rd January 2014, 03:01
QTableView::setSpan()

And what about QTableWidget? Or is there a way to implement this QTableView method in a QTableWidget (can't think how)?

anda_skoa
23rd January 2014, 08:35
A QTableWidget is a QTableView

Cheers,
_

Momergil
23rd January 2014, 17:23
A QTableWidget is a QTableView

Cheers,
_

Good point ;)


Thanks anda_skoa and Chris,

Momergil

Momergil
24th January 2014, 01:22
Ok, now how I do that with headers? :)