~lukas-kde/unity8/defaultKeymap

« back to all changes in this revision

Viewing changes to qml/Launcher/MoreAppsHeader.qml

  • Committer: Lukáš Tinkl
  • Date: 2016-12-15 16:48:20 UTC
  • mfrom: (2608.8.73 unity8)
  • Revision ID: lukas.tinkl@canonical.com-20161215164820-4dkqt89x3n3f12tr
merge trunk

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
import QtQuick 2.4
 
2
import Ubuntu.Components 1.3
 
3
 
 
4
AbstractButton {
 
5
    id: root
 
6
 
 
7
    onClicked: {
 
8
        // TODO: Make this point to the snappy store as soon as we stop landing to vivid
 
9
        Qt.openUrlExternally("scope://com.canonical.scopes.clickstore")
 
10
    }
 
11
 
 
12
    UbuntuShape {
 
13
        width: parent.width
 
14
        height: parent.height - units.gu(1)
 
15
        color: "#20ffffff"
 
16
        aspect: UbuntuShape.Flat
 
17
 
 
18
        Row {
 
19
            anchors.fill: parent
 
20
            anchors.margins: units.gu(1)
 
21
            spacing: units.gu(1)
 
22
 
 
23
            Icon {
 
24
                height: units.gu(2.2)
 
25
                width: height
 
26
                name: "stock_application"
 
27
                anchors.verticalCenter: parent.verticalCenter
 
28
                color: "white"
 
29
            }
 
30
 
 
31
            Label {
 
32
                text: i18n.tr("More apps in the store")
 
33
                anchors.verticalCenter: parent.verticalCenter
 
34
                fontSize: "small"
 
35
            }
 
36
 
 
37
            Icon {
 
38
                height: units.gu(2.5)
 
39
                width: height
 
40
                anchors.verticalCenter: parent.verticalCenter
 
41
                name: "go-next"
 
42
                color: "white"
 
43
            }
 
44
        }
 
45
    }
 
46
}