Warning, /plasma/plasma-bigscreen/containments/homescreen/package/contents/ui/launcher/config/configGeneral.qml is written in an unsupported language. File is not indexed.

0001 /* SPDX-FileCopyrightText: 2019 Aditya Mehra <aix.m@outlook.com>
0002 
0003     SPDX-License-Identifier: LGPL-2.1-only OR LGPL-3.0-only OR LicenseRef-KDE-Accepted-LGPL
0004 */
0005 
0006 
0007 import QtQuick 2.14
0008 import QtQml.Models 2.14
0009 import QtQuick.Controls 2.14
0010 import QtQuick.Layouts 1.14
0011 import org.kde.plasma.core 2.0 as PlasmaCore
0012 import org.kde.plasma.plasmoid 2.0
0013 import org.kde.plasma.components 3.0 as PlasmaComponents
0014 import org.kde.plasma.extras 2.0 as PlasmaExtras
0015 import org.kde.kirigami 2.12 as Kirigami
0016 
0017 Item {
0018     id: page
0019     property alias cfg_websocketAddress: websocketAddress.text
0020     property alias cfg_notificationSwitch: notificationSwitch.checked
0021     property alias cfg_enableRemoteTTS: enableRemoteTTS.checked
0022     property alias cfg_enableRemoteSTT: enableRemoteSTT.checked
0023     
0024     Kirigami.FormLayout {
0025         anchors.left: parent.left
0026         anchors.right: parent.right
0027                     
0028         PlasmaComponents.TextField {
0029             id: websocketAddress
0030             Layout.fillWidth: true
0031             Kirigami.FormData.label: i18n("Websocket Address:")       
0032             text: cfg_websocketAddress
0033         }
0034         
0035         CheckBox {
0036             id: notificationSwitch
0037             Kirigami.FormData.label: i18n("Additional Settings:")
0038             text: i18n("Enable Notifications")
0039             checked: true
0040         }
0041         
0042         CheckBox {
0043             id: enableRemoteTTS
0044             text: i18n("Enable Remote TTS")
0045         }
0046         
0047         CheckBox {
0048             id: enableRemoteSTT
0049             text: i18n("Enable Remote STT")
0050             checked: false
0051         }
0052     }
0053 }
0054