Kstars

kstarslite/qml/dialogs/helpers/DetailsItem.qml
1// SPDX-FileCopyrightText: 2016 Artem Fedoskin <afedoskin3@gmail.com>
2// SPDX-License-Identifier: GPL-2.0-or-later
3
4import QtQuick 2.7
5import QtQuick.Controls 2.0
6import "../../modules"
7
8Column {
9 property string label
10 property string value
11 spacing: 5
12 visible: value.length
13
14 width: parent.width
15
16 KSLabel {
17 text: label
18 font.pointSize: 13
19 }
20
21 Rectangle {
22 width: parent.width
23 height: 1
24 color: "grey"
25 }
26
27 KSLabel {
28 font.pointSize: 11
29 text: value
30 }
31}
QString label(StandardShortcut id)
qsizetype length() const const
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 4 2024 16:38:43 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.