Fadein effect in QListView adding items , how do i implement the example?
-
Hello
im trying to implement fade in effect when i add items to QListView .
im using the standard setup of model in the QListView. and adding item in balk with beginInsertRows and endInsertRows(); like this :
@beginInsertRows(QModelIndex(),StreamItemList.size(),StreamItemList.size());
StreamItems.append(StreamItemList);
endInsertRows();where StreamItemList is QList<StreamItem*>@
and calling this method from outside class. that collects the items in to QList.
now im looking into this "example ":http://labs.qt.nokia.com/2007/08/21/fade-effects-a-blast-from-the-past/
and can't figure out how to implement the faderwidget to start on each item added to the like via beginInsertRows