Calendar QML Type
Un espacio de nombres de calendario. Más información...
| Import Statement: | import QtQuick.Controls |
| Inherits: |
Descripción detallada
El singleton Calendar proporciona diversas utilidades relacionadas con el calendario.
Los tipos relacionados con el calendario en los controles deQt Quick utilizan números de mes basados en 0, al igual que los objetos Date de JavaScript. Sin embargo, esto difiere de QDate, donde los meses se numeran a partir del 1.
Para evitar confusiones, puedes 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.