Hi.
I want to use the data from a QSqlQueryModel into a QTreeView. But modeling the data into a tree with QProxyModel.
The SQL (create table) code is:
Qt Code:
CREATE TABLE categories( id INTEGER PRIMARY KEY, parent INTEGER, image VARCHAR(128), name VARCHAR(32) )To copy to clipboard, switch view to plain text mode
parent has the id of the parent
Thanks
Bookmarks