Qt 6.x
The Qt SDK
•All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
qwaylandinputmethodcontrol.h
Go to the documentation of this file.
1// Copyright (C) 2017 Klarälvdalens Datakonsult AB, a KDAB Group company, info@kdab.com
2// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only
3
4#ifndef QWAYLANDINPUTMETHODCONTROL_H
5#define QWAYLANDINPUTMETHODCONTROL_H
6
7#include <QtGui/qtguiglobal.h>
8#include <QtCore/QObject>
9
11
14class QWaylandSurface;
17
19{
21 Q_DECLARE_PRIVATE(QWaylandInputMethodControl)
22 Q_DISABLE_COPY(QWaylandInputMethodControl)
23
24 Q_PROPERTY(bool enabled READ enabled WRITE setEnabled NOTIFY enabledChanged)
25public:
27
29
31
32 bool enabled() const;
33 void setEnabled(bool enabled);
34
35 void setSurface(QWaylandSurface *surface);
36 void updateTextInput();
37
40 void updateInputMethod(Qt::InputMethodQueries queries);
41
42private:
43 void defaultSeatChanged();
44 void surfaceEnabled(QWaylandSurface *surface);
45 void surfaceDisabled(QWaylandSurface *surface);
46};
47
49
50#endif // QWAYLANDINPUTMETHODCONTROL_H
The QInputMethodEvent class provides parameters for input method events.
Definition qevent.h:624
\inmodule QtCore
Definition qobject.h:90
\inmodule QtCore
Definition qvariant.h:64
\qmltype WaylandCompositor \instantiates QWaylandCompositor \inqmlmodule QtWayland....
void enabledChanged(bool enabled)
QVariant inputMethodQuery(Qt::InputMethodQuery query, QVariant argument) const
void inputMethodEvent(QInputMethodEvent *event)
void updateInputMethod(Qt::InputMethodQueries queries)
void setSurface(QWaylandSurface *surface)
\qmltype WaylandSurface \instantiates QWaylandSurface \inqmlmodule QtWayland.Compositor
Combined button and popup list for selecting options.
InputMethodQuery
GLenum GLenum GLsizei const GLuint GLboolean enabled
struct _cl_event * event
GLenum query
#define Q_PROPERTY(...)
#define Q_OBJECT
#define Q_SIGNALS
QDBusArgument argument