Quote Originally Posted by mira
I didnt use some kind of SQL database, i stored data into ordinary *.txt file, but i mean that this in not important!!!
It is important, because if you used SQL, you could use one of existing sql-based models Qt4 provides.

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
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.