Creates a clean formatted dialog for any number of GenericOptions within a GenericOptionGroup Each option is labelled.
More...
|
|
void | init () |
| | Initializes the grid layout and creates child widgets for each option.
|
|
|
GenericOptionGroup | m_group |
| | The option group being displayed.
|
|
QGridLayout * | m_layout |
| | The grid layout containing option widgets.
|
|
bool | m_vertical_layout = false |
| | Whether options are laid out vertically.
|
Creates a clean formatted dialog for any number of GenericOptions within a GenericOptionGroup Each option is labelled.
Definition at line 86 of file GenericOptionsWidgets.h.
◆ GenericOptionsGroup() [1/2]
| GenericOptionsGroup::GenericOptionsGroup |
( |
const GenericOptionGroup & | option, |
|
|
bool | vertical_layout = false, |
|
|
QWidget * | parent = nullptr ) |
Constructs a GenericOptionsGroup from a GenericOptionGroup.
- Parameters
-
| [in] | option | The option group to display. |
| [in] | vertical_layout | Whether to lay out options vertically. |
| [in] | parent | The parent widget. |
◆ GenericOptionsGroup() [2/2]
| GenericOptionsGroup::GenericOptionsGroup |
( |
QWidget * | parent = nullptr | ) |
|
◆ group()
◆ setOptionGroup()
Sets the option group and rebuilds the widget.
- Parameters
-
◆ setVerticalLayout()
| void GenericOptionsGroup::setVerticalLayout |
( |
bool | vertical_layout | ) |
|
Sets whether options should be laid out vertically.
- Parameters
-
| [in] | vertical_layout | Whether to use a vertical layout. |
The documentation for this class was generated from the following file: