Episodes page: Make page header clickable
This commit is contained in:
parent
7495618cc8
commit
71163bc1af
1 changed files with 11 additions and 9 deletions
|
@ -55,21 +55,23 @@ Page {
|
||||||
VerticalScrollDecorator { flickable: episodeList }
|
VerticalScrollDecorator { flickable: episodeList }
|
||||||
|
|
||||||
anchors.fill: parent
|
anchors.fill: parent
|
||||||
header: PageHeader {
|
header: BackgroundItem {
|
||||||
title: episodesPage.title
|
height: pageHeader.height
|
||||||
|
width: parent.width
|
||||||
|
PageHeader {
|
||||||
|
id: pageHeader
|
||||||
|
title: episodesPage.title
|
||||||
|
}
|
||||||
|
|
||||||
|
onClicked: {
|
||||||
|
pgst.loadPage('PodcastDetail.qml', {podcast_id: episodesPage.podcast_id, title: episodesPage.title});
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
model: GPodderEpisodeListModel { id: episodeListModel }
|
model: GPodderEpisodeListModel { id: episodeListModel }
|
||||||
GPodderEpisodeListModelConnections {}
|
GPodderEpisodeListModelConnections {}
|
||||||
|
|
||||||
PullDownMenu {
|
PullDownMenu {
|
||||||
MenuItem {
|
|
||||||
text: 'Podcast details'
|
|
||||||
onClicked: {
|
|
||||||
pgst.loadPage('PodcastDetail.qml', {podcast_id: episodesPage.podcast_id, title: episodesPage.title});
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
MenuItem {
|
MenuItem {
|
||||||
text: 'Mark episodes as old'
|
text: 'Mark episodes as old'
|
||||||
onClicked: {
|
onClicked: {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue