summaryrefstree
path: root/usr/bin/qml/Reminder/Reminder_Masklayer.qml
blob: 4f0254f64ac3cea304c21efa709fbd9e7d79e676 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
import QtQuick 2.0
import "../com/neusoft/auto/widgets"
import "coordinate.js" as CONFIG
import "../windowsList.js" as WindowsList
import "../layoutList.js" as Layout
import Label 2.0

Item
{
    property int titlebarx: titilbar.x
    property int titlebary: titilbar.y

    property int bottombarx: maskbottomac.x
    property int bottombary: maskbottomac.y



    signal closelistyearandmonth()


    visible: true
    id:maskarea

    Component.onCompleted:
    {
        console.log("***********************************Reminder_Masklayer.qml show**********************************")
        windowID = WindowsList.RMD_MAIN
    }
    Rectangle
    {
        id:titilbar
        x:0
        y:0
        width: 960
        height: 70+90
        color: "green"
        opacity: 0

        MouseArea
        {
            anchors.fill: parent
            propagateComposedEvents:true
            onPressed:{

                mCalendar.closeYearandmonthlist();
                mouse.accepted=false;
            }

        }

    }

/*
    Rectangle{
        id:weekmask
        x:0
        y:275

        width: 960
        height: 53
        color: "green"
        opacity: 0
        MouseArea
        {
            anchors.fill: parent
            propagateComposedEvents:true
            onPressed:{

                mCalendar.closeYearandmonthlist();
                mouse.accepted=false;
            }

        }
    }
*/
    Rectangle{
        id:maskbottomac
        x:0
        y:960+160

        width: 960
        height: 160
        color: "green"
        opacity: 0
        MouseArea
        {
            anchors.fill: parent
            propagateComposedEvents:true
            onPressed:{

                mCalendar.closeYearandmonthlist();
                mouse.accepted=false;
            }

        }
    }

}