I am using QT library and I need to show a table of tables, and data in each sub-table Need to sort
for some exams like this (2x2 table 3x3 tables)
sub 1 | Sub 2 ------------------------- | I 0 | 0 | C. 0 | 0 | S ------------------------- U J. 0 | 0 | D | 0 | 0 | B ------------------------- 1. K | 0 | 0 | E 0 | 0 | ------------------------------- | One | 0 | 0 | C. 0 | 0 | ------------------------- S | B 0 | 0 | D | 0 | 0 | U ------------------------- B C. 0 | 0 | E 0 | 0 | 2 ------------------------- No solution is welcome.
ps My idea is to apply the custom model of the 2D head of the model
You can use the method Nest can do QTableView example. The data structure you use is to maintain the QAbstractTableModel instance, unless each QTableView is assigned the appropriate model example.
Comments
Post a Comment