改进代码

This commit is contained in:
feiyangqingyun
2021-11-07 14:51:52 +08:00
parent 39199724c2
commit ad847c7065
15 changed files with 73 additions and 21 deletions

View File

@@ -175,7 +175,7 @@ void QUITipBox::initForm()
this->labInfo->setFont(font);
//显示和隐藏窗体动画效果
animation = new QPropertyAnimation(this, "pos");
animation = new QPropertyAnimation(this, "pos", this);
animation->setDuration(500);
animation->setEasingCurve(QEasingCurve::InOutQuad);
}