Improve performance of expand / collapse all

This commit is contained in:
WarmUpTill
2021-10-21 23:17:31 +02:00
committed by WarmUpTill
parent c34308f743
commit 2e96c226b5
5 changed files with 28 additions and 20 deletions

View File

@@ -30,6 +30,7 @@ public:
// Use this function to avoid accidental edits when scrolling through
// list of actions and conditions
void SetFocusPolicyOfWidgets();
void SetCollapsed(bool collapsed);
protected slots:
void HeaderInfoChanged(const QString &);

View File

@@ -16,6 +16,7 @@ public:
void SetContent(QWidget *w, bool collapsed = true);
void AddHeaderWidget(QWidget *);
void SetCollapsed(bool);
protected:
bool eventFilter(QObject *obj, QEvent *event) override;