Changeset View
Changeset View
Standalone View
Standalone View
kcms/access/package/contents/ui/ModifierKeys.qml
- This file was added.
1 | /* | ||||
---|---|---|---|---|---|
2 | * Copyright 2018 Tomaz Canabrava <tcanabrava@kde.org> | ||||
3 | * | ||||
4 | * This program is free software; you can redistribute it and/or | ||||
5 | * modify it under the terms of the GNU General Public License as | ||||
6 | * published by the Free Software Foundation; either version 2 of | ||||
7 | * the License or (at your option) version 3 or any later version | ||||
8 | * accepted by the membership of KDE e.V. (or its successor approved | ||||
9 | * by the membership of KDE e.V.), which shall act as a proxy | ||||
10 | * defined in Section 14 of version 3 of the license. | ||||
11 | * | ||||
12 | * This program is distributed in the hope that it will be useful, | ||||
13 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||||
14 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||||
15 | * GNU General Public License for more details. | ||||
16 | * | ||||
17 | * You should have received a copy of the GNU General Public License | ||||
18 | * along with this program. If not, see <http://www.gnu.org/licenses/>. | ||||
19 | */ | ||||
20 | | ||||
21 | import QtQuick 2.6 | ||||
22 | import QtQuick.Layouts 1.1 | ||||
23 | import QtQuick.Window 2.2 | ||||
24 | import QtQuick.Dialogs 1.0 as QtDialogs | ||||
25 | import QtQuick.Controls 2.12 as QQC2 | ||||
26 | import org.kde.kirigami 2.4 as Kirigami | ||||
27 | import org.kde.kcm 1.1 as KCM | ||||
28 | | ||||
29 | ColumnLayout { | ||||
30 | GroupBox { | ||||
31 | id: stickyKeys | ||||
32 | text: i18n("Sticky Keys") | ||||
33 | ColumnLayout { | ||||
34 | QQC2.CheckBox { | ||||
35 | id: useStickyKeys | ||||
36 | text: i18n("Use sticky keys") | ||||
37 | } | ||||
38 | QQC2.CheckBox { | ||||
39 | id: lockStickyKeys | ||||
40 | text: i18n("Lock sticky keys") | ||||
41 | } | ||||
42 | QQC.CheckBox { | ||||
43 | id: turnOffSticky | ||||
44 | text: i18n("Turn off sticky keys when two keys are pressed continuously") | ||||
45 | } | ||||
46 | QQC2.CheckBox { | ||||
47 | id: useSystemBellModifier | ||||
48 | text: i18n("Use system bell whenever a modifier gets latched, locked or unlocked") | ||||
49 | } | ||||
50 | } | ||||
51 | } | ||||
52 | GroupBox { | ||||
53 | id: lockingKeys | ||||
54 | text: i18n("Locking Keys") | ||||
55 | ColumnLayout { | ||||
56 | QQC2.CheckBox { | ||||
57 | id: useSystemBellKey | ||||
58 | text: i18n("Use system bell whenever a locking key gets activated or deactivated") | ||||
59 | } | ||||
60 | QQC2.CheckBox { | ||||
61 | id: usePlasmaNotification | ||||
62 | text: i18n("Use Plasma's notification mechanism for modifier or locking key state changes") | ||||
63 | } | ||||
64 | QQC2.Button { | ||||
65 | text: i18n("Configure Notifications") | ||||
66 | } | ||||
67 | } | ||||
68 | } | ||||
69 | } |