Replace pull menu with header icon; more dialogs

This commit is contained in:
Thomas Perl 2014-03-15 20:06:48 +01:00
parent 96cbdd4b64
commit debc6519be
17 changed files with 121 additions and 201 deletions

View file

@ -27,7 +27,7 @@ ListView {
property string title
property real pushPhase: 0
property bool headerHasIcon: false
property string headerIcon
property string headerIconText
signal headerIconClicked()
@ -35,8 +35,9 @@ ListView {
boundsBehavior: Flickable.StopAtBounds
header: SlidePageHeader {
id: header
title: pListView.title
hasIcon: pListView.headerHasIcon
icon: pListView.headerIcon
iconText: pListView.headerIconText
onIconClicked: pListView.headerIconClicked()
}