이 페이지에서

QInputMethodQueryEvent Class

QInputMethodQueryEvent 클래스는 입력 컨텍스트에서 입력 객체로 전송되는 이벤트를 제공합니다. 더 보기...

헤더: #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

보호된 함수

QInputMethodQueryEvent(QInputMethodQueryEvent &&)
QInputMethodQueryEvent &operator=(QInputMethodQueryEvent &&)
QInputMethodQueryEvent &operator=(const QInputMethodQueryEvent &other)

상세 설명

이 메서드는 입력 방식에서 주변 텍스트 지원 및 재변환과 같은 복잡한 입력 방식 작업을 지원하기 위해 대상 객체의 일련의 속성을 조회하는 데 사용됩니다.

queries()는 쿼리할 속성을 지정합니다.

()는 어떤 속성을 조회할지 지정합니다.객체는 accept()를 호출하기 전에 이벤트에서 setValue()를 호출하여 요청된 데이터를 채워야 합니다.

멤버 함수 문서

[explicit] QInputMethodQueryEvent::QInputMethodQueryEvent(Qt::InputMethodQueries queries)

queries 에 지정된 속성에 대한 쿼리 이벤트를 생성합니다.

[protected delete] QInputMethodQueryEvent::QInputMethodQueryEvent(QInputMethodQueryEvent &&)

QInputMethodQueryEvent 의 인스턴스를 Move 방식으로 생성합니다. 이 함수는 삭제되었습니다.

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()도 참조하십시오 .

[protected delete] QInputMethodQueryEvent &QInputMethodQueryEvent::operator=(QInputMethodQueryEvent &&)

other 를 이 QInputMethodQueryEvent 인스턴스에 할당합니다. 이 함수는 삭제됩니다.

[noexcept protected default] QInputMethodQueryEvent &QInputMethodQueryEvent::operator=(const QInputMethodQueryEvent &other)

other 를 이 QInputMethodQueryEvent 인스턴스에 복사-할당합니다.

© 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.