mirror of
https://github.com/WarmUpTill/SceneSwitcher.git
synced 2026-04-19 00:27:23 -05:00
Add AnimationFinished signal
This commit is contained in:
parent
5ce177bcd3
commit
9704d5f1f4
|
|
@ -156,7 +156,7 @@ void Section::SetupAnimations()
|
|||
contentAnimation->setEndValue(_contentHeight);
|
||||
|
||||
QWidget::connect(_toggleAnimation, SIGNAL(finished()), this,
|
||||
SLOT(AnimationFinished()));
|
||||
SLOT(AnimationFinish()));
|
||||
}
|
||||
|
||||
void Section::CleanUpPreviousContent()
|
||||
|
|
@ -170,7 +170,8 @@ void Section::CleanUpPreviousContent()
|
|||
}
|
||||
}
|
||||
|
||||
void Section::AnimationFinished()
|
||||
void Section::AnimationFinish()
|
||||
{
|
||||
_transitioning = false;
|
||||
emit AnimationFinished();
|
||||
}
|
||||
|
|
|
|||
|
|
@ -23,9 +23,10 @@ protected:
|
|||
bool eventFilter(QObject *obj, QEvent *event) override;
|
||||
|
||||
private slots:
|
||||
void AnimationFinished();
|
||||
void AnimationFinish();
|
||||
void Collapse(bool collapse);
|
||||
signals:
|
||||
void AnimationFinished();
|
||||
void Collapsed(bool);
|
||||
|
||||
private:
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user