5#ifndef QQUICKMONTHGRID_P_H
6#define QQUICKMONTHGRID_P_H
19#include <QtQuickTemplates2/private/qquickcontrol_p.h>
29 Q_PROPERTY(
int month READ month WRITE setMonth NOTIFY monthChanged FINAL)
69 void geometryChange(
const QRectF &newGeometry,
const QRectF &oldGeometry)
override;
70 void localeChange(
const QLocale &newLocale,
const QLocale &oldLocale)
override;
71 void paddingChange(
const QMarginsF &newPadding,
const QMarginsF &oldPadding)
override;
A grid of days for a calendar month.
bool handleRelease(const QPointF &point, ulong timestamp) override
bool handlePress(const QPointF &point, ulong timestamp) override
QQuickItem * cellAt(const QPointF &pos) const
void handleUngrab() override
QDateTime dateOf(QQuickItem *cell) const
bool handleMove(const QPointF &point, ulong timestamp) override
void clearPress(bool clicked)
void updatePress(const QPointF &pos)
void clicked(QDateTime date)
void paddingChange(const QMarginsF &newPadding, const QMarginsF &oldPadding) override
void localeChange(const QLocale &newLocale, const QLocale &oldLocale) override
void componentComplete() override
Invoked after the root component that caused this instantiation has completed construction.
int month() const
\qmlproperty int QtQuick.Controls::MonthGrid::month
void geometryChange(const QRectF &newGeometry, const QRectF &oldGeometry) override
void setTitle(const QString &title)
void timerEvent(QTimerEvent *event) override
This event handler can be reimplemented in a subclass to receive timer events for the object.
QQmlComponent * delegate() const
\qmlproperty Component QtQuick.Controls::MonthGrid::delegate
void setSource(const QVariant &source)
void setDelegate(QQmlComponent *delegate)
QString title() const
\qmlproperty string QtQuick.Controls::MonthGrid::title
void pressAndHold(QDateTime date)
void updatePolish() override
This function should perform any layout as required for this item.
void pressed(QDateTime date)
int year() const
\qmlproperty int QtQuick.Controls::MonthGrid::year
void released(QDateTime date)