Refactor UI to add Mpv player widget with overlay
This commit is contained in:
@@ -0,0 +1,40 @@
|
||||
import QtQuick 2.12
|
||||
import QtQuick.Controls 1.4
|
||||
|
||||
|
||||
Column {
|
||||
property var title
|
||||
property var provider
|
||||
property var repeaterModel
|
||||
property bool elemSelected
|
||||
property int xIndex
|
||||
Item {
|
||||
width: 10
|
||||
height: 20
|
||||
}
|
||||
Row {
|
||||
Item {
|
||||
height: parent.height
|
||||
width: 16
|
||||
}
|
||||
Text {
|
||||
text: title
|
||||
font.pointSize: 15
|
||||
color: "#cdd7d9"
|
||||
}
|
||||
}
|
||||
Item {
|
||||
width: 10
|
||||
height: 15
|
||||
}
|
||||
Row {
|
||||
Repeater {
|
||||
id: repeater
|
||||
property var provider: modelData
|
||||
model: repeaterModel
|
||||
Show {
|
||||
show: provider.getShow(modelData)
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user