Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
How to animate expanding of QListWidgetItem?
bright day last edited by
I have QListWidget, and each item has its own widget (e.g. _listWidget->setItemWidget(itm,lbl)). how can I animate expanding of QListWidgetItem when one is selected?
this, of course, doesn't work, because QListWidgetItem doesn't inherit QWidget
@QListWidgetItem * itm = new QListWidgetItem; ...
QPropertyAnimation * anim = new QPropertyAnimation(itm,"sizeHint",this);