Qt-interest Archive, March 2002
Insert to QListView as last item?
Message 1 in thread
- Subject: Insert to QListView as last item?
- From: Jeff Shipman <shippy@xxxxxxx>
- Date: Wed, 27 Mar 2002 20:02:19 -0700
- Organization: New Mexico Institute of Mining and Technology
- To: Qt Mailing List <qt-interest@xxxxxxxxxxxxx>
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.