diff options
author | Jens Bache-Wiig <jens.bache-wiig@digia.com> | 2014-03-06 14:53:30 +0100 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2014-03-12 11:58:17 +0100 |
commit | 4569ed127c290bea8d165e15dc2eca525825c627 (patch) | |
tree | ea44b1d873f78c46c608c504df083d3c9e137bf1 /tests | |
parent | 15b85b154ea1d958c893e35b4d9d2d164c7e0b66 (diff) | |
download | qtquickcontrols-4569ed127c290bea8d165e15dc2eca525825c627.tar.gz |
Styling improvements for Calendar
Also
- added the property Calendar::frameVisible.
- moved the gridVisible property to CalendarStyle
Change-Id: I57da65af130098ac5d0b858c9f964e52e3ba6922
Reviewed-by: Mitch Curtis <mitch.curtis@digia.com>
Diffstat (limited to 'tests')
-rw-r--r-- | tests/auto/controls/data/tst_calendar.qml | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/auto/controls/data/tst_calendar.qml b/tests/auto/controls/data/tst_calendar.qml index 5533b909..843aed15 100644 --- a/tests/auto/controls/data/tst_calendar.qml +++ b/tests/auto/controls/data/tst_calendar.qml @@ -109,7 +109,7 @@ Item { compare(calendar.minimumDate, new Date(1, 0, 1)); compare(calendar.maximumDate, new Date(4000, 0, 1)); compare(calendar.selectedDate, new Date(new Date().setHours(0, 0, 0, 0))); - compare(calendar.gridVisible, true); + compare(calendar.frameVisible, true); compare(calendar.dayOfWeekFormat, Locale.ShortFormat); compare(calendar.__locale, Qt.locale()); } @@ -118,14 +118,14 @@ Item { calendar.minimumDate = new Date(1900, 0, 1); calendar.maximumDate = new Date(1999, 11, 31); calendar.selectedDate = new Date(1980, 0, 1); - calendar.gridVisible = false; + calendar.frameVisible = false; calendar.dayOfWeekFormat = Locale.NarrowFormat; calendar.__locale = Qt.locale("de_DE"); compare(calendar.minimumDate, new Date(1900, 0, 1)); compare(calendar.maximumDate, new Date(1999, 11, 31)); compare(calendar.selectedDate, new Date(1980, 0, 1)); - compare(calendar.gridVisible, false); + compare(calendar.frameVisible, false); compare(calendar.__locale, Qt.locale("de_DE")); } |