이 페이지에서

QVirtualKeyboardDictionary Class

가상 키보드 입력 방식을 위한 애플리케이션 정의 사전. 더 보기...

헤더: #include <QVirtualKeyboardDictionary>
CMake: find_package(Qt6 REQUIRED COMPONENTS VirtualKeyboard)
target_link_libraries(mytarget PRIVATE Qt6::VirtualKeyboard)
qmake: QT += virtualkeyboard
상속: QObject

속성

공개 함수

QStringList contents() const
QString name() const
void resetContents()
void setContents(const QStringList &contents)

신호

상세 설명

이 클래스는 단어나 구로 구성된 이름이 지정된 사전을 정의합니다. 이 사전은 원하는 컨텍스트에서 활성화할 수 있으며, 사용 방법은 가상 키보드의 현재 입력 방식에 따라 달라집니다.

속성 문서

contents : QStringList

사전의 내용.

이 속성은 사전의 내용을 담습니다. 일반적으로 내용은 단어나 구로 구성됩니다. 사전은 언어에 구애받지 않으므로, 사전에 언어에 종속적인 데이터가 포함된 경우 이를 현지화하는 것은 애플리케이션의 책임임을 유의하십시오.

내용은 언제든지 설정할 수 있지만, 입력 방식이 활성화되어 있지 않을 때 설정하는 것이 좋습니다.

액세스 함수:

QStringList contents() const
void setContents(const QStringList &contents)
void resetContents()

알림 신호:

void contentsChanged()

[read-only] name : const QString

사전의 이름.

이 속성은 사전 생성 시 지정된 사전의 이름을 저장합니다. 이 이름은 특정 사전을 참조할 때(예: 입력 컨텍스트에서 사전을 활성화할 때) 필요합니다.

참고: 사전 이름은 나중에 변경할 수 없습니다.

액세스 함수:

QString name() const

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