Hello jpn
I saw it but i can't understand how to implement it in my code
here is an example code:
ok i got the users displayed in the tree.Qt Code:
Models *model; QTreeView *usersTree; usersTree->setModel(model->usersModel);//usersModel returns a QStandardItemModelTo copy to clipboard, switch view to plain text mode
assume there is a slot btnClicked when i push a button,and inside this slot i have to implement the searching of the selected rows one by one from usersTree,and get their data.
Can someone give me 3-4-5 lines,having in mind the example code, of how to do that?
Thank you
Bookmarks