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

« back to all changes in this revision

Viewing changes to share/gpodder/ui/qml/sailfish/org/gpodder/qmlui/PagePage.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
import Sailfish.Silica 1.0
 
4
 
 
5
Page {
 
6
    id: pagePage
 
7
    signal closed
 
8
    property bool hasMenu: actions.length > 0
 
9
    property bool lockToPortrait: false
 
10
    property alias actions: actionMenu.content
 
11
    property alias listview: actionMenu.listview
 
12
 
 
13
    allowedOrientations: lockToPortrait?Orientation.Portrait:Orientation.All
 
14
 
 
15
    function close() {
 
16
        pageStack.pop();
 
17
        closed();
 
18
    }
 
19
 
 
20
    ActionMenu {
 
21
        id: actionMenu
 
22
    }
 
23
}
 
24