Settings page was added
This commit is contained in:
24
qml/Components/SubtitledItemDelegate.qml
Normal file
24
qml/Components/SubtitledItemDelegate.qml
Normal 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
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user