Files
htpc-client/layouts/components/SidebarElement.qml
T
restitux 7944e4e21b Initial prototype
Basic UI outline with keyboard control. Python database
object is exposed to QML and data can be queried from its methods.
This should provide a generic structure that different UI themes
can be built around.
2022-08-15 17:50:09 +00:00

18 lines
393 B
QML

import QtQuick 2.12
Rectangle {
property string name
default property bool selected: false
color: selected ? "#E4A10D" : "#22282A"
width: parent.width
height: parent.height * 0.08
Row {
anchors.verticalCenter: parent.verticalCenter
//Item { width: 50; height: 100}
Text {
font.pointSize: 15
text: name
}
}
}