5 #ifndef pqCollapsedGroup_h 6 #define pqCollapsedGroup_h 14 Q_PROPERTY(
bool collapsed READ collapsed WRITE setCollapsed)
18 bool collapsed()
const;
19 void setCollapsed(
bool);
21 QSize minimumSizeHint()
const override;
24 void paintEvent(QPaintEvent*)
override;
25 void mousePressEvent(QMouseEvent*)
override;
26 void mouseMoveEvent(QMouseEvent*)
override;
27 void mouseReleaseEvent(QMouseEvent*)
override;
28 void childEvent(QChildEvent* c)
override;
30 virtual void setChildrenEnabled(
bool);
36 static QStyleOptionGroupBox pqCollapseGroupGetStyleOption(
const pqCollapsedGroup* p);
41 #endif // pqCollapsedGroup_h