diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/controls/Calendar.qml | 8 | ||||
| -rw-r--r-- | src/controls/Styles/Base/CalendarStyle.qml | 1 |
2 files changed, 9 insertions, 0 deletions
diff --git a/src/controls/Calendar.qml b/src/controls/Calendar.qml index 11b20b379..bd376c10f 100644 --- a/src/controls/Calendar.qml +++ b/src/controls/Calendar.qml @@ -168,6 +168,14 @@ Control { property bool weekNumbersVisible: false /*! + This property determines the visibility of the navigation bar. + \since QtQuick.Controls 1.3 + + The default value is \c true. + */ + property bool navigationBarVisible: true + + /*! \qmlproperty enum Calendar::dayOfWeekFormat The format in which the days of the week (in the header) are displayed. diff --git a/src/controls/Styles/Base/CalendarStyle.qml b/src/controls/Styles/Base/CalendarStyle.qml index bbadf5777..b5485d827 100644 --- a/src/controls/Styles/Base/CalendarStyle.qml +++ b/src/controls/Styles/Base/CalendarStyle.qml @@ -394,6 +394,7 @@ Style { anchors.right: parent.right anchors.top: parent.top sourceComponent: navigationBar + active: control.navigationBarVisible property QtObject styleData: QtObject { readonly property string title: control.__locale.standaloneMonthName(control.visibleMonth) |
