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) |
멤버 함수 문서
[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 에서 분기 본문 요소를 생성합니다.
이것은 오버로드된 함수입니다.
© 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.