47 lines
938 B
QML
47 lines
938 B
QML
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 + (xIndex * 270)
|
|
Behavior on width {
|
|
NumberAnimation {
|
|
duration: 200
|
|
easing.type: Easing.Linear
|
|
}
|
|
}
|
|
}
|
|
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)
|
|
}
|
|
}
|
|
}
|
|
}
|