QStyleOptionMenuItemV2 Class
QStyleOptionMenuItemV2 클래스는 새로운 멤버로 QStyleOptionMenuItem 을 향상시킵니다. 더 보기...
| Header: | #include <QStyleOptionMenuItemV2> |
| CMake: | find_package(Qt6 REQUIRED COMPONENTS Widgets)target_link_libraries(mytarget PRIVATE Qt6::Widgets) |
| qmake: | QT += widgets |
| 이후: | Qt 6.11 |
| 상속합니다: | QStyleOptionMenuItem |
공용 함수
| QStyleOptionMenuItemV2() | |
| QStyleOptionMenuItemV2(const QStyleOptionMenuItemV2 &other) |
공용 변수
| bool | mouseDown |
멤버 함수 문서
QStyleOptionMenuItemV2::QStyleOptionMenuItemV2()
멤버 변수를 기본값으로 초기화하여 QStyleOptionMenuItemV2를 생성합니다.
QStyleOptionMenuItemV2::QStyleOptionMenuItemV2(const QStyleOptionMenuItemV2 &other)
other 스타일 옵션의 복사본을 생성합니다.
멤버 변수 문서
bool QStyleOptionMenuItemV2::mouseDown
참이면 마우스를 눌렀을 때 설정됩니다.
QStyle::State_Sunken 설정 시 눌린 상태와 가라앉은 상태의 차이가 없기 때문에 이 설정이 필요합니다. QStyle::State_Sunken 메뉴가 열려 있을 때(즉, 팝업 메뉴가 표시될 때) 또한 설정됩니다.
© 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.