~pkunal-parmar/ubuntu-calendar-app/Minor-Performance

« back to all changes in this revision

Viewing changes to EventRepetition.qml

  • Committer: Tarmac
  • Author(s): Mihir Soni
  • Date: 2014-10-22 18:27:38 UTC
  • mfrom: (519.1.3 limitLablesModel)
  • Revision ID: tarmac-20141022182738-g8jxgtygmunt7y6g
Moved limitLabels from object to ListModel.

Approved by Kunal Parmar, Ubuntu Phone Apps Jenkins Bot, Arto Jalkanen.

Show diffs side-by-side

added added

removed removed

Lines of Context:
44
44
        id:eventUtils
45
45
    }
46
46
 
 
47
    LimitLabelModel {
 
48
        id:limitLabels
 
49
    }
 
50
 
47
51
    Component.onCompleted: {
48
52
        //Fill Date & limitcount if any
49
53
        var index = 0;
203
207
                margins: units.gu(2)
204
208
            }
205
209
 
206
 
            model: Defines.limitLabel
 
210
            model: limitLabels
207
211
            containerHeight: itemHeight * 4
208
212
            onExpandedChanged:   Qt.inputMethod.hide()
209
213
        }