diff options
Diffstat (limited to 'confui/ui_scroll_container.h')
-rw-r--r-- | confui/ui_scroll_container.h | 15 |
1 files changed, 7 insertions, 8 deletions
diff --git a/confui/ui_scroll_container.h b/confui/ui_scroll_container.h index 716b3c9..bed16a4 100644 --- a/confui/ui_scroll_container.h +++ b/confui/ui_scroll_container.h @@ -1,25 +1,24 @@ #pragma once #include <QScrollArea> -#include <QWidget> #include <QVBoxLayout> +#include <QWidget> /** @brief generic vertically scrolling layout */ class CDScrollContainerLayout : public QVBoxLayout { Q_OBJECT private: - QVBoxLayout* main_layout; - QScrollArea* scroll_area; - QWidget* scroll_container; - QVBoxLayout* scroll_inner; + QVBoxLayout *main_layout; + QScrollArea *scroll_area; + QWidget *scroll_container; + QVBoxLayout *scroll_inner; public: CDScrollContainerLayout(QWidget *parent = nullptr); virtual ~CDScrollContainerLayout(); /** @brief add widget to layout */ - virtual void addWidget(QWidget* widget); + virtual void addWidget(QWidget *widget); /** @brief remove widget from layout */ - virtual void removeWidget(QWidget* widget); + virtual void removeWidget(QWidget *widget); }; - |