~ubuntu-branches/ubuntu/vivid/gpodder/vivid

« back to all changes in this revision

Viewing changes to share/gpodder/ui/qml/harmattan/org/gpodder/qmlui/ListList.qml

  • Committer: Package Import Robot
  • Author(s): tony mancill
  • Date: 2013-04-12 22:07:02 UTC
  • mfrom: (5.2.27 sid)
  • Revision ID: package-import@ubuntu.com-20130412220702-mux8v9r8zt2jin0x
Tags: 3.5.1-1
* New upstream release.
* d/control: declare versioned dependency on python-gtk2 (>= 2.16)

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
 
 
2
import QtQuick 1.1
 
3
 
 
4
ListView {
 
5
    property string headerText: ''
 
6
    property int headerHeight: 0
 
7
 
 
8
    property bool hasRefresh: false
 
9
    signal refresh
 
10
 
 
11
    PullDownHandle {
 
12
        enabled: parent.hasRefresh
 
13
        target: parent
 
14
        pullDownText: _('Pull down to refresh')
 
15
        releaseText: _('Release to refresh')
 
16
        onRefresh: parent.refresh()
 
17
    }
 
18
}