이 페이지에서

Layouting::Group Class

class Layouting::Group

레이아웃 빌더에서 사용할 수 있도록 ` QGroupBox `을 래핑합니다. 더 보기...

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

공개 함수

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

상세 설명

setTitle() 및 setGroupChecker()을 통해 제목과 선택적으로 체크 가능한 상태를 구성할 수 있습니다. 그룹의 콘텐츠는 내부에 레이아웃을 중첩하여 제공됩니다.

Layouting::Widget도 참조하십시오 .

멤버 함수 문서

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

QGroupBox 객체를 인수로 전달하여 ` checker `를 호출함으로써, 외부 코드에서 그룹 박스를 구성할 수 있게 합니다. 예를 들어, 그룹 박스에 선택 체크박스를 추가하거나 선택 상태를 설정 키에 바인딩하는 등의 작업을 수행할 수 있습니다.

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.