QtTaskTree::Then Class
class QtTaskTree::Then조건식에서 사용되는 “then” 요소. 더 보기...
| 헤더: | #include <qconditional.h> |
| CMake: | find_package(Qt6 REQUIRED COMPONENTS TaskTree) target_link_libraries(mytarget PRIVATE Qt6::TaskTree) |
| qmake: | QT += tasktree |
| 다음부터: | Qt 6.11부터 |
| 상태: | 기술 미리보기 |
이 클래스는 기술 미리보기 단계에 있으며 변경될 수 있습니다.
참고: 이 클래스의 모든 함수는 재진입 가능합니다.
공개 함수
| Then(const QtTaskTree::GroupItems &children) | |
| Then(std::initializer_list<QtTaskTree::GroupItem> children) | |
| Then(QtTaskTree::Then &&other) |
멤버 함수 문서
[explicit] Then::Then(const QtTaskTree::GroupItems &children)
조건식에서 사용할, ` children ` 항목을 가진 분기 본문 요소를 생성합니다. 앞선 ` If ` 또는 ` ElseIf ` 요소가 성공적으로 완료된 경우, 실행 중인 ` QTaskTree `은 ` children`을 실행하며, 이 실행 결과가 전체 조건식의 최종 결과가 됩니다.
[explicit] Then::Then(std::initializer_list<QtTaskTree::GroupItem> children)
children 로 주어진 std::initializer_list 로부터 브랜치 본체 요소를 생성합니다.
이 함수는 오버로드된 함수입니다.
[constexpr noexcept default] Then::Then(QtTaskTree::Then &&other)
Then 의 인스턴스를 이동 생성합니다.
© 2026 The Qt Company Ltd. 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.