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.
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
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
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user