summaryrefslogtreecommitdiff
path: root/.sddm/themes/sugar-dark/Components/VirtualKeyboard.qml
diff options
context:
space:
mode:
Diffstat (limited to '.sddm/themes/sugar-dark/Components/VirtualKeyboard.qml')
-rw-r--r--.sddm/themes/sugar-dark/Components/VirtualKeyboard.qml28
1 files changed, 28 insertions, 0 deletions
diff --git a/.sddm/themes/sugar-dark/Components/VirtualKeyboard.qml b/.sddm/themes/sugar-dark/Components/VirtualKeyboard.qml
new file mode 100644
index 00000000..b983e782
--- /dev/null
+++ b/.sddm/themes/sugar-dark/Components/VirtualKeyboard.qml
@@ -0,0 +1,28 @@
+//
+// This file is part of Sugar Dark, a theme for the Simple Display Desktop Manager.
+//
+// Copyright 2018 Marian Arlt
+//
+// Sugar Dark is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+//
+// Sugar Dark is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+//
+// You should have received a copy of the GNU General Public License
+// along with Sugar Dark. If not, see <https://www.gnu.org/licenses/>.
+//
+
+import QtQuick 2.11
+import QtQuick.VirtualKeyboard 2.3
+
+InputPanel {
+ id: virtualKeyboard
+ property bool activated: false
+ active: activated && Qt.inputMethod.visible
+ visible: active
+} \ No newline at end of file