~ci-train-bot/ubuntu-settings-components/ubuntu-settings-components-ubuntu-zesty-2329

« back to all changes in this revision

Viewing changes to examples/OtherComponents.qml

  • Committer: Bileto Bot
  • Author(s): Marco Trevisan (Treviño)
  • Date: 2016-11-16 18:53:05 UTC
  • mfrom: (146.5.59 new-calendar-design)
  • Revision ID: ci-train-bot@canonical.com-20161116185305-9tbt8a13jwop36l8
Calendar: update to new style with weekdays header and Month selection (LP: #1640936, #1641719, #1641721, #1641722, #1641724, #1641728)

Approved by: Lukáš Tinkl, Unity8 CI Bot

Show diffs side-by-side

added added

removed removed

Lines of Context:
153
153
 
154
154
            CalendarMenu {
155
155
                id: calendar
 
156
                eventDays: currentDate.getMonth() % 2 ? [5, 20] : []
 
157
            }
 
158
 
 
159
            SwitchMenu {
 
160
                text: i18n.tr("Show week numbers in calendar")
 
161
                checked: calendar.showWeekNumbers
 
162
                onCheckedChanged: calendar.showWeekNumbers = checked
156
163
            }
157
164
 
158
165
            UserSessionMenu {