- Extending Qt Creator Manual
- QtCreator
- Group
- Extending Qt Creator Manual 20.0.0-rc1

# Layouting::Group Class

class Layouting::Group

Wraps QGroupBox for use in a Layouting builder. More...

Header: | `#include <Group>`
Inherits: | Layouting::Widget

- List of all members, including inherited members

## Public Functions

void | setGroupChecker(const std::function<void (QObject *)> &checker)

## Detailed Description

A title and an optional checkable state can be configured via setTitle() and setGroupChecker(). The group's content is provided by nesting a Layout inside it.

See also Layouting::Widget.

## Member Function Documentation

### void Group::setGroupChecker(const std::function<void (QObject *)> &checker)

Calls checker with the underlying QGroupBox, allowing external code to configure the group box, for example to make it checkable and bind its checked state to a settings key.