114.2.2
by Kunal Parmar
added missing file |
1 |
import QtQuick 2.0 |
2 |
import Ubuntu.Components 0.1 |
|
3 |
||
4 |
Item{ |
|
5 |
id: header
|
|
6 |
width: parent.width |
|
7 |
height: monthLabel.height |
|
8 |
||
199.1.2
by Kunal Parmar
Code clean up and further improvemnts |
9 |
property int month; |
10 |
property int year; |
|
11 |
||
138.1.3
by Kunal Parmar
reused view header |
12 |
property string monthLabelFontSize: "x-large" |
13 |
property string yearLabelFontSize: "large" |
|
114.2.2
by Kunal Parmar
added missing file |
14 |
|
15 |
Label{ |
|
16 |
id: monthLabel
|
|
143.1.4
by Andrea Cerisara
Merged master, fixed autopilot tests. |
17 |
objectName: "monthLabel" |
138.1.3
by Kunal Parmar
reused view header |
18 |
fontSize: monthLabelFontSize |
199.1.2
by Kunal Parmar
Code clean up and further improvemnts |
19 |
text: Qt.locale().standaloneMonthName(month) |
114.2.2
by Kunal Parmar
added missing file |
20 |
anchors.leftMargin: units.gu(1) |
21 |
anchors.left: parent.left |
|
22 |
//color:"white"
|
|
23 |
anchors.verticalCenter: parent.verticalCenter |
|
24 |
}
|
|
25 |
||
26 |
Label{ |
|
27 |
id: yearLabel
|
|
143.1.4
by Andrea Cerisara
Merged master, fixed autopilot tests. |
28 |
objectName: "yearLabel" |
138.1.3
by Kunal Parmar
reused view header |
29 |
fontSize: yearLabelFontSize |
199.1.2
by Kunal Parmar
Code clean up and further improvemnts |
30 |
text: year |
114.2.2
by Kunal Parmar
added missing file |
31 |
anchors.right: parent.right |
32 |
anchors.rightMargin: units.gu(1) |
|
33 |
color:"#AEA79F" |
|
34 |
anchors.verticalCenter: parent.verticalCenter |
|
35 |
}
|
|
36 |
}
|