debugging

This commit is contained in:
Blue 2024-01-18 19:14:33 -03:00
parent 6e16292f06
commit 27124380e4
Signed by: blue
GPG key ID: 9B203B252A63EE38
8 changed files with 76 additions and 52 deletions

View file

@ -0,0 +1,26 @@
// 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
}
}
}

View file

@ -10,6 +10,7 @@ qt_add_qml_module(magpieComponents
NO_PLUGIN
QML_FILES
Modal.qml
AssetLine.qml
)
target_link_libraries(magpie PRIVATE magpieComponents)