Refactor qml file hierarchy
This commit is contained in:
@@ -0,0 +1,33 @@
|
||||
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: 40
|
||||
}
|
||||
Text {
|
||||
text: title
|
||||
font.pointSize: 30
|
||||
color: "white"
|
||||
}
|
||||
Item {
|
||||
width: 10
|
||||
height: 40
|
||||
}
|
||||
Row {
|
||||
Repeater {
|
||||
property var provider: modelData
|
||||
model: repeaterModel
|
||||
Show {
|
||||
show: provider.getShow(modelData)
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user