Qt World Summit: Submit your Presentation

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 :

    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

  • Though I have not try it, it seems to me that you shou create your own QAbstractItemDelegte derive class and reimplement paint() where items color property is being changed by any mechanism.'

  • i have item delegate im using as my items

Log in to reply