5#ifndef DARROWLINEEXPAND_H
6#define DARROWLINEEXPAND_H
10#include <dtkwidget_global.h>
14#include <dheaderline.h>
16#if DTK_VERSION < DTK_VERSION_CHECK(6, 0, 0, 0)
18DWIDGET_BEGIN_NAMESPACE
25 void setExpand(
bool value);
31 void mousePressEvent(QMouseEvent *);
32 void mouseMoveEvent(QMouseEvent *);
35 void reverseArrowDirection();
36 bool m_isExpanded =
false;
37 DIconButton *m_arrowButton =
nullptr;
45 void setTitle(
const QString &title);
46 void setExpand(
bool value);
47 DBaseLine *headerLine();
50 void setHeader(QWidget *header);
51 void resizeEvent(QResizeEvent *e);