QML Qt Quick Controls 1.4 - Calendar
-
There is no direct way. You can use the showNextYear function. See the following sample code.
ApplicationWindow {
visible: true
width: 640
height: 480
title: qsTr("Hello World")Calendar { id : cal } MouseArea { anchors.fill : parent onClicked: { for(var i=0;i<20;i++){ cal.showNextYear(); } } }}
-
There is no direct way. You can use the showNextYear function. See the following sample code.
ApplicationWindow {
visible: true
width: 640
height: 480
title: qsTr("Hello World")Calendar { id : cal } MouseArea { anchors.fill : parent onClicked: { for(var i=0;i<20;i++){ cal.showNextYear(); } } }}
@dheerendra This is not quite what I intend, but after offering the code I am doing.
But, thanks in the same -
If this solved your issue, you can move your question to SOLVED state so that others make use of this.