aboutsummaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
authorJ-P Nurmi <jpnurmi@theqtcompany.com>2015-10-02 23:03:58 +0200
committerJ-P Nurmi <jpnurmi@theqtcompany.com>2015-10-04 10:56:24 +0000
commit1862fc5a32fd0523a56d24f2f90df3d9f54ba967 (patch)
tree6b80f228ceef64cf5a42a3d9a016ed28172cc18c /examples
parent0cb096251c4f5af79126e71cfa7a7f9e910dac95 (diff)
Rename CalendarView to MonthGrid
Let's reserve CalendarView for a bit higher level control that combines MonthGrid, DayOfWeekRow and WeekNumberColumn, and provides built-in navigation. CalendarView would use the not-so-extensible CalendarModel internally, so we could get that out of the public API as well... Change-Id: I43126ed4c87f54a5b24129b9d60c969f5bd58642 Reviewed-by: J-P Nurmi <jpnurmi@theqtcompany.com>
Diffstat (limited to 'examples')
-rw-r--r--examples/labs/calendar/main.qml2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/labs/calendar/main.qml b/examples/labs/calendar/main.qml
index 490dc4d1..9b4e6f9a 100644
--- a/examples/labs/calendar/main.qml
+++ b/examples/labs/calendar/main.qml
@@ -94,7 +94,7 @@ ApplicationWindow {
highlightRangeMode: ListView.StrictlyEnforceRange
orientation: parent.width > parent.height ? ListView.Vertical : ListView.Horizontal
- delegate: CalendarView {
+ delegate: MonthGrid {
id: delegate
width: calendar.width