Kstars

kstarslite/qml/dialogs/helpers/DetailsItem.qml
1 // SPDX-FileCopyrightText: 2016 Artem Fedoskin <[email protected]>
2 // SPDX-License-Identifier: GPL-2.0-or-later
3 
4 import QtQuick 2.7
5 import QtQuick.Controls 2.0
6 import "../../modules"
7 
8 Column {
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 }
int length() const const
QString label(StandardShortcut id)
This file is part of the KDE documentation.
Documentation copyright © 1996-2022 The KDE developers.
Generated on Mon Aug 15 2022 04:04:00 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.