#ifndef SETTINGCARDGROUP_H #define SETTINGCARDGROUP_H #include #include class ExpandLayout; class SettingCardGroup : public QWidget { Q_OBJECT public: explicit SettingCardGroup(const QString &title, QWidget *parent = nullptr); void addSettingCard(QWidget *card); void addSettingCards(const QList &cards); void adjustSize(); QVBoxLayout *vBoxLayout; ExpandLayout *cardLayout; signals: private: QLabel *m_titleLabel; }; #endif // SETTINGCARDGROUP_H