Calendar QML Type
Espace de noms d'un calendrier. Plus d'informations...
| Import Statement: | import QtQuick.Controls |
| Inherits: |
Description détaillée
Le singleton Calendar fournit divers utilitaires liés au calendrier.
Les types liés au calendrier dans Qt Quick Controls utilisent des numéros de mois basés sur 0, comme les objets JavaScript Date. Toutefois, cela diffère de QDate, où les mois sont numérotés à partir de 1.
Pour éviter toute confusion, vous pouvez utiliser les valeurs d'énumération suivantes :
| Constante | Description |
|---|---|
Calendar.January | Janvier (0) |
Calendar.February | Février (1) |
Calendar.March | mars (2) |
Calendar.April | Avril (3) |
Calendar.May | Mai (4) |
Calendar.June | Juin (5) |
Calendar.July | Juillet (6) |
Calendar.August | Août (7) |
Calendar.September | Septembre (8) |
Calendar.October | Octobre (9) |
Calendar.November | Novembre (10) |
Calendar.December | Décembre (11) |
Voir aussi MonthGrid, DayOfWeekRow, et WeekNumberColumn.
© 2026 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.