Oh, I definitely agree that there can be value in a proxy approach.
I am just saying that it usually is more complex than making the actual model already do the right thing.
Cheers,
_
Oh, I definitely agree that there can be value in a proxy approach.
I am just saying that it usually is more complex than making the actual model already do the right thing.
Cheers,
_
Hi guys, thank you all for your help . I simply implemented a standardItemModel and everything is ok now. I think proxymodel is a bir complex for my level.
Cheers :-)
Hello!!!I have exactly the same problem like you had.May I ask you,how exactly did you load the database into the QTreeView??I have already done the tree view without any data and I have already done the database but I don't know how to load it into my gui and how to work with this data!I guess I should use QTreeView, QSqlQuery and QAbstractItemModel like you said but I honestly have no idea how to implement this.I would really appreciate any kind of help!
Last edited by spokV; 26th March 2015 at 02:19.
Bookmarks