I need to use QTableWidget to create what us old timers call a control break report. Yes, it has to be a table, not just a text thing or a list. There are other things we wish to be able to do and columns are a nice way of getting alignment across languages and fonts. The database has millions of rows and we will only display 30 or so at a time for obvious reasons. Since many of you reading this may be kids who never had a report writing or logic course I will try to draw it a bit here.


some-long-multi-cell-here-which-repeats-occasionally
xxxx xxxx xxxx xxxx xxxx xxxx xxxx
xxxx xxxx xxxx xxxx
xxxx xxxx xxxx xxxx
xxxx xxxx xxxx xxxx xxxx xxxx
xxxx xxxx xxxx xxxx
xxxx xxxx xxxx xxxx xxxx xxxx xxxx

I don't believe the empty cells will be a problem given a custom model. I'm trying to avoid having to do a custom item delegate just to get that dynamic cell spanning though. Any ideas?