资源简介

Qt虚拟虚拟键盘修改了源码,实现中引文切换,大小修改

资源截图

代码片段和文件信息

/****************************************************************************
**
** Copyright (C) 2016 The Qt Company Ltd.
** Contact: https://www.qt.io/licensing/
**
** This file is part of the Qt Virtual Keyboard module of the Qt Toolkit.
**
** $QT_BEGIN_LICENSE:GPL$
** Commercial License Usage
** Licensees holding valid commercial Qt licenses may use this file in
** accordance with the commercial license agreement provided with the
** Software or alternatively in accordance with the terms contained in
** a written agreement between you and The Qt Company. For licensing terms
** and conditions see https://www.qt.io/terms-conditions. For further
** information use the contact form at https://www.qt.io/contact-us.
**
** GNU General Public License Usage
** Alternatively this file may be used under the terms of the GNU
** General Public License version 3 or (at your option) any later version
** approved by the KDE Free Qt Foundation. The licenses are as published by
** the Free Software Foundation and appearing in the file LICENSE.GPL3
** included in the packaging of this file. Please review the following
** information to ensure the GNU General Public License requirements will
** be met: https://www.gnu.org/licenses/gpl-3.0.html.
**
** $QT_END_LICENSE$
**
****************************************************************************/

#include “abstractinputmethod.h“

namespace QtVirtualKeyboard {

/*!
    \class QtVirtualKeyboard::AbstractInputMethodPrivate
    \internal
*/

AbstractInputMethodPrivate::AbstractInputMethodPrivate() :
    QobjectPrivate()
    inputEngine(0)
{
}

/*!
    \class QtVirtualKeyboard::AbstractInputMethod
    \internal

    \inmodule qtvirtualkeyboard

    \brief The base class for input methods.

    Use this class if you want to implement a custom input
    method using C/C++ language.
*/

/*!
    Constructs an input method with \a dd as the private data
    from the derived class and \a parent as the parent.
*/
AbstractInputMethod::AbstractInputMethod(AbstractInputMethodPrivate &dd Qobject *parent) :
    Qobject(dd parent)
{
}

/*!
    Constructs an input method with \a parent.
*/
AbstractInputMethod::AbstractInputMethod(Qobject *parent) :
    Qobject(*new AbstractInputMethodPrivate() parent)
{
}

/*!
    Destroys the input method and frees all allocated resources.
*/
AbstractInputMethod::~AbstractInputMethod()
{
}

/*!
    Returns the input context associated with the input method.
    This method returns \c NULL if the input method is not active.
*/
InputContext *AbstractInputMethod::inputContext() const
{
    Q_D(const AbstractInputMethod);
    return d->inputEngine ? d->inputEngine->inputContext() : 0;
}

/*!
    Returns the input engine associated with the input method.
    This method returns \c NULL if the input method is not active.
*/
InputEngine *AbstractInputMethod::inputEngine() const
{
    Q_D(const AbstractInputMethod);
    return d->inputEngine;
}

/*!
    This method is called by the input engine w

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----
     目录           0  2018-07-02 18:03  qtvirtualkeyboard\
     目录           0  2018-07-02 18:02  qtvirtualkeyboard\doc\
     目录           0  2018-07-02 18:02  qtvirtualkeyboard\qtvirtualkeyboard-opensource-src-5.7.1\
     文件       35147  2018-07-02 16:45  qtvirtualkeyboard\qtvirtualkeyboard-opensource-src-5.7.1\LICENSE.GPL3
     文件       23968  2018-07-02 16:53  qtvirtualkeyboard\qtvirtualkeyboard-opensource-src-5.7.1\Makefile
     文件          41  2018-07-02 16:45  qtvirtualkeyboard\qtvirtualkeyboard-opensource-src-5.7.1\qtvirtualkeyboard.pro
     文件         227  2018-07-02 16:45  qtvirtualkeyboard\qtvirtualkeyboard-opensource-src-5.7.1\README.md
     目录           0  2018-07-02 18:02  qtvirtualkeyboard\qtvirtualkeyboard-opensource-src-5.7.1\src\
     文件        1483  2018-07-02 16:45  qtvirtualkeyboard\qtvirtualkeyboard-opensource-src-5.7.1\src\config.pri
     文件       33603  2018-07-02 16:53  qtvirtualkeyboard\qtvirtualkeyboard-opensource-src-5.7.1\src\Makefile
     文件         966  2018-07-02 16:45  qtvirtualkeyboard\qtvirtualkeyboard-opensource-src-5.7.1\src\src.pro
     目录           0  2018-07-02 18:02  qtvirtualkeyboard\qtvirtualkeyboard-opensource-src-5.7.1\src\virtualkeyboard\
     目录           0  2018-07-02 18:02  qtvirtualkeyboard\qtvirtualkeyboard-opensource-src-5.7.1\src\virtualkeyboard\3rdparty\
     目录           0  2018-07-02 18:02  qtvirtualkeyboard\qtvirtualkeyboard-opensource-src-5.7.1\src\virtualkeyboard\3rdparty\build-pinyin-unknown-Debug\
     目录           0  2018-07-02 18:02  qtvirtualkeyboard\qtvirtualkeyboard-opensource-src-5.7.1\src\virtualkeyboard\3rdparty\build-pinyin-unknown-Debug\.obj\
     文件        6448  2018-07-02 16:45  qtvirtualkeyboard\qtvirtualkeyboard-opensource-src-5.7.1\src\virtualkeyboard\3rdparty\build-pinyin-unknown-Debug\.obj\dictbuilder.o
     文件       47536  2018-07-02 16:45  qtvirtualkeyboard\qtvirtualkeyboard-opensource-src-5.7.1\src\virtualkeyboard\3rdparty\build-pinyin-unknown-Debug\.obj\dictlist.o
     文件      184704  2018-07-02 16:45  qtvirtualkeyboard\qtvirtualkeyboard-opensource-src-5.7.1\src\virtualkeyboard\3rdparty\build-pinyin-unknown-Debug\.obj\dicttrie.o
     文件       15584  2018-07-02 16:45  qtvirtualkeyboard\qtvirtualkeyboard-opensource-src-5.7.1\src\virtualkeyboard\3rdparty\build-pinyin-unknown-Debug\.obj\lpicache.o
     文件      156488  2018-07-02 16:45  qtvirtualkeyboard\qtvirtualkeyboard-opensource-src-5.7.1\src\virtualkeyboard\3rdparty\build-pinyin-unknown-Debug\.obj\matrixsearch.o
     文件        7992  2018-07-02 16:45  qtvirtualkeyboard\qtvirtualkeyboard-opensource-src-5.7.1\src\virtualkeyboard\3rdparty\build-pinyin-unknown-Debug\.obj\mystdlib.o
     文件       30624  2018-07-02 16:45  qtvirtualkeyboard\qtvirtualkeyboard-opensource-src-5.7.1\src\virtualkeyboard\3rdparty\build-pinyin-unknown-Debug\.obj\ngram.o
     文件       47016  2018-07-02 16:45  qtvirtualkeyboard\qtvirtualkeyboard-opensource-src-5.7.1\src\virtualkeyboard\3rdparty\build-pinyin-unknown-Debug\.obj\pinyinime.o
     文件       20328  2018-07-02 16:45  qtvirtualkeyboard\qtvirtualkeyboard-opensource-src-5.7.1\src\virtualkeyboard\3rdparty\build-pinyin-unknown-Debug\.obj\searchutility.o
     文件        6272  2018-07-02 16:45  qtvirtualkeyboard\qtvirtualkeyboard-opensource-src-5.7.1\src\virtualkeyboard\3rdparty\build-pinyin-unknown-Debug\.obj\spellingtable.o
     文件       62720  2018-07-02 16:45  qtvirtualkeyboard\qtvirtualkeyboard-opensource-src-5.7.1\src\virtualkeyboard\3rdparty\build-pinyin-unknown-Debug\.obj\spellingtrie.o
     文件       38248  2018-07-02 16:45  qtvirtualkeyboard\qtvirtualkeyboard-opensource-src-5.7.1\src\virtualkeyboard\3rdparty\build-pinyin-unknown-Debug\.obj\splparser.o
     文件       18728  2018-07-02 16:45  qtvirtualkeyboard\qtvirtualkeyboard-opensource-src-5.7.1\src\virtualkeyboard\3rdparty\build-pinyin-unknown-Debug\.obj\sync.o
     文件      222680  2018-07-02 16:45  qtvirtualkeyboard\qtvirtualkeyboard-opensource-src-5.7.1\src\virtualkeyboard\3rdparty\build-pinyin-unknown-Debug\.obj\userdict.o
     文件       10936  2018-07-02 16:45  qtvirtualkeyboard\qtvirtualkeyboard-opensource-src-5.7.1\src\virtualkeyboard\3rdparty\build-pinyin-unknown-Debug\.obj\utf16char.o
     文件       14536  2018-07-02 16:45  qtvirtualkeyboard\qtvirtualkeyboard-opensource-src-5.7.1\src\virtualkeyboard\3rdparty\build-pinyin-unknown-Debug\.obj\utf16reader.o
............此处省略657个文件信息

评论

共有 条评论