In questa pagina

Layouting::Group Class

class Layouting::Group

Incorpora QGroupBox per l'utilizzo in un generatore di layout. Altro...

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

Funzioni pubbliche

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

Descrizione dettagliata

È possibile configurare un titolo e uno stato selezionabile (opzionale) tramite setTitle() e setGroupChecker(). Il contenuto del gruppo viene fornito annidando al suo interno un Layout.

Vedi anche Layouting::Widget.

Documentazione delle funzioni membro

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

Chiama il metodo ` checker ` con l'oggetto sottostante ` QGroupBox`, consentendo al codice esterno di configurare la casella di gruppo, ad esempio per renderla selezionabile e associarne lo stato di selezione a una chiave delle impostazioni.

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.