1
0
Fork 0
mirror of https://github.com/HenkKalkwater/harbour-sailfin.git synced 2024-11-16 14:35:17 +00:00
harbour-sailfin/sailfish/qml/pages/itemdetails/LiveTvChannelPage.qml
Chris Josten 57b67292fd sailfish: add LiveTvChannels page
This ocmmit adds a LiveTvChannels page for displaying the programs that
are now playing.

The section Live TV Channels on the main page now shows the TV channel
list in order of the channel number.

Additionally, it fixes an issue in ApiModel, where it would not reload
when a new loader was assigned. This is now fixed and some code on pages
that worked around this fix has been removed.
2024-06-03 22:16:13 +02:00

24 lines
599 B
QML

import QtQuick 2.0
import Sailfish.Silica 1.0
import "../../components"
VideoPage {
title: itemData.currentProgram.name
subtitle: qsTr("%1 | %2 - %3")
.arg(itemData.name)
.arg(Qt.formatTime(itemData.currentProgram.startDate))
.arg(Qt.formatTime(itemData.currentProgram.endDate))
SectionHeader {
text: qsTr("Program info")
}
PlainLabel {
id: overviewText
text: itemData.currentProgram.overview || qsTr("No program info available")
font.pixelSize: Theme.fontSizeSmall
color: Theme.secondaryHighlightColor
}
}