X-Git-Url: http://git.maemo.org/git/?p=lichviet;a=blobdiff_plain;f=qml%2Fthemes%2Fdefault%2Fdefault.qml;fp=qml%2Fthemes%2Fdefault%2Fdefault.qml;h=30f49289592efb841fca40a5015d3b031859d900;hp=620e26ffcae72568f1e53dd51691e4514ebbcdbe;hb=e1012b202f1eab1f59e3bb03ecc3f2eadcde9226;hpb=1dad491bc9e86781cc3cb99b7c156a267a019787 diff --git a/qml/themes/default/default.qml b/qml/themes/default/default.qml index 620e26f..30f4928 100644 --- a/qml/themes/default/default.qml +++ b/qml/themes/default/default.qml @@ -1,45 +1,16 @@ -import QtQuick 1.1 +import QtQuick 1.0 Item { id:theme - property alias titlebar: titlebar - property alias datepicker: datepicker - property alias toolbar: toolbar property alias markdate: markdate - property string root_dir : "file:/opt/usr/share/LichViet/themes/default/" + property string root_dir : "file:/opt/usr/share/LichViet/themes/default/" property string background_image: root_dir+"background.jpg" - property real background_opacity: 0.3 + property real background_opacity: 1.0 property string switch_on: root_dir+"switch_on.png" property string switch_off: root_dir+"switch_off.png" - Item{ - id:titlebar - property string button: root_dir+"quit.png" - property string button_pressed: root_dir+"quit_pressed.png" - property string button_active: root_dir+"quit.png" - property string sci: root_dir+"titlebar.sci" - - property string minimize_button: root_dir+"minimize.png" - property string minimize_button_pressed: root_dir+"minimize_pressed.png" - } - - Item{ - id:toolbar - property string sci: root_dir+"titlebar.sci" - property string button_sci: root_dir+"toolbutton.sci" - property string button_pressed_sci: root_dir+"toolbutton_pressed.sci" - property string button_active_sci: root_dir+"toolbutton.sci" - } - - Item{ - id:datepicker - property string button: root_dir+"dp_button.png" - property string button_pressed: root_dir+"dp_button_pressed.png" - property string button_active: root_dir+"dp_button_active.png" - } - Item{ id:markdate property string sunday:"red" @@ -47,6 +18,7 @@ Item { property string otherday:"grey" property string otherday_selected:"#FFFFFF" property string holidays:"yellow" - property string not_holidays:"#FFFF99" + property string not_holidays:"#FFFF99" + property string lunardate:"white" } }