diff options
author | Jarkko Koivikko <jarkko.koivikko@code-q.fi> | 2015-07-08 16:39:08 +0300 |
---|---|---|
committer | Jarkko Koivikko <jarkko.koivikko@code-q.fi> | 2015-10-07 12:54:40 +0000 |
commit | 30b0b04dfb9634a394cabc82b746a52b4d397371 (patch) | |
tree | bc69903e5591c09c130a4a7b6b3ff34a81e505a9 /src/virtualkeyboard/appinputpanel.h | |
parent | 11f12de3fb83396282f213e057d24bb0ea9dc7e9 (diff) |
Add support for full screen handwriting input
This change adds support for the full screen handwriting input.
In full screen handwriting input, the user is able to use the
whole application screen as a container for handwriting input.
This feature is available to those application integrations,
which integrate the new HandwritingInputPanel type to the
application QML. The HandwritingInputPanel works as an add-on
to the existing InputPanel, so it cannot be used exclusively
without the InputPanel.
Change-Id: I11530b9ccbc66aa59b210bec94d7bb87f0826370
Reviewed-by: Mitch Curtis <mitch.curtis@theqtcompany.com>
Diffstat (limited to 'src/virtualkeyboard/appinputpanel.h')
-rw-r--r-- | src/virtualkeyboard/appinputpanel.h | 17 |
1 files changed, 16 insertions, 1 deletions
diff --git a/src/virtualkeyboard/appinputpanel.h b/src/virtualkeyboard/appinputpanel.h index 4c98b365..48428c6c 100644 --- a/src/virtualkeyboard/appinputpanel.h +++ b/src/virtualkeyboard/appinputpanel.h @@ -20,13 +20,28 @@ #define APPINPUTPANEL_H #include "abstractinputpanel.h" +#include <QtCore/private/qobject_p.h> -class AppInputPanelPrivate; +class AppInputPanelPrivate : public QObjectPrivate +{ +public: + AppInputPanelPrivate() : + QObjectPrivate(), + visible(false) + { + } + + bool visible; +}; class AppInputPanel : public AbstractInputPanel { Q_OBJECT Q_DECLARE_PRIVATE(AppInputPanel) + +protected: + AppInputPanel(AppInputPanelPrivate &dd, QObject *parent = 0); + public: explicit AppInputPanel(QObject *parent = 0); ~AppInputPanel(); |