10#ifndef ACCORDION_FRAME_H
11#define ACCORDION_FRAME_H
15class QPropertyAnimation;
59 int design_max_height_;
60 QPropertyAnimation *animation_;
63 int zoomedMaxHeight();
69 void animationFinished();
74 void applyZoomedMaxHeight();
void updateStyleSheet()
Reapply the stylesheet after a palette or style change.
Definition accordion_frame.cpp:120
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:94
AccordionFrame(QWidget *parent=0)
Create an AccordionFrame with the given parent.
Definition accordion_frame.cpp:24
void animatedShow()
Show the frame with a slide-down animation.
Definition accordion_frame.cpp:61
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