Auf dieser Seite

Layouting::Group Class

class Layouting::Group

Bündelt „ QGroupBox “ zur Verwendung in einem Layout-Builder. Mehr...

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

Öffentliche Funktionen

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

Ausführliche Beschreibung

Über setTitle() und setGroupChecker() können ein Titel und ein optionaler Kontrollkästchenstatus konfiguriert werden. Der Inhalt der Gruppe wird durch die Verschachtelung eines Layouts darin bereitgestellt.

Siehe auch Layouting::Widget.

Dokumentation der Mitgliedsfunktionen

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

Ruft ` checker ` mit dem zugrunde liegenden ` QGroupBox` auf, wodurch externer Code die Gruppenbox konfigurieren kann, beispielsweise um sie aktivierbar zu machen und ihren Aktivierungsstatus an einen Einstellungsschlüssel zu binden.

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.