PDA

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



Momergil
22nd January 2014, 23: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
23rd January 2014, 00:29
QTableView::setSpan()

Momergil
23rd January 2014, 04: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, 09:35
A QTableWidget is a QTableView

Cheers,
_

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

Cheers,
_

Good point ;)


Thanks anda_skoa and Chris,

Momergil

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