Initial commit

This commit is contained in:
2023-04-12 18:28:22 +02:00
commit 1165cc94eb
6 changed files with 277 additions and 0 deletions

24
SubtitledItemDelegate.qml Normal file
View File

@@ -0,0 +1,24 @@
import QtQuick 2.0
import QtQuick.Controls 2.2
ItemDelegate {
id: root
property string subtitle: ""
contentItem: Column {
Label {
id: titleLabel
width: parent.width
text: root.text
}
Label {
width: parent.width
font.pixelSize: titleLabel.font.pixelSize - 2
text: root.subtitle
opacity: 0.8
}
}
}