summaryrefslogtreecommitdiff
path: root/src/controls/Calendar.qml
diff options
context:
space:
mode:
authorVenu <venugopal.shivashankar@digia.com>2014-03-06 16:53:40 +0100
committerVenugopal Shivashankar <venugopal.shivashankar@digia.com>2014-06-27 12:30:40 +0200
commit58c5f54f0b772a424c60a8e5184eaf698e744c9a (patch)
tree78dd541ef330ca522b34684f8530037f68a71bea /src/controls/Calendar.qml
parentc76b9478be9c6aab13bcd8e237db12dec080841e (diff)
downloadqtquickcontrols-58c5f54f0b772a424c60a8e5184eaf698e744c9a.tar.gz
Doc: Added images and missing snippets
Task-number: QTBUG-33799 Change-Id: I582518a73276d47cf63cf31411b5176a90acab6f Reviewed-by: J-P Nurmi <jpnurmi@digia.com>
Diffstat (limited to 'src/controls/Calendar.qml')
-rw-r--r--src/controls/Calendar.qml8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/controls/Calendar.qml b/src/controls/Calendar.qml
index 11b20b37..5ba539b0 100644
--- a/src/controls/Calendar.qml
+++ b/src/controls/Calendar.qml
@@ -50,6 +50,8 @@ import QtQuick.Controls.Private 1.0
\ingroup controls
\brief Provides a way to select dates from a calendar
+ \image calendar.png
+
Calendar allows selection of dates from a grid of days, similar to
QCalendarWidget.
@@ -67,6 +69,12 @@ import QtQuick.Controls.Private 1.0
Week numbers can be displayed by setting the weekNumbersVisible property to
\c true.
+ \qml
+ Calendar{
+ weekNumbersVisible: true
+ }
+ \endqml
+
You can create a custom appearance for Calendar by assigning a
\l {QtQuick.Controls.Styles::CalendarStyle}{CalendarStyle}.
*/