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

« back to all changes in this revision

Viewing changes to EventBubble.qml

  • Committer: Kunal Parmar
  • Date: 2015-01-22 16:54:09 UTC
  • mto: This revision was merged to the branch mainline in revision 600.
  • Revision ID: pkunal.parmar@gmail.com-20150122165409-4t5575mkeh3jx404
Live event modification

Show diffs side-by-side

added added

removed removed

Lines of Context:
33
33
    property int depthInRow: 0;
34
34
    property int sizeOfRow:0
35
35
 
 
36
    property bool isLiveEditing: false
 
37
 
36
38
    property Flickable flickable;
37
39
 
38
40
    readonly property int minimumHeight: type == wideType
46
48
    Rectangle{
47
49
        id: bg
48
50
        anchors.fill: parent
49
 
        border.color: "white"
 
51
        border.color: isLiveEditing ? "red" : "white"
50
52
    }
51
53
 
52
54
    function resize() {
212
214
        }
213
215
    }
214
216
 
 
217
    Drag.active: dragArea.drag.active
 
218
 
215
219
    MouseArea {
 
220
        id: dragArea
216
221
        anchors.fill: parent
 
222
        drag.target: infoBubble
 
223
        drag.axis: Drag.YAxis
 
224
        //drag.minimumY: parent.y
 
225
        onReleased: parent.Drag.drop()
217
226
        onClicked: {
218
227
            infoBubble.clicked(event);
219
228
        }