Warning, /plasma/kdeplasma-addons/applets/weather/package/contents/ui/DetailsView.qml is written in an unsupported language. File is not indexed.
0001 /* 0002 * SPDX-FileCopyrightText: 2018 Friedrich W. H. Kossebau <kossebau@kde.org> 0003 * 0004 * SPDX-License-Identifier: GPL-2.0-or-later 0005 */ 0006 0007 import QtQuick 0008 import QtQuick.Layouts 0009 0010 import org.kde.kirigami as Kirigami 0011 import org.kde.plasma.components as PlasmaComponents 0012 0013 ColumnLayout { 0014 id: root 0015 0016 required property var model 0017 0018 GridLayout { 0019 Layout.alignment: Qt.AlignCenter 0020 0021 rows: labelRepeater.count 0022 flow: GridLayout.TopToBottom 0023 rowSpacing: Kirigami.Units.smallSpacing 0024 0025 Repeater { 0026 id: labelRepeater 0027 model: root.model 0028 delegate: PlasmaComponents.Label { 0029 Layout.alignment: Qt.AlignVCenter | Qt.AlignRight 0030 text: modelData.label 0031 textFormat: Text.PlainText 0032 } 0033 } 0034 0035 Repeater { 0036 model: root.model 0037 delegate: PlasmaComponents.Label { 0038 Layout.alignment: Qt.AlignVCenter | Qt.AlignLeft 0039 text: modelData.text 0040 textFormat: Text.PlainText 0041 } 0042 } 0043 } 0044 }