Hello everyone.
Since I'm a newbie to QT, I would like to hear if someone can guide or help me to explain the issue I have.
What I need is
I have a class of user, which I creating an object with such as:
myuser = new user(id, name, firstname, lastname);
and I'm appending it into a
QList<users> *userList;
userList.append(myuser);
The question is
I'm creating few dummy users and I want to show them in QListView.
Since I'm new to the QT, I read that I need to create a model to show the objects(users) in to the view.
I couldn't find anywhere some good examples that I can follow.
So what I have to do to show the users in QListView or QTable/Tree view?
Bookmarks