On this page

Layouting::Group Class

class Layouting::Group

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

Header: #include <layoutbuilder.h>
Inherits: Layouting::Widget

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.

Copyright © The Qt Company Ltd. and other contributors. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.