mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-07-31 11:20:22 +02:00
* AnimatedWidget emits a signal when the sliding animation is done.
This commit is contained in:
@@ -277,6 +277,8 @@ AnimatedWidget::onAnimationFinished()
|
|||||||
{
|
{
|
||||||
setFixedHeight( hiddenSize().height() );
|
setFixedHeight( hiddenSize().height() );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
emit animationFinished();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@@ -104,6 +104,8 @@ public slots:
|
|||||||
signals:
|
signals:
|
||||||
void showWidget();
|
void showWidget();
|
||||||
void hideWidget();
|
void hideWidget();
|
||||||
|
|
||||||
|
void animationFinished();
|
||||||
|
|
||||||
void resizeBy( const QPoint& delta );
|
void resizeBy( const QPoint& delta );
|
||||||
void sizeChanged( const QSize& size );
|
void sizeChanged( const QSize& size );
|
||||||
|
Reference in New Issue
Block a user