10#ifndef ACCORDION_FRAME_H
11#define ACCORDION_FRAME_H
15class QPropertyAnimation;
59 QPropertyAnimation *animation_;
66 void animationFinished();
A QFrame that shows and hides itself with a slide animation.
Definition accordion_frame.h:21
void updateStyleSheet()
Reapply the stylesheet after a palette or style change.
Definition accordion_frame.cpp:89
void visibilityChanged(bool visible)
Emitted when the frame's visibility changes.
virtual void showEvent(QShowEvent *)
Emit visibilityChanged(true) when the frame is shown.
Definition accordion_frame.h:55
void animatedHide()
Hide the frame with a slide-up animation.
Definition accordion_frame.cpp:65
void animatedShow()
Show the frame with a slide-down animation.
Definition accordion_frame.cpp:36
virtual void hideEvent(QHideEvent *)
Emit visibilityChanged(false) when the frame is hidden.
Definition accordion_frame.h:52