Unity 8
MoreAppsHeader.qml
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 }