Add sample qml application
[staging/HomeScreen.git] / sample-qml / imports / components / AwesomeIcon.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 system 1.0\r
9 import components 1.0\r
10 import utils 1.0\r
11 \r
12 Item {\r
13     height: icon.height\r
14     width: icon.height\r
15 \r
16     property alias iconSize: icon.font.pixelSize\r
17     property alias ucKey: icon.text\r
18     property alias iconColor: icon.color\r
19 \r
20     Text {\r
21         id: icon\r
22         font.family: "FontAwesome"\r
23         color: "white"\r
24     }\r
25 }\r
26 \r