along with this program. If not, see <http://www.gnu.org/licenses/>
*/
-import QtQuick 1.1
+import QtQuick 1.0
import "Themes.js" as Themes
import "Settings.js" as Settings
Item {
id: screen
- width: 480
- height: 800
+ width: 800
+ height: 480
state:"mainscreen"
Script.fullmonth.m_month=Script.curMonth;
Script.fullmonth.m_year=Script.curYear;
Script.fullmonth.reset();
+ maindatemodel.reset();
}
Rectangle {
Text {
id: txtDMY
- x: 140
+ x: 151
y: 77
- width: 80
height: 20
color: "#29d999"
- textFormat: Text.RichText
text: "Tháng <b>"+screen.curMonth+"</b> Năm <b>"+screen.curYear+"</b>"
+ horizontalAlignment: Text.AlignHCenter
anchors.horizontalCenter: parent.horizontalCenter
font.bold: false
font.family: "Tahoma"
smooth: true
- horizontalAlignment: Text.AlignHCenter
font.pixelSize: 28
}
id: txtTHU
x: 151
y: 210
- width: 80
height: 20
color: "#f0f0f5"
text: Script.__txtTHU_format()
id: txtInfo
x: 151
y: (screen.is_holiday ? 270 : 250)
- width: 80
height: 20
color: (Script.is_holiday ? theme_manager.theme.markdate.holidays : theme_manager.theme.markdate.not_holidays)
text: Script.__txtInfo_format()
id: txtDAYAmLich
x: 151
y: 330
- width: 80
height: 20
- color: "#f0f0f5"
+ color: theme_manager.theme.markdate.lunardate
text: Script.__txtDAYAmLich_format()
horizontalAlignment: Text.AlignHCenter
anchors.horizontalCenter: parent.horizontalCenter
},
State {
name: "switchX";
+ PropertyChanges { target: titleBar; y: -50 }
PropertyChanges { target: toolBar; y: screen.height }
PropertyChanges { target: toolBar }
PropertyChanges { target: mouseareaMM;enabled:false }