~pkunal-parmar/ubuntu-calendar-app/ICalImport

« back to all changes in this revision

Viewing changes to CalendarChoicePopup.qml

conflict resolved

Show diffs side-by-side

added added

removed removed

Lines of Context:
24
24
 
25
25
Page {
26
26
    id: root
27
 
 
 
27
    objectName: "calendarchoicepopup"
28
28
    property var model;
29
29
 
30
30
    signal collectionUpdated();
67
67
            width: aadCalendar.width
68
68
            Button {
69
69
                id:aadCalendar
 
70
                objectName: "aadCalendar"
70
71
                text: i18n.tr("Add new Calendar")
71
72
                anchors.top :parent.top
72
73
                anchors.topMargin:units.gu(2)
80
81
        model : root.model.getCollections();
81
82
        delegate: ListItem.Standard {
82
83
            id: delegateComp
 
84
            objectName: "calendarItem"
83
85
 
84
86
            Rectangle {
85
87
                id: calendarColorCode
 
88
                objectName: "calendarColorCode"
86
89
 
87
90
                width: parent.height - units.gu(2)
88
91
                height: width
111
114
            }
112
115
 
113
116
            Label{
 
117
                objectName: "calendarName"
114
118
                text: modelData.name
115
119
                elide: Text.ElideRight
116
120
                opacity: checkBox.checked ? 1.0 : 0.8
125
129
 
126
130
            control: CheckBox {
127
131
                id: checkBox
 
132
                objectName: "checkBox"
128
133
                checked: modelData.extendedMetaData("collection-selected")
129
134
                enabled:  !root.isInEditMode
130
135
                onCheckedChanged: {