Trolltech Home | Qt-interest Home | Recent Threads | All Threads | Author | Date
All threads index page 10

Qt-interest Archive, March 2002
Insert to QListView as last item?


Message 1 in thread

I would like to insert a new item into a QListView,
but I wanted it inserted at the end of the list instead
of the beginning. Is there a good way to do this?

Thanks,
-- 
 [ signature omitted ] 

Message 2 in thread

You can use constructor with "after" parameter.

    QListViewItem( listview, listview->lastItem() );

Hope this helps.
Shin.