Warning, /plasma/libplasma/templates/plasma6-wallpaper/package/contents/ui/config.qml is written in an unsupported language. File is not indexed.
0001 /* 0002 SPDX-FileCopyrightText: %{CURRENT_YEAR} %{AUTHOR} <%{EMAIL}> 0003 SPDX-License-Identifier: LGPL-2.1-or-later 0004 */ 0005 0006 import QtQuick 0007 import QtQuick.Layouts 0008 import QtQuick.Controls as QQC2 0009 import org.kde.kirigami as Kirigami 0010 0011 ColumnLayout { 0012 id: root 0013 property alias cfg_DisplayText: textField.text 0014 0015 RowLayout { 0016 spacing: Kirigami.Units.largeSpacing 0017 0018 // To allow aligned integration in the settings form, 0019 // "formAlignment" is a property injected by the config containment 0020 // which defines the offset of the value fields 0021 QQC2.Label { 0022 Layout.minimumWidth: width 0023 Layout.maximumWidth: width 0024 width: formAlignment - Kirigami.Units.largeSpacing * 2 0025 horizontalAlignment: Text.AlignRight 0026 0027 // use i18nd in config QML, as the default textdomain is set to that of the config container 0028 text: i18nd("plasma_wallpaper_org.kde.plasma.%{APPNAMELC}", "Text to Display:") 0029 } 0030 QQC2.TextField { 0031 id: textField 0032 Layout.fillWidth: true 0033 } 0034 } 0035 0036 Item { // tighten layout 0037 Layout.fillHeight: true 0038 } 0039 }