Calendar QML Type
Uno spazio dei nomi "calendar". Maggiori informazioni...
| Import Statement: | import QtQuick.Controls |
| Inherits: |
Descrizione dettagliata
Il singleton Calendar fornisce varie utilità relative al calendario.
I tipi relativi al calendario nei controlliQt Quick utilizzano numeri di mese a partire da 0, come gli oggetti Date di JavaScript. Tuttavia, ciò differisce da QDate, dove i mesi sono numerati a partire da 1.
Per evitare confusione, è possibile utilizzare i seguenti valori di enumerazione:
| Costante | Descrizione |
|---|---|
Calendar.January | Gennaio (0) |
Calendar.February | Febbraio (1) |
Calendar.March | Marzo (2) |
Calendar.April | Aprile (3) |
Calendar.May | Maggio (4) |
Calendar.June | Giugno (5) |
Calendar.July | Luglio (6) |
Calendar.August | Agosto (7) |
Calendar.September | Settembre (8) |
Calendar.October | Ottobre (9) |
Calendar.November | Novembre (10) |
Calendar.December | Dicembre (11) |
Vedi anche MonthGrid, DayOfWeekRow e 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.