Commit a7749414 authored by Mitch Curtis's avatar Mitch Curtis
Browse files

Calendar: add a doc example that sets minimum/maximumDate


Change-Id: Ie2fb915a927d4c3481afa6e4ac64089440f7ac9c
Reviewed-by: default avatarNico Vertriest <nico.vertriest@qt.io>
Reviewed-by: default avatarTopi Reiniö <topi.reinio@qt.io>
Showing with 7 additions and 0 deletions
......@@ -62,6 +62,13 @@ import QtQuick.Controls.Private 1.0
\l maximumDate. The earliest minimum date that can be set is 1 January, 1
AD. The latest maximum date that can be set is 25 October, 275759 AD.
\code
Calendar {
minimumDate: new Date(2017, 0, 1)
maximumDate: new Date(2018, 0, 1)
}
\endcode
The selected date is displayed using the format in the application's
default locale.
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment