Qt.imh格式数字和虚拟键盘显示的数字多于数字、十进制和负数
我已经将InputMethodHights的文本字段设置为Qt.imhformattedNumber。文档说明仅允许Qt.imh格式的数字-仅允许数字输入。这包括小数点和减号。() 但是InputPanel(VirtualKeyboard)也会显示*/(依此类推)Qt.imh格式数字和虚拟键盘显示的数字多于数字、十进制和负数,qt,qml,qtvirtualkeyboard,Qt,Qml,Qtvirtualkeyboard,我已经将InputMethodHights的文本字段设置为Qt.imhformattedNumber。文档说明仅允许Qt.imh格式的数字-仅允许数字输入。这包括小数点和减号。() 但是InputPanel(VirtualKeyboard)也会显示*/(依此类推) ApplicationWindow { width: 800 height: 480 TextField { anchors.top: parent.top anchors.l
ApplicationWindow {
width: 800
height: 480
TextField {
anchors.top: parent.top
anchors.left: parent.left
anchors.right: parent.right
width: 200
height: 30
inputMethodHints: Qt.ImhFormattedNumbersOnly
}
InputPanel {
anchors.bottom: parent.bottom
anchors.left: parent.left
anchors.right: parent.right
}
}
Bug还是特性