На этой странице

Layouting::Group Class

class Layouting::Group

Обеспечивает обертку для метода ` QGroupBox ` для использования в конструкторе макетов. Подробнее...

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

Общедоступные функции

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

Подробное описание

Заголовок и опциональное состояние «отмечено» можно настроить с помощью методов setTitle() и setGroupChecker(). Содержимое группы формируется путём вложения в неё объекта Layout.

См. также Layouting::Widget.

Документация по функциям-членам

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

Вызывает функцию ` checker ` с передачей базового объекта ` QGroupBox`, что позволяет внешнему коду настраивать групповое поле, например, сделать его отмечаемым и привязать его состояние «отмечено» к ключу настроек.

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.