Ubuntu Pastebin

Paste from sverzegnassi at Wed, 26 Aug 2015 21:02:40 +0000

Download as text
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
PageWithBottomEdge {
    id: mainPage
    title: i18n.tr("Overview")
                                                                                            
    Header {
        id: secondHeader
        styleName: "PageHeadStyle"

        config: PageHeadConfiguration {
            title: "Test"
            actions: [
                Action { iconName: "delete" },
                Action { iconName: "add" }

            ]
        }
    }

    // Used for switching from HorizontalFlowListView to ListView, and vice versa.
    Loader {
        id: viewLoader
        //anchors.fill: parent
        anchors {
            left: parent.left
            right: parent.right
            top: secondHeader.bottom
            bottom: parent.bottom
        }

        sourceComponent: (notes.model.count == 0) ? emptyModelItem ? horizontalFlowListView
    }
}
Download as text