سؤال

enter image description here

Hello! I wonder if there is a way of making such kind of table with combined cells using Qt.

Any advices?

هل كانت مفيدة؟

المحلول 2

As RobbieE said in comments QTableView::setSpan() function does this job very well!

نصائح أخرى

You can use QGridLayout, add QFrames 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.

enter image description here

مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى StackOverflow
scroll top