diff options
Diffstat (limited to 'ui')
| -rw-r--r-- | ui/expandablegroup.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/ui/expandablegroup.h b/ui/expandablegroup.h index 164651f6..ee952171 100644 --- a/ui/expandablegroup.h +++ b/ui/expandablegroup.h @@ -20,8 +20,9 @@ private Q_SLOTS: void toggled(bool expanded); public: - explicit ExpandableGroup(const QString& title = "", QWidget* parent = nullptr); - void setContentLayout(QLayout* contentLayout); + explicit ExpandableGroup(QLayout* contentLayout, const QString& title = "", QWidget* parent = nullptr, + bool expanded = false); + void setupAnimation(QLayout* contentLayout); void setTitle(const QString& title) { m_button->setText(title); } void toggle(bool expanded); }; |
