Model/View with complex data
-
Hello everyone,
New user of Qt, I begin to discover the many possibilities but there is a point which worries me for the project I wish to develop.
The data are stored in a SQL database and, among them, an "object" is distributed in 3 different tables (A, B, C), with references to other tables (X, Y, Z), that can be represented as follows:
One A can have many B and each B can also have unknown numbers of C.
These should be presented to the user in this form:
The view has to be searchable (should show whole "line" if found into), but not sortable. In place editing will be great but not necessary.
I don’t know wich kind of View or Widget I Should use…
Do I need a QTableView with a QSqlRelationnalTableModel ? Or a QTableWidget ?
Maybe a QTree(View/Widget) ? What are QConcatenateTablesProxyModel ? And other Proxy classes ?As you can read, I’m really confused with all this complex part of the Qt Framework… even if I already read lots of tutorials about this.
Thanks for your help, I just need to know how to start my project right so I don't waste too much time.