AbstractInputPanel Class

class QtVirtualKeyboard::AbstractInputPanel

Base class for an input panel. More...

Header: #include <AbstractInputPanel>
Inherits: QObject

Public Functions

AbstractInputPanel(QObject *parent = nullptr)
virtual ~AbstractInputPanel()
virtual void setInputRect(const QRect &inputRect)

Public Slots

virtual void createView()

Protected Functions

AbstractInputPanel(QObjectPrivate &dd, QObject *parent = nullptr)

Detailed Description

\internal\inmodule QtVirtualKeyboard

Input panel is a container for InputPanel qml view.

The virtual keyboard currently supports the following input panels:

  • AppInputPanel Input panel type that is integrated directly into the application.
  • DesktopInputPanel Input panel type for Desktop systems.

Member Function Documentation

[protected] AbstractInputPanel::AbstractInputPanel(QObjectPrivate &dd, QObject *parent = nullptr)

Creates an input panel container with dd as private data and parent but does not construct the view. The view is explicitly constructed by the AbstractInputPanel::createView() method.

[explicit] AbstractInputPanel::AbstractInputPanel(QObject *parent = nullptr)

Creates an input panel container with parent but does not construct the view. The view is explicitly constructed by the AbstractInputPanel::createView() method.

[virtual noexcept] AbstractInputPanel::~AbstractInputPanel()

Destroys the input panel container.

[virtual slot] void AbstractInputPanel::createView()

Creates the view of the input panel. If the view is already created, this method does nothing.

[virtual] void AbstractInputPanel::setInputRect(const QRect &inputRect)

This method adjusts the input rectangle of the input panel. The inputRect specifies the area in which mouse input is accepted.