Unity 8
Main Page
Classes
Files
File List
All
Classes
Functions
Properties
PageHeaderLabel.qml
1
/*
2
* Copyright (C) 2013 Canonical, Ltd.
3
*
4
* This program is free software; you can redistribute it and/or modify
5
* it under the terms of the GNU General Public License as published by
6
* the Free Software Foundation; version 3.
7
*
8
* This program is distributed in the hope that it will be useful,
9
* but WITHOUT ANY WARRANTY; without even the implied warranty of
10
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11
* GNU General Public License for more details.
12
*
13
* You should have received a copy of the GNU General Public License
14
* along with this program. If not, see <http://www.gnu.org/licenses/>.
15
*/
16
17
import
QtQuick 2.0
18
import Ubuntu.Components 0.1
19
20
PageHeader {
21
property
alias text: label.text
22
23
childItem: Label {
24
id
: label
25
anchors {
26
left: parent.left
27
leftMargin: units.gu(2)
28
right: parent.right
29
verticalCenter: parent.verticalCenter
30
}
31
32
color: Theme.palette.selected.backgroundText
33
opacity: 0.8
34
font.family:
"Ubuntu"
35
font.weight: Font.Light
36
fontSize:
"x-large"
37
elide: Text.ElideRight
38
style: Text.Raised
39
styleColor:
"black"
40
}
41
}
qml
Components
PageHeaderLabel.qml
Generated on Fri May 16 2014 12:54:26 for Unity 8 by
1.8.6