~artmello/gallery-app/gallery-app-fix_crash_adding_files

« back to all changes in this revision

Viewing changes to rc/qml/EventCheckerboard.qml

  • Committer: Jim Nelson
  • Date: 2012-01-20 22:12:49 UTC
  • Revision ID: jim@yorba.org-20120120221249-81cc1q2jzdkej57k
Event and EventCollection introduced, represented in QML by
QmlEventCollectionModel.  This is work toward completing bug #915655,
the Event Timeline view.

Show diffs side-by-side

added added

removed removed

Lines of Context:
21
21
import Gallery 1.0
22
22
 
23
23
Checkerboard {
24
 
  model: EventCollectionModel {
 
24
  model: EventOverviewModel {
25
25
  }
26
26
  
27
27
  delegate: Item {
44
44
      verticalAlignment: Text.AlignVCenter
45
45
      horizontalAlignment: Text.AlignHCenter
46
46
      
47
 
      text: (visible) ? modelData.object.prettyDate : ""
 
47
      text: (visible) ? Qt.formatDate(modelData.object.date, "d-M-yyyy") : ""
48
48
    }
49
49
  }
50
50
}