~mterry/+junk/u8.2

« back to all changes in this revision

Viewing changes to qml/Panel/Indicators/client/IndicatorsList.qml

  • Committer: Michael Terry
  • Date: 2014-11-17 14:56:04 UTC
  • mfrom: (1317.1.118 unity8)
  • Revision ID: michael.terry@canonical.com-20141117145604-96dn9p5nwkifq2f4
MergeĀ fromĀ trunk

Show diffs side-by-side

added added

removed removed

Lines of Context:
22
22
import Ubuntu.Components.ListItems 0.1 as ListItem
23
23
import Unity.Indicators 0.1 as Indicators
24
24
import "../.."
25
 
import "../../../Components/Flickables" as Flickables
26
25
 
27
26
Page {
28
27
    id: page
36
35
        Component.onCompleted: load(profile)
37
36
    }
38
37
 
39
 
    Flickables.ListView {
 
38
    ListView {
40
39
        id: mainMenu
41
40
        objectName: "mainMenu"
42
41
        anchors.fill: parent
58
57
                text: identifier
59
58
 
60
59
                onClicked: {
61
 
                    var new_page = Qt.createComponent("IndicatorsPage.qml");
62
 
                    page.pageStack.push(new_page.createObject(pages), {"indicatorProperties" : model.indicatorProperties, "pageSource" : model.pageSource});
 
60
                    var new_page = Qt.createComponent("IndicatorRepresentation.qml");
 
61
                    page.pageStack.push(new_page.createObject(pages), {"indicatorProperties" : model.indicatorProperties });
63
62
                }
64
63
            }
65
64
        }