Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
Loading...
Searching...
No Matches
qqnxinputcontext_noimf.h
Go to the documentation of this file.
1// Copyright (C) 2011 - 2012 Research In Motion
2// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
3
4#ifndef QQNXINPUTCONTEXT_H
5#define QQNXINPUTCONTEXT_H
6
7#include <QtCore/QLocale>
8#include <qpa/qplatforminputcontext.h>
9#include <qpa/qplatformintegration.h>
10
12
14class QQnxIntegration;
15
17{
19public:
22
23 bool isValid() const override;
24
25 void reset() override;
26 bool filterEvent(const QEvent *event) override;
27 QRectF keyboardRect() const override;
28 bool handleKeyboardEvent(int flags, int sym, int mod, int scan, int cap);
29
30 void showInputPanel() override;
31 void hideInputPanel() override;
32 bool isInputPanelVisible() const override;
33
34 QLocale locale() const override;
35 void setFocusObject(QObject *object) override;
36
37private Q_SLOTS:
38 void keyboardHeightChanged();
39 void keyboardVisibilityChanged(bool visible);
40 void keyboardLocaleChanged(const QLocale &locale);
41
42private:
43 bool hasPhysicalKeyboard();
44
45 bool m_inputPanelVisible;
46 QLocale m_inputPanelLocale;
47 QQnxIntegration *m_integration;
48 QQnxAbstractVirtualKeyboard &m_virtualKeyboard;
49};
50
52
53#endif // QQNXINPUTCONTEXT_H
\inmodule QtCore
Definition qcoreevent.h:45
\inmodule QtCore
Definition qobject.h:103
The QPlatformInputContext class abstracts the input method dependent data and composing state.
bool handleKeyboardEvent(int flags, int sym, int mod, int scan, int cap, int sequenceId) override
QQnxInputContext(QQnxIntegration *integration, QQnxAbstractVirtualKeyboard &keyboard)
bool isInputPanelVisible() const override
Returns input panel visibility status.
void reset() override
Method to be called when input method needs to be reset.
void hideInputPanel() override
Request to hide input panel.
void setFocusObject(QObject *object) override
This virtual method gets called to notify updated focus to object.
QLocale locale() const override
bool isValid() const override
Returns input context validity.
bool filterEvent(const QEvent *event) override
This function can be reimplemented to filter input events.
QRectF keyboardRect() const override
This function can be reimplemented to return virtual keyboard rectangle in currently active window co...
void showInputPanel() override
Request to show input panel.
\inmodule QtCore\reentrant
Definition qrect.h:484
Combined button and popup list for selecting options.
GLbitfield flags
struct _cl_event * event
GLenum cap
#define Q_OBJECT
#define Q_SLOTS