VAPOR3 3.9.4
VScrollGroup.h
Go to the documentation of this file.
1#pragma once
2
3#include "VScrollArea.h"
4#include "VGroup.h"
5#include "VContainer.h"
6
7class VScrollGroup : public VScrollArea, public WidgetGroupWrapper<VScrollGroup, QWidget, VGroup> {
8 Q_OBJECT
9
10 VContainer *_container;
11 VGroup *_group;
12public:
13 VScrollGroup(List children = {})
14 : VScrollArea(_container = new VContainer(_group = new VGroup())),
15 WidgetGroupWrapper(_group)
16 {
17 _container->AddBottomStretch();
18 _group->AddM(children);//
19 }
20};
std::initializer_list< Widget * > List
This * AddM(const List &list)
Definition: VGroup.h:11
VScrollGroup(List children={})
Definition: VScrollGroup.h:13
Automates the creation of widget groups that wrap other widget groups.