QTableView add row
Hi guys,
i tried in various way to add row in QTableView without using QSqlQueryModel.
I'd like to create a table then for each row is describes in 3 colums:
Code:
______________________________________________________ _________ | | Nane: ..... _________ | IMAGE | Description: ........ | button | | | |____ok___| |________| ______________________________________________________
for image i use a QLabel, and i'd like to use the same thing for Name and Description, But I don't know how create a model for rows, and insert data..
Someone can help me?
Thanks.
