02fdde57f413adb629d6e5d49843b008f1118946
[lichviet] / qml / LichViet / NoFeatureDialog.qml
1 /*
2 Copyright (C) 2011  by Cuong Le <metacuong@gmail.com>
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, either version 3 of the License, or
7 (at your option) any later version.
8
9 This program is distributed in the hope that it will be useful,
10 but WITHOUT ANY WARRANTY; without even the implied warranty of
11 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
12 GNU General Public License for more details.
13
14 You should have received a copy of the GNU General Public License
15 along with this program.  If not, see <http://www.gnu.org/licenses/>
16 */
17
18 import QtQuick 1.0
19
20 Item{
21     id: item1
22
23     Rectangle {
24         id: rectangle1
25         x: 0
26         y: -16
27         anchors.centerIn: parent
28         width:344
29         height: 234
30         radius: 4
31         gradient: Gradient {
32             GradientStop {
33                 position: 0
34                 color: "#ffffff"
35             }
36
37             GradientStop {
38                 position: 0.97
39                 color: "#ffffff"
40             }
41
42             GradientStop {
43                 position: 0.04
44                 color: "#aca4c6"
45             }
46         }
47         border.color: "#f3e3e8"
48         visible: true
49         opacity:0.9
50
51         Button {
52             id: button2
53             x: 102
54             anchors.right: parent.right; anchors.rightMargin: 102; y: 185; width: 140; height: 40
55             text: "OK"
56             onClicked: {screen.state="mainscreen"}
57         }
58
59         Button {
60             id: button3
61             x: 298
62             y: 6
63             width: 39
64             height: 40
65             text: "X"
66             anchors.rightMargin: 56
67             onClicked: {screen.state="mainscreen"}
68         }
69
70         Text {
71             id: text1
72             x: 132
73             y: 100
74             width: 80
75             height: 20
76             color: "#12347e"
77             text: "Chức năng này hiện chưa có !"
78             font.strikeout: false
79             horizontalAlignment: Text.AlignHCenter
80             font.pixelSize: 22
81
82         }
83     }
84     transitions: [
85         Transition { NumberAnimation { properties: "x,y,opacity"; duration: 500; easing.type: Easing.InOutBack } }
86     ]
87 }