QVirtualKeyboardDictionary Class
가상 키보드 입력 방법을 위한 애플리케이션 정의 사전입니다. 더 보기...
Header: | #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) |
신호
void | contentsChanged() |
상세 설명
이 클래스는 단어 또는 구문으로 구성된 명명된 사전을 정의합니다. 사전은 원하는 컨텍스트에서 활성화할 수 있으며 사용법은 가상 키보드의 현재 입력 방식에 따라 달라집니다.
프로퍼티 문서
contents : QStringList
사전의 내용.
이 속성에는 사전의 콘텐츠가 저장됩니다. 일반적으로 콘텐츠는 단어 또는 구문으로 구성됩니다. 사전은 언어 중립적이므로 언어 종속 데이터가 포함된 경우 사전을 로컬라이즈하는 것은 애플리케이션의 책임입니다.
콘텐츠는 언제든지 설정할 수 있지만 입력 방법이 활성화되어 있지 않을 때 설정하는 것이 좋습니다.
액세스 기능:
QStringList | contents() const |
void | setContents(const QStringList &contents) |
void | resetContents() |
알림 신호:
void | contentsChanged() |
[read-only]
name : const QString
사전의 이름입니다.
이 속성은 사전을 만들 때 지정한 사전의 이름을 저장합니다. 이 이름은 특정 사전을 참조할 때(예: 입력 컨텍스트에서 활성화할 때) 필요합니다.
참고: 사전 이름은 나중에 변경할 수 없습니다.
기능에 액세스합니다:
QString | name() const |
© 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.