59 lines
2.1 KiB
QML
59 lines
2.1 KiB
QML
import QtQuick 2.12
|
|
import QtQuick.Controls 1.4
|
|
|
|
import Ikinuki.Client 1.0
|
|
|
|
TabView {
|
|
property var providers
|
|
width: parent.width * 0.7
|
|
height: parent.height
|
|
tabsVisible: false
|
|
Repeater {
|
|
model: providers
|
|
Tab {
|
|
Rectangle {
|
|
color: "#22282A"
|
|
Column {
|
|
Row {
|
|
spacing: 80
|
|
Item{
|
|
width: 0.1
|
|
height: 10
|
|
}
|
|
Repeater {
|
|
property var provider: modelData
|
|
id: inProgressRepeater
|
|
model: modelData.inProgress
|
|
Column {
|
|
id: showColumn
|
|
property var show: inProgressRepeater.provider.getShow(modelData)
|
|
Image {
|
|
height: 300
|
|
width: 300 * 0.68
|
|
source: showColumn.show.poster
|
|
mipmap: true
|
|
anchors.horizontalCenter: parent.horizontalCenter
|
|
}
|
|
Item {width: 1; height: 15}
|
|
Text {
|
|
text: showColumn.show.title
|
|
color: "white"
|
|
font.pointSize: 15
|
|
anchors.horizontalCenter: parent.horizontalCenter
|
|
}
|
|
Item {width: 1; height: 5}
|
|
Text {
|
|
text: showColumn.show.year
|
|
color: "white"
|
|
font.pointSize: 15
|
|
anchors.horizontalCenter: parent.horizontalCenter
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|