From a1ec654a143099eaac8c31cd2048a9c5c66967f3 Mon Sep 17 00:00:00 2001 From: Xusheng Date: Tue, 8 Jun 2021 14:30:58 +0800 Subject: Add documentation for ui.view.types.defaultTypeFilter Make the type view filter displayed by default --- ui/expandablegroup.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'ui/expandablegroup.h') 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); }; -- cgit v1.3.1