我要在虚拟板上显示HandwritingModeKey。
我已经阅读了手册,说如果未为虚拟键盘启用手写支持,则将从键盘布局中自动隐藏键(HandwritingModeKey)。但是如何设置呢。我尝试设置输入面板或手写面板属性,但是没有用。
InputPanel
{
id: vkb1
visible: false
anchors
{
left: parent.left
bottom: parent.bottom
right: parent.right
}
}
HandwritingInputPanel
{
id: hwri
active: true
available: true
enabled: false
inputPanel: vkb1
visible: true
onEnabledChanged: vkb1.visible= true
}
handwriting:!lipi-toolkit:!t9write:!myscript {
include(plugins/myscript/3rdparty/myscript/myscript.pri)
equals(MYSCRIPT_FOUND, 1) {
CONFIG += myscript
} else {
include(plugins/t9write/3rdparty/t9write/t9write-build.pri)
equals(T9WRITE_FOUND, 1): CONFIG += t9write
else: CONFIG += lipi-toolkit
}
}
myscript {
!handwriting: include(plugins/myscript/3rdparty/myscript/myscript.pri)
}
t9write {
!handwriting: include(plugins/t9write/3rdparty/t9write/t9write-build.pri)
equals(T9WRITE_CJK_FOUND, 1): CONFIG += t9write-cjk
equals(T9WRITE_ALPHABETIC_FOUND, 1): CONFIG += t9write-alphabetic
}
# Enable pkgconfig
win32: CONFIG += no-pkg-config
!no-pkg-config: CONFIG += link_pkgconfig
我要在虚拟板上显示HandwritingModeKey。那我该怎么办?