21 #ifndef __ctkExpandButton_h
22 #define __ctkExpandButton_h
25 #include <QToolButton>
30 #include "ctkWidgetsExport.h"
32 class ctkExpandButtonPrivate;
47 Q_PROPERTY(Qt::Orientation orientation READ orientation WRITE setOrientation)
48 Q_PROPERTY(
bool mirrorOnExpand READ mirrorOnExpand WRITE setMirrorOnExpand)
56 void setMirrorOnExpand(
bool newBehavior);
57 bool mirrorOnExpand() const;
59 void setOrientation(Qt::Orientation newOrientation);
60 Qt::Orientation orientation() const;
62 virtual QSize sizeHint() const;
65 void updateIcon(Qt::LayoutDirection newDirection);
68 virtual
void nextCheckState();
71 QScopedPointer<ctkExpandButtonPrivate> d_ptr;