Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Toggle main menu visibility
Loading...
Searching...
No Matches
qwaylandkeymap.h
Go to the documentation of this file.
1
// Copyright (C) 2017 The Qt Company Ltd.
2
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only
3
// Qt-Security score:significant reason:default
4
5
#
ifndef
QWAYLANDKEYMAP_H
6
#
define
QWAYLANDKEYMAP_H
7
8
#
include
<
QtCore
/
QObject
>
9
#
include
<
QtWaylandCompositor
/
qtwaylandcompositorglobal
.
h
>
10
#
include
<
QtWaylandCompositor
/
qtwaylandqmlinclude
.
h
>
11
#
if
QT_CONFIG
(
wayland_compositor_quick
)
12
#
include
<
QtWaylandCompositor
/
qwaylandquickchildren
.
h
>
13
#
endif
14
15
QT_BEGIN_NAMESPACE
16
17
class
QWaylandKeymapPrivate;
18
19
class
Q_WAYLANDCOMPOSITOR_EXPORT
QWaylandKeymap
:
public
QObject
20
{
21
Q_OBJECT
22
Q_DECLARE_PRIVATE(QWaylandKeymap)
23
#
if
QT_CONFIG
(
wayland_compositor_quick
)
24
Q_WAYLAND_COMPOSITOR_DECLARE_QUICK_CHILDREN(QWaylandKeymap)
25
#
endif
26
Q_PROPERTY(QString layout READ layout WRITE setLayout NOTIFY layoutChanged)
27
Q_PROPERTY(QString variant READ variant WRITE setVariant NOTIFY variantChanged)
28
Q_PROPERTY(QString options READ options WRITE setOptions NOTIFY optionsChanged)
29
Q_PROPERTY(QString rules READ rules WRITE setRules NOTIFY rulesChanged)
30
Q_PROPERTY(QString model READ model WRITE setModel NOTIFY modelChanged)
31
QML_NAMED_ELEMENT(WaylandKeymap)
32
QML_ADDED_IN_VERSION(1, 0)
33
public
:
34
QWaylandKeymap(
const
QString &layout = QString(),
const
QString &variant = QString(),
const
QString &options = QString(),
35
const
QString &model = QString(),
const
QString &rules = QString(), QObject *parent =
nullptr
);
36
37
QString layout()
const
;
38
void
setLayout(
const
QString &layout);
39
QString variant()
const
;
40
void
setVariant(
const
QString &variant);
41
QString options()
const
;
42
void
setOptions(
const
QString &options);
43
QString rules()
const
;
44
void
setRules(
const
QString &rules);
45
QString model()
const
;
46
void
setModel(
const
QString &model);
47
48
Q_SIGNALS:
49
void
layoutChanged();
50
void
variantChanged();
51
void
optionsChanged();
52
void
rulesChanged();
53
void
modelChanged();
54
};
55
56
QT_END_NAMESPACE
57
58
#
endif
//QWAYLANDKEYMAP_H
QWaylandKeymap
Definition
qwaylandkeymap.h:20
QT_BEGIN_NAMESPACE
Combined button and popup list for selecting options.
Definition
qsequentialanimationgroup.cpp:47
qtwayland
src
compositor
compositor_api
qwaylandkeymap.h
Generated on
for Qt by
1.18.0