Home > Back-end >  Qt interface problem do you want to be more smooth
Qt interface problem do you want to be more smooth

Time:10-09

I want to do just learning QT a similar QQ group bulletin board just click on the button which drop-down out
I think should use QPropertyAnimation mobile is no problem but how to put it is not necessary to display in the process of moving things out!
Animation=new QPropertyAnimation (this, "pos");
Animation - & gt; SetDuration (10000);
Animation - & gt; SetKeyValueAt (0, QPoint (0-486));
Animation - & gt; SetKeyValueAt (1, QPoint (0, 0));
Animation - & gt; start();
  • Related