VAPOR3
3.9.4
apps
vaporgui
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
7
class
VScrollGroup
:
public
VScrollArea
,
public
WidgetGroupWrapper
<VScrollGroup, QWidget, VGroup> {
8
Q_OBJECT
9
10
VContainer
*_container;
11
VGroup
*_group;
12
public
:
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
};
VContainer.h
VGroup.h
VScrollArea.h
AbstractWidgetGroup::List
std::initializer_list< Widget * > List
Definition:
AbstractWidgetGroup.h:15
AbstractWidgetGroup::AddM
This * AddM(const List &list)
Definition:
AbstractWidgetGroup.h:25
VContainer
Definition:
VContainer.h:5
VGroup
Definition:
VGroup.h:11
VScrollArea
Definition:
VScrollArea.h:5
VScrollGroup
Definition:
VScrollGroup.h:7
VScrollGroup::VScrollGroup
VScrollGroup(List children={})
Definition:
VScrollGroup.h:13
WidgetGroupWrapper
Automates the creation of widget groups that wrap other widget groups.
Definition:
AbstractWidgetGroup.h:36
Generated by
1.9.6