Hi
I am using my first QTreeView with QStandardItem and I got it to work as I wanted. I have a list with names and an icon to the left like this, it is a contact list:
(icon) Mike
(icon) Peter
(icon) John
(icon) Steve
What I want is a button aligned to the right on each row in the tree view like this:
(icon) Mike...................(icon2)
So when I click icon2 I will open up a screen with some more info about Mike, his phone no, adress etc. Like on the iPhone.
I have tried to read up on the MVC but I really could use some advice to get over the first threshold since I am a bit confused. What do I need to add to my QTreeView/QStandardModel/QStandardModelItem in order to achive this.
Thanks in advance
Bookmarks