2
import Ubuntu.Components 0.1
4
import "dateExt.js" as DateExt
5
import "colorUtils.js" as Color
10
property var dayStart: new Date()
11
property alias eventModel: model;
12
property Flickable flickableChild;
17
signal modelRefreshed();
24
termLength: Date.msPerDay
32
target: flickableChild
35
if (state == "COMPRESSING" || state == "EXPANDING" || !flickableChild.dragging ) return
37
if ( state == "EXPANDED" && flickableChild.contentY < -units.gu(0.5) ) {
38
state = "COMPRESSING";
40
else if (flickableChild.contentY < -units.gu(0.5)) {
46
if (flickableChild.dragging) return;
48
if( state == "EXPANDING" ) {
50
} else if ( state == "COMPRESSING") {