Saturday, July 5th 2008, 2:30pm UTC+1

You are not logged in.

  • Login
  • Register

Dear visitor, welcome to QtForum.org. If this is your first visit here, please read the Help. It explains how this page works. You must be registered before you can use all the page's features. Please use the registration form, to register here or read more information about the registration process. If you are already registered, please login here.

xbee

Beginner

1

Saturday, May 10th 2008, 11:19pm

Update a QListView

Hi all,
I've a little problem with the model/view programming. I've created a simple QStringList model and set it in a QListView and all the element available are displayed. But when I try to add some new elements dynamically to my list, nothing appear on the QListView widget. How can I update/refresh my model or my view ?

Thanks
  • Go to the top of the page

xbee

Beginner

2

Sunday, May 11th 2008, 4:43pm

RE: Update a QListView

I think the good function for my purpose is the reset() model function.
  • Go to the top of the page

Rate this thread