Calendar QML Type
Un espacio de nombres de calendario. Más...
| Import Statement: | import QtQuick.Controls |
| Inherits: |
Descripción detallada
El singleton Calendar proporciona varias utilidades relacionadas con el calendario.
Los tipos relacionados con el calendario en Qt Quick Controls utilizan números de mes basados en 0, como los objetos Date de JavaScript. Sin embargo, esto difiere de QDate, donde los meses se numeran empezando por 1.
Para evitar confusiones, puede utilizar los siguientes valores de enumeración:
| Constante | Descripción |
|---|---|
Calendar.January | Enero (0) |
Calendar.February | Febrero (1) |
Calendar.March | Marzo (2) |
Calendar.April | Abril (3) |
Calendar.May | Mayo (4) |
Calendar.June | Junio (5) |
Calendar.July | Julio (6) |
Calendar.August | Agosto (7) |
Calendar.September | septiembre (8) |
Calendar.October | octubre (9) |
Calendar.November | noviembre (10) |
Calendar.December | diciembre (11) |
Véase también MonthGrid, DayOfWeekRow, y 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.