18 explicit DDrawer(QWidget *parent =
nullptr);
21 void setHeader(QWidget *header);
22 void setContent(QWidget *content, Qt::Alignment alignment = Qt::AlignHCenter);
23 QWidget *getContent()
const;
24 void setHeaderHeight(
int height);
25 virtual void setExpand(
bool value);
27 void setAnimationDuration(
int duration);
28 void setAnimationEasingCurve(QEasingCurve curve);
29 void setSeparatorVisible(
bool arg);
30 void setExpandedSeparatorVisible(
bool arg);
34 void sizeChanged(QSize s);
38 void resizeEvent(QResizeEvent *e) Q_DECL_OVERRIDE;