A labelled container widget that groups widgets in a generic layout.
More...
#include <widget_factory.h>
|
| | WidgetGroup (const QString &label, QWidget *parent) |
| | Constructs a widget group with a label.
|
| virtual void | addWidget (QWidget *widget) |
| | Adds a widget to the group.
|
| virtual void | addLayout (QLayout *layout) |
| | Adds a layout to the group.
|
| virtual void | addSpacing (int spacing) |
| | Adds fixed spacing to the group layout.
|
|
virtual void | addStretch () |
| | Adds a stretchable spacer to the group layout.
|
A labelled container widget that groups widgets in a generic layout.
◆ WidgetGroup()
| maki::WidgetGroup::WidgetGroup |
( |
const QString & | label, |
|
|
QWidget * | parent ) |
Constructs a widget group with a label.
- Parameters
-
| label | The visible label for the group. |
| parent | The parent widget. |
◆ addLayout()
| void maki::WidgetGroup::addLayout |
( |
QLayout * | layout | ) |
|
|
virtual |
Adds a layout to the group.
- Parameters
-
◆ addSpacing()
| void maki::WidgetGroup::addSpacing |
( |
int | spacing | ) |
|
|
virtual |
Adds fixed spacing to the group layout.
- Parameters
-
| spacing | The amount of spacing to add, in pixels. |
◆ addWidget()
| void maki::WidgetGroup::addWidget |
( |
QWidget * | widget | ) |
|
|
virtual |
Adds a widget to the group.
- Parameters
-
The documentation for this class was generated from the following files:
- /__w/maki/maki/app/widgets/widget_factory.h
- /__w/maki/maki/app/widgets/widget_factory.cpp