27 lines
586 B
QML
27 lines
586 B
QML
// SPDX-FileCopyrightText: 2023 Yury Gubich <blue@macaw.me>
|
|
// SPDX-License-Identifier: GPL-3.0-or-later
|
|
|
|
import QtQuick
|
|
import QtQuick.Controls
|
|
|
|
Rectangle {
|
|
id: line
|
|
required property string title
|
|
required property string icon
|
|
|
|
Row {
|
|
anchors.fill: parent
|
|
IconLabel {
|
|
anchors.verticalCenter: parent.verticalCenter
|
|
icon.name: line.icon
|
|
width: parent.height
|
|
height: parent.height
|
|
}
|
|
|
|
Text {
|
|
anchors.verticalCenter: parent.verticalCenter
|
|
text: title
|
|
}
|
|
}
|
|
}
|