このページでは

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.