10#ifndef ACCORDION_FRAME_H
11#define ACCORDION_FRAME_H
15class QPropertyAnimation;
59 QPropertyAnimation *animation_;
66 void animationFinished();
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.
void animatedHide()
Hide the frame with a slide-up animation.
Definition accordion_frame.cpp:65
AccordionFrame(QWidget *parent=0)
Create an AccordionFrame with the given parent.
Definition accordion_frame.cpp:22
void animatedShow()
Show the frame with a slide-down animation.
Definition accordion_frame.cpp:36
virtual void showEvent(QShowEvent *) override
Emit visibilityChanged(true) when the frame is shown.
Definition accordion_frame.h:55
virtual void hideEvent(QHideEvent *) override
Emit visibilityChanged(false) when the frame is hidden.
Definition accordion_frame.h:52