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:
Qt Code:
______________________________________________________ _________ | | Nane: ..... _________ | IMAGE | Description: ........ | button | | | |____ok___| |________| ______________________________________________________To copy to clipboard, switch view to plain text mode
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.
Bookmarks