IdentifiantMot de passe
Loading...
Mot de passe oublié ?Je m'inscris ! (gratuit)

Calendar QML Type

A calendar namespace.

Article lu   fois.

L'auteur

Liens sociaux

Viadeo Twitter Facebook Share on Google+   

Calendar QML Type

  • Import Statement: import QtQuick.Controls

Detailed Description

The Calendar singleton provides miscellaneous calendar-related utilities.

The Qt Quick Calendar module uses 0-based month numbers to be consistent with the JavaScript Date type, that is used by the QML language. This means that Date::getMonth() can be passed to the methods as is. When dealing with month numbers directly, it is highly recommended to use the following enumeration values to avoid confusion.

Constant

Description

Calendar.January

January (0)

Calendar.February

February (1)

Calendar.March

March (2)

Calendar.April

April (3)

Calendar.May

May (4)

Calendar.June

June (5)

Calendar.July

July (6)

Calendar.August

August (7)

Calendar.September

September (8)

Calendar.October

October (9)

Calendar.November

November (10)

Calendar.December

December (11)

See Also

Vous avez aimé ce tutoriel ? Alors partagez-le en cliquant sur les boutons suivants : Viadeo Twitter Facebook Share on Google+