AbstractInputPanel Class

(QtVirtualKeyboard::AbstractInputPanel)

Base class for an input panel. More...

Header: #include <AbstractInputPanel>
Inherits: QObject

Public Functions

AbstractInputPanel(QObject *parent = 0)
~AbstractInputPanel()
virtual void hide() = 0
virtual bool isVisible() const = 0
virtual void setInputRect(const QRect &inputRect)
virtual void show() = 0
  • 31 public functions inherited from QObject

Public Slots

virtual void createView()
virtual void destroyView()
  • 1 public slot inherited from QObject

Protected Functions

AbstractInputPanel(QObjectPrivate &dd, QObject *parent = 0)
  • 9 protected functions inherited from QObject

Additional Inherited Members

  • 1 property inherited from QObject
  • 2 signals inherited from QObject
  • 1 public variable inherited from QObject
  • 10 static public members inherited from QObject
  • 2 protected variables inherited from QObject

Detailed Description

Base class for an input panel.

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 = 0)

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.

AbstractInputPanel::AbstractInputPanel(QObject *parent = 0)

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

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 slot] void AbstractInputPanel::destroyView()

Destroys the view of the input panel.

[pure virtual] void AbstractInputPanel::hide()

Hides the input panel.

[pure virtual] bool AbstractInputPanel::isVisible() const

Returns true if the input panel is currently visible.

[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.

[pure virtual] void AbstractInputPanel::show()

Shows the input panel.