VAPOR3
3.9.4
apps
vaporgui
VGroup.h
Go to the documentation of this file.
1
#pragma once
2
3
#include <QWidget>
4
#include "
AbstractWidgetGroup.h
"
5
6
class
QBoxLayout;
7
10
11
class
VGroup
:
public
QWidget,
public
AbstractWidgetGroup
<VGroup, QWidget> {
12
Q_OBJECT
13
public
:
14
VGroup
(
List
children = {});
15
VGroup
*
Add
(QWidget *w);
16
protected
:
17
VGroup
(QBoxLayout *layout,
List
children);
18
};
19
20
21
class
VHGroup
:
public
VGroup
{
22
Q_OBJECT
23
public
:
24
VHGroup
();
25
};
26
27
30
31
class
VSubGroup
:
public
VGroup
{
32
Q_OBJECT
33
public
:
34
VSubGroup
(
List
children = {});
35
};
AbstractWidgetGroup.h
AbstractWidgetGroup
Provides an interface that standardizes widget grouping classes.
Definition:
AbstractWidgetGroup.h:10
AbstractWidgetGroup< VGroup, QWidget >::List
std::initializer_list< QWidget * > List
Definition:
AbstractWidgetGroup.h:15
VGroup
Definition:
VGroup.h:11
VGroup::VGroup
VGroup(List children={})
VGroup::VGroup
VGroup(QBoxLayout *layout, List children)
VGroup::Add
VGroup * Add(QWidget *w)
Adds a widget.
VHGroup
Definition:
VGroup.h:21
VHGroup::VHGroup
VHGroup()
VSubGroup
Definition:
VGroup.h:31
VSubGroup::VSubGroup
VSubGroup(List children={})
Generated by
1.9.6