~bregma/+junk/libertine

« back to all changes in this revision

Viewing changes to libertine/qml/HomeView.qml

  • Committer: Stephen M. Webb
  • Date: 2015-05-19 15:57:28 UTC
  • Revision ID: stephen.webb@canonical.com-20150519155728-8f1mk4hvj1f34tb6
roughed-in the Container Apps view

Show diffs side-by-side

added added

removed removed

Lines of Context:
22
22
 
23
23
Page {
24
24
    id: homeView
25
 
    title: "Placeholder"
 
25
    title: i18n.tr("Classic Apps")
 
26
 
 
27
    head.actions: [
 
28
        Action {
 
29
            iconName: "add"
 
30
            onTriggered: mainView.state = "ADD_APPS"
 
31
        },
 
32
        Action {
 
33
            iconName: "settings"
 
34
            onTriggered: print("settings")
 
35
        }
 
36
    ]
 
37
 
 
38
    ContainerApps {
 
39
        id: containerApps
 
40
    }
 
41
 
 
42
    ListView {
 
43
        model: containerApps.appsForContainer
 
44
        delegate: Text {
 
45
            text: mainView.currentContainerId
 
46
        }
 
47
    }
26
48
}