~pkunal-parmar/ubuntu-calendar-app/EventBubble-MinHeight

« back to all changes in this revision

Viewing changes to calendar.qml

  • Committer: Kunal Parmar
  • Date: 2014-03-23 14:27:31 UTC
  • mfrom: (212.2.6 ubuntu-calendar-app)
  • Revision ID: pkunal.parmar@gmail.com-20140323142731-o82a4408g8jvay30
mergeĀ fromĀ trunk

Show diffs side-by-side

added added

removed removed

Lines of Context:
233
233
 
234
234
            Tabs{
235
235
                id: tabs
 
236
 
236
237
                Tab{
237
238
                    objectName: "yearTab"
238
239
                    title: i18n.tr("Year")
270
271
                    }
271
272
                }
272
273
                Tab{
 
274
                    id: weekTab
273
275
                    objectName: "weekTab"
274
276
                    title: i18n.tr("Week")
275
277
                    page: Page{
278
280
                        WeekView{
279
281
                            id: weekView
280
282
                            anchors.fill: parent
 
283
                            isCurrentPage: tabs.selectedTab == weekTab
281
284
 
282
285
                            onDayStartChanged: {
283
286
                                tabPage.currentDay = dayStart;
287
290
                }
288
291
 
289
292
                Tab{
 
293
                    id: dayTab
290
294
                    objectName: "dayTab"
291
295
                    title: i18n.tr("Day")
292
296
                    page: Page{
295
299
                        DayView{
296
300
                            id: dayView
297
301
                            anchors.fill: parent
 
302
                            isCurrentPage: tabs.selectedTab == dayTab
298
303
 
299
304
                            onCurrentDayChanged: {
300
305
                                tabPage.currentDay = currentDay;