how to animate expanding of QListWidgetItem?
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
- QPropertyAnimation * anim = new QPropertyAnimation(itm,"sizeHint",this);
- ...
- anim->start();
0 replies
You must log in to post a reply. Not a member yet? Register here!
