You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
settings/src/qml/StandardItem.qml

42 lines
777 B
QML

import QtQuick 2.4
import QtQuick.Controls 2.4
import QtQuick.Layouts 1.3
import MeuiKit 1.0 as Meui
Item {
id: control
height: mainLayout.implicitHeight + Meui.Theme.smallRadius * 2
property alias key: keyLabel.text
property alias value: valueLabel.text
Layout.fillWidth: true
Rectangle {
id: background
anchors.fill: parent
color: "transparent"
radius: Meui.Theme.smallRadius
}
RowLayout {
id: mainLayout
anchors.fill: parent
Label {
id: keyLabel
color: Meui.Theme.textColor
}
Item {
Layout.fillWidth: true
}
Label {
id: valueLabel
color: Meui.Theme.disabledTextColor
}
}
}