It is important, because if you used SQL, you could use one of existing sql-based models Qt4 provides.Originally Posted by mira
If your model is simple, you can subclass QStandardItemModel (or use it directly). And then just set the model to QTableView and you're done. If your model is complex you should subclass QAbstractTableModel.I have stored data in program in vector container (from C++) hier it is names "people".
I readed assistant with examples here model/view programming, but no one directly working with table. maybe this "chart"
my general problem is that i have table in new widget, not in mainwidow pgm
Bookmarks