diff options
| author | KyleMiles <krm504@nyu.edu> | 2022-01-27 22:43:28 -0500 |
|---|---|---|
| committer | KyleMiles <krm504@nyu.edu> | 2022-01-28 00:24:06 -0500 |
| commit | 6812c973c9fa9b4ad642ab81856c05f87bd6fcc4 (patch) | |
| tree | dace4156d03148bcaf02df138ab4e0d93e61bc6f /ui/expandablegroup.h | |
| parent | 519c9db22367f2659d1a54599fab47e6313be06e (diff) | |
Format All Files
Diffstat (limited to 'ui/expandablegroup.h')
| -rw-r--r-- | ui/expandablegroup.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/ui/expandablegroup.h b/ui/expandablegroup.h index ee952171..1b28152e 100644 --- a/ui/expandablegroup.h +++ b/ui/expandablegroup.h @@ -10,18 +10,18 @@ class BINARYNINJAUIAPI ExpandableGroup : public QWidget { Q_OBJECT -private: + private: QToolButton* m_button; QParallelAnimationGroup* m_animation; QScrollArea* m_content; int m_duration = 100; -private Q_SLOTS: + private Q_SLOTS: void toggled(bool expanded); -public: - explicit ExpandableGroup(QLayout* contentLayout, const QString& title = "", QWidget* parent = nullptr, - bool expanded = false); + public: + 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); |
