debugging
This commit is contained in:
parent
6e16292f06
commit
27124380e4
8 changed files with 76 additions and 52 deletions
26
qml/Components/AssetLine.qml
Normal file
26
qml/Components/AssetLine.qml
Normal 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
|
||||
}
|
||||
}
|
||||
}
|
|
@ -10,6 +10,7 @@ qt_add_qml_module(magpieComponents
|
|||
NO_PLUGIN
|
||||
QML_FILES
|
||||
Modal.qml
|
||||
AssetLine.qml
|
||||
)
|
||||
|
||||
target_link_libraries(magpie PRIVATE magpieComponents)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue