このページでは

Calendar QML Type

カレンダーの名前空間。詳細...

Import Statement: import QtQuick.Controls
Inherits:

QtObject

詳細な説明

Calendarシングルトンは、カレンダーに関連する各種ユーティリティを提供します。

Qt Quick のコントロールにおけるカレンダー関連の型は、JavaScriptのDateオブジェクトと同様に、0を起点とする月番号を使用します。ただし、これはQDate とは異なり、 では月の番号は1から始まります。

混乱を避けるために、次の列挙値を使用できます。

定数説明
Calendar.January1月 (0)
Calendar.February2月 (1)
Calendar.March3月 (2)
Calendar.April4月 (3)
Calendar.May5月 (4)
Calendar.June6月 (5)
Calendar.July7月 (6)
Calendar.August8月 (7)
Calendar.September9月 (8)
Calendar.October10月 (9)
Calendar.November11月 (10)
Calendar.December12月 (11)

関連項目 :MonthGrid 、DayOfWeekRow 、および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.