As RobbieE said in comments QTableView::setSpan()
function does this job very well!
Qt, creating very custom table
Domanda
Hello! I wonder if there is a way of making such kind of table with combined cells using Qt.
Any advices?
Soluzione 2
Altri suggerimenti
You can use QGridLayout
, add QFrame
s and set the rowSpan
and columnSpan
of each item to group cells.
You will have to come up with your own controller, though, for applying data to the cells.
Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow