VAPOR3 3.9.4
PSection.h
Go to the documentation of this file.
1#pragma once
2
3#include "PWidget.h"
4#include "PGroup.h"
5
6class VSection;
7
12
13class PSection : public PWidget {
14 Q_OBJECT
15
16 VSection *_vsection;
17 PGroup * _pgroup;
18
19public:
20 PSection(const std::string &label = "", const PGroup::List &widgets = {});
23 PSection *Add(const PGroup::List &widgets);
24
25protected:
26 void updateGUI() const override;
27};
std::initializer_list< Widget * > List
Definition: PGroup.h:14
PSection * Add(const PGroup::List &widgets)
void updateGUI() const override
PSection(const std::string &label="", const PGroup::List &widgets={})
PSection * Add(PWidget *pw)
Adds a widget.