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 }
|
||||
|
||||
anchors.fill: parent
|
||||
header: PageHeader {
|
||||
title: episodesPage.title
|
||||
header: BackgroundItem {
|
||||
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 }
|
||||
GPodderEpisodeListModelConnections {}
|
||||
|
||||
PullDownMenu {
|
||||
MenuItem {
|
||||
text: 'Podcast details'
|
||||
onClicked: {
|
||||
pgst.loadPage('PodcastDetail.qml', {podcast_id: episodesPage.podcast_id, title: episodesPage.title});
|
||||
}
|
||||
}
|
||||
|
||||
MenuItem {
|
||||
text: 'Mark episodes as old'
|
||||
onClicked: {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue