X-Git-Url: https://vcs.maemo.org/git/?a=blobdiff_plain;f=qml%2FLichViet%2FAbout.qml;fp=qml%2FLichViet%2FAbout.qml;h=b9e696ddf59f2e31353b570a92eb0d6d3778879c;hb=5e2b3c9e7b8302cf58a799cdfc718fc7137abd21;hp=bc11951e541d0cce61d2b128e2e4db0bf594165e;hpb=31922fa7094d9554f2d6cef18a4f796ba22993ae;p=lichviet diff --git a/qml/LichViet/About.qml b/qml/LichViet/About.qml index bc11951..b9e696d 100644 --- a/qml/LichViet/About.qml +++ b/qml/LichViet/About.qml @@ -19,136 +19,136 @@ import QtQuick 1.0 import "Themes.js" as Themes Item{ - + id: aboutdlg - + anchors.verticalCenter: parent.verticalCenter width: parent.width; height: parent.height; x:(parent.width * 1.5) signal close - + Loader { id: theme_manager property alias theme: theme_manager.item source: Themes.default_theme() - } + } Connections { target: aboutdlg.parent - + onDialogClose: { aboutdlg.state = "close"; aboutdlg.destroy(600); + } } - } - + Rectangle { id: rectangle1 anchors.fill: parent; anchors.bottomMargin: 0 visible: true opacity:0.8 - - Image { - id: image1 - x: 0 - y: 43 - width: 100 - height: 100 - anchors.horizontalCenterOffset: 0 - anchors.horizontalCenter: parent.horizontalCenter - source: "qrc:/LichViet.png" - + + Image { + id: image1 + x: 0 + y: 43 + width: 100 + height: 100 + anchors.horizontalCenterOffset: 0 + anchors.horizontalCenter: parent.horizontalCenter + source: "qrc:/LichViet.png" + + Text { + id: text3 + x: 10 + y: 261 + width: 80 + height: 20 + text: "Chương trình có tham khảo thuật toán tính
Âm Lịch của tác giả Hồ Ngọc Đức.
http://www.informatik.uni-leipzig.de/~duc/amlich/" + anchors.horizontalCenterOffset: 0 + anchors.horizontalCenter: parent.horizontalCenter + verticalAlignment: Text.AlignVCenter + horizontalAlignment: Text.AlignHCenter + font.pixelSize: 16 + } + } + Text { - id: text3 + id: text1 + x: 11 + y: 171 + width: 80 + height: 20 + text: "Lịch Âm Việt Nam
OS: Maemo 5 (Fremantle)" + anchors.horizontalCenterOffset: 1 + font.bold: true + anchors.horizontalCenter: parent.horizontalCenter + horizontalAlignment: Text.AlignHCenter + verticalAlignment: Text.AlignVCenter + font.pixelSize: 23 + } + + Text { + id: text2 x: 10 - y: 261 + y: 234 width: 80 height: 20 - text: "Chương trình có tham khảo thuật toán tính
Âm Lịch của tác giả Hồ Ngọc Đức.
http://www.informatik.uni-leipzig.de/~duc/amlich/" + text: "Phiên bản : 1.0.2-4 (15/09/2011)
\ +Phát triển bởi : metacuong@gmail.com" anchors.horizontalCenterOffset: 0 - anchors.horizontalCenter: parent.horizontalCenter + wrapMode: Text.NoWrap verticalAlignment: Text.AlignVCenter horizontalAlignment: Text.AlignHCenter - font.pixelSize: 16 + anchors.horizontalCenter: parent.horizontalCenter + font.pixelSize: 24 + } + + } - } - - Text { - id: text1 - x: 11 - y: 171 - width: 80 - height: 20 - text: "Lịch Âm Việt Nam
OS: Maemo 5" - anchors.horizontalCenterOffset: 1 - font.bold: true - anchors.horizontalCenter: parent.horizontalCenter - horizontalAlignment: Text.AlignHCenter - verticalAlignment: Text.AlignVCenter - font.pixelSize: 26 - } - - Text { - id: text2 - x: 10 - y: 234 - width: 80 - height: 20 - text: "Phiên bản : 1.0.2-4 (13/09/2011)
\ -Phát triển bởi : metacuong@gmail.com" -anchors.horizontalCenterOffset: 0 -wrapMode: Text.NoWrap - verticalAlignment: Text.AlignVCenter - horizontalAlignment: Text.AlignHCenter - anchors.horizontalCenter: parent.horizontalCenter - font.pixelSize: 24 - } - - -} Rectangle { width : aboutdlg.width height: 45 color:"white" opacity: 0.5 - } - + } + Text { id: title - + anchors { horizontalCenter: aboutdlg.horizontalCenter; top: aboutdlg.top; topMargin: 10 } font.pixelSize: 22 color: "black" text: qsTr("About") smooth: true font.bold: true - } - - + } + + ToolBarSingle { id: toolBar; height: 42; y: parent.height-52 width: parent.width; button1Label: "Quay Về" onButton1Clicked:aboutdlg.close() - } - + } + states: [ State { name: "show" AnchorChanges { target: aboutdlg; anchors.right: parent.right } - }, + }, State { name: "close" AnchorChanges { target: aboutdlg; anchors.right: parent.left } - } - ] - + } + ] + transitions: Transition { AnchorAnimation { easing.type: Easing.OutQuart; duration: 300 } + } + } - -}