|
Maki
Formally verfied low-code orchestration
|
A labelled container widget that arranges child widgets and layouts in a grid. More...
#include <widget_factory.h>
Public Member Functions | |
| GridGroup (const QString &label, int rows, int cols, QWidget *parent) | |
| Constructs a grid group with a label and fixed grid dimensions. | |
| void | addWidget (QWidget *widget) |
| Adds a widget to the next available cell in the grid. | |
| void | addLayout (QLayout *layout) |
| Adds a layout to the next available cell in the grid. | |
| QWidget * | widget () const |
| Returns the internal content widget of the group. | |
A labelled container widget that arranges child widgets and layouts in a grid.
| maki::GridGroup::GridGroup | ( | const QString & | label, |
| int | rows, | ||
| int | cols, | ||
| QWidget * | parent ) |
Constructs a grid group with a label and fixed grid dimensions.
| label | The visible label for the group. |
| rows | The number of rows in the grid. |
| cols | The number of columns in the grid. |
| parent | The parent widget. |
| void maki::GridGroup::addLayout | ( | QLayout * | layout | ) |
Adds a layout to the next available cell in the grid.
| layout | The layout to add. |
| void maki::GridGroup::addWidget | ( | QWidget * | widget | ) |
Adds a widget to the next available cell in the grid.
| widget | The widget to add. |
| QWidget * maki::GridGroup::widget | ( | ) | const |
Returns the internal content widget of the group.