Add sample qml application
[staging/HomeScreen.git] / sample-qml / imports / components / Label.qml
1 /* Copyright (C) 2015, Jaguar Land Rover. All Rights Reserved.\r
2  *\r
3  * This Source Code Form is subject to the terms of the Mozilla Public\r
4  * License, v. 2.0. If a copy of the MPL was not distributed with this\r
5  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */\r
6 \r
7 import QtQuick 2.0\r
8 import utils 1.0\r
9 \r
10 Item {\r
11     // Tracer {}\r
12     width: childrenRect.width\r
13     height: childrenRect.height\r
14     property alias text: text.text\r
15     property alias label: text\r
16     property alias fontSize: text.font.pixelSize\r
17     property alias fontColor: text.color\r
18 \r
19     Text {\r
20         id: text\r
21         color: "#ddd"\r
22         font.family: "Source Sans Pro"\r
23         font.pixelSize: 40\r
24         font.capitalization: Font.AllUppercase\r
25         font.weight: Font.Bold\r
26      }\r
27 }\r