X-Git-Url: https://vcs.maemo.org/git/?a=blobdiff_plain;f=qml%2FLichViet%2FFullMonth.qml;h=62576640941431a3646d43b5fdd769fc57e233d2;hb=192d61be4c51bf49aabcb99f19e7ce783a0bcf3c;hp=331b3f788f6a540207db50327e5717eb17fb3b45;hpb=e021901a0d89a0e55429f34baf03364105344b0c;p=lichviet diff --git a/qml/LichViet/FullMonth.qml b/qml/LichViet/FullMonth.qml index 331b3f7..6257664 100644 --- a/qml/LichViet/FullMonth.qml +++ b/qml/LichViet/FullMonth.qml @@ -24,7 +24,7 @@ import "amlich-aa98.js" as AmLich98 import "CacNgayLeTrongNam.js" as CNLTN Item{ - id: item1 + id: fullmonth Rectangle{ id: fullmonthREC @@ -49,7 +49,7 @@ Item{ if (CNLTN.is_holiday(day, month, stemp[0], stemp[1])) return theme_manager.theme.markdate.holidays; else - return "#007070" + return "#000000"//"#007070" } } @@ -124,8 +124,7 @@ onCanceled:{ id: grid x: -335 y: 41 - width:800 - height: 480 + anchors.horizontalCenterOffset: 15 anchors.bottomMargin: -52 anchors.topMargin: 42 @@ -133,10 +132,22 @@ onCanceled:{ anchors.bottom: parent.bottom anchors.top: parent.top cellWidth: 110; cellHeight: 50 - //Dung : 64 | Nam :110 + + boundsBehavior:Flickable.DragAndOvershootBounds + flickableDirection:Flickable.VerticalFlick + model:lmodel delegate: contactDelegate - focus: false + focus: true + + onMovementStarted:{ + /* var newMonth = screen.curMonth+1; + LC.reset(screen.curDay,newMonth,screen.curYear) + screen.calculateLunar(screen.curDay,newMonth,screen.curYear) + screen.refresh() + reset()*/ + } + } ListModel {