5 import "qrc:/tlb/ui/qml/templates"
6 /* import tlb.ui 1.0 */
9 pageTitle: "Show Details"
11 /* this should show actual details for a show. sqlite? */
25 /* MVP: show basic stats of the show. */
34 active: AppManager.shows.current !== null
35 sourceComponent: /* ColumnLayout { */ Column {
39 text: "Name: " + AppManager.shows.current.title
41 Layout.preferredWidth: parent.width
45 wrapMode: Text.WordWrap
46 /* the description already has paragraphs, add more for separation */
47 text: "Description: <p>" + AppManager.shows.current.description + "</p>"
50 /* these don't work by proxy if we want the word wrap to work */
51 textMaxWidth: parent.width
52 /* Layout.fillWidth: true */
53 Layout.maximumWidth: parent.width
54 Layout.preferredWidth: parent.width
55 Layout.maximumHeight: 1000
58 text: "Language: " + AppManager.shows.current.language
61 Layout.preferredWidth: parent.width
64 text: "Author: " + AppManager.shows.current.author
67 Layout.preferredWidth: parent.width
70 text: "Episodes: " + AppManager.shows.current.episodeCount
73 Layout.preferredWidth: parent.width
78 /* Summary of recent episodes */
83 text: AppManager.shows.selectedName + " FETCH BY HAND"
87 /* near the bottom, put a refresh button that downloads the feed. */
100 AppManager.shows.refreshSelected()