diff options
| author | Xusheng <xusheng@vector35.com> | 2021-06-08 14:30:58 +0800 |
|---|---|---|
| committer | Xusheng <xusheng@vector35.com> | 2021-06-10 15:16:17 +0800 |
| commit | a1ec654a143099eaac8c31cd2048a9c5c66967f3 (patch) | |
| tree | 45e6e14b4e93e7a6540da14101652107df9f3b75 /ui | |
| parent | 178d78b485b30bdb39872688459f5acc899943ce (diff) | |
Add documentation for ui.view.types.defaultTypeFilter
Make the type view filter displayed by default
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); }; |
