QVirtualKeyboardExtensionPlugin Class
Extension plugin for the Qt Virtual Keyboard. More...
Header: | #include <QVirtualKeyboardExtensionPlugin> |
qmake: | QT += virtualkeyboard |
Inherits: | QObject |
Public Functions
virtual | ~QVirtualKeyboardExtensionPlugin() |
virtual void | registerTypes(const char *uri) const |
- 31 public functions inherited from QObject
Static Public Members
const QMetaObject | staticMetaObject |
- 9 static public members inherited from QObject
Additional Inherited Members
- 1 property inherited from QObject
- 1 public slot inherited from QObject
- 2 signals inherited from QObject
- 9 protected functions inherited from QObject
Detailed Description
Extension plugin for the Qt Virtual Keyboard.
Extension plugin allows customizing and extending the Qt Virtual Keyboard functionality. Extension plugin can provide additional keyboard layouts and input methods.
Virtual keyboard loads all the extension plugins at startup. It searches for plugins/virtualkeyboard
directory and matches the metadata found in the plugin. If there are two or more extension plugins with the same Name
, it loads the one with the highest Version
number.
See also Virtual Keyboard Extension Plugin.
Member Function Documentation
[virtual]
QVirtualKeyboardExtensionPlugin::~QVirtualKeyboardExtensionPlugin()
Destroys the instance of QVirtualKeyboardExtensionPlugin. The destructor is virtual.
[virtual]
void QVirtualKeyboardExtensionPlugin::registerTypes(const char *uri) const
If the plugin metadata contains InputMethod
field defining an input method name, Qt Virtual Keyboard will call registerTypes() for registering the input method as QML type. The type must be registered with a uri if the input method is used by the default keyboard layouts. If the input method type is only used in private layouts (known only by the plugin), the uri can be omitted and chosen freely.
© 2021 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.