QInputMethodQueryEvent Class
QInputMethodQueryEvent 클래스는 입력 컨텍스트에서 입력 객체로 전송하는 이벤트를 제공합니다. 더 보기...
Header: | #include <QInputMethodQueryEvent> |
CMake: | find_package(Qt6 REQUIRED COMPONENTS Gui) target_link_libraries(mytarget PRIVATE Qt6::Gui) |
qmake: | QT += gui |
상속합니다: | QEvent |
공용 함수
QInputMethodQueryEvent(Qt::InputMethodQueries queries) | |
Qt::InputMethodQueries | queries() const |
void | setValue(Qt::InputMethodQuery query, const QVariant &value) |
QVariant | value(Qt::InputMethodQuery query) const |
상세 설명
입력 메서드가 객체의 프로퍼티 집합을 쿼리하여 주변 텍스트 및 재변환을 지원하는 복잡한 입력 메서드 연산을 지원할 수 있도록 하는 데 사용됩니다.
queries()는 쿼리할 프로퍼티를 지정합니다.
객체는 accept()를 호출하기 전에 이벤트에서 setValue()를 호출하여 요청된 데이터를 채워야 합니다.
멤버 함수 문서
[explicit]
QInputMethodQueryEvent::QInputMethodQueryEvent(Qt::InputMethodQueries queries)
queries 에 지정된 프로퍼티에 대한 쿼리 이벤트를 생성합니다.
Qt::InputMethodQueries QInputMethodQueryEvent::queries() const
이벤트에서 쿼리한 프로퍼티를 반환합니다.
void QInputMethodQueryEvent::setValue(Qt::InputMethodQuery query, const QVariant &value)
속성을 query 을 value 으로 설정합니다.
value()도 참조하세요 .
QVariant QInputMethodQueryEvent::value(Qt::InputMethodQuery query) const
속성의 값을 반환합니다 query.
setValue()도 참조하세요 .
© 2025 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.