16
16
page.visible = true;
21
acceptedButtons : Qt.RightButton
23
if (page.visible == true)
30
transformOrigin: "Center"
33
anchors.centerIn: parent
34
width: 110; height: 150
24
// source: "./img/toolWidget/hardware.png"
25
//// anchors { top: lineLayout.top; topMargin: 10; left: parent.left; leftMargin: 45 }
26
// width: 47; height: 47
27
// Behavior on rotation { NumberAnimation { duration: 200 } }
32
// text: qsTr("硬件信息:")
36
//// anchors { top: lineLayout.top; topMargin: refreshArrow.height/2; left: parent.left; leftMargin: 45 + refreshArrow.width }
41
// anchors.fill: parent
42
// acceptedButtons : Qt.RightButton
44
// if (page.visible == true)
45
// page.visible = false;
46
// page.focus = false;
51
// transformOrigin: "Center"
54
// anchors.centerIn: parent
55
// width: 110; height: 150
40
61
anchors.centerIn: parent
65
//--------------------下边隐藏说明栏---------------------
68
source: "./img/icons/unselect.png"
69
anchors.top: search.bottom
71
height:show ? 140 : 10
72
Behavior on width { NumberAnimation { easing.type: Easing.OutSine ; duration: 250 } }
73
property bool show: false
75
//// border.right: 26;
81
onClicked: sidebar.show = !sidebar.show
85
opacity: sidebar.show ? 1 : 0
86
Behavior on opacity { NumberAnimation { easing.type:Easing.InCubic; duration: 600} }
88
scale: sidebar.show ? 1 : 0
89
Behavior on scale { NumberAnimation { easing.type:Easing.InCubic; duration: 200 } }
90
transformOrigin: Item.Top
92
anchors.top: parent.top
93
anchors.left: parent.left
94
anchors.right: parent.right
101
source: "./img/icons/book.png"
104
text: "UbuntuKylin Team"
105
width: parent.width - 12
109
width: parent.width - 12
112
text: qsTr("第一期工程 20130601")
113
width: parent.width - 12
117
//------------------------------------------------