参考链接:https://blog.csdn.net/sealedghost/article/details/80026756 例子:https://gitee.com/nkzhangkun/QVirtualKeyboard