7#include <QtQuickTemplates2/private/qquickcontrol_p_p.h>
8#include <QtQml/qqmlinfo.h>
62 item->setSize(itemSize);
88 return d->model->month() - 1;
94 if (month < 0 || month > 11) {
98 d->model->setMonth(
month + 1);
112 return d->model->year();
118 if (year < -271820 || year > 275759) {
119 qmlWarning(
this) <<
"year " <<
year <<
" is out of range [-271820...275759]";
122 d->model->setYear(
year);
198 d->model->setLocale(newLocale);
211#include "moc_qquickweeknumbercolumn_p.cpp"
static QMetaObject::Connection connect(const QObject *sender, const char *signal, const QObject *receiver, const char *member, Qt::ConnectionType=Qt::AutoConnection)
\threadsafe
The QQmlComponent class encapsulates a QML component definition.
QQuickDeferredPointer< QQuickItem > contentItem
void componentComplete() override
Invoked after the root component that caused this instantiation has completed construction.
virtual void localeChange(const QLocale &newLocale, const QLocale &oldLocale)
void geometryChange(const QRectF &newGeometry, const QRectF &oldGeometry) override
virtual void paddingChange(const QMarginsF &newPadding, const QMarginsF &oldPadding)
QList< QQuickItem * > childItems
The QQuickItem class provides the most basic of all visual items in \l {Qt Quick}.
QList< QQuickItem * > childItems() const
Returns the children of this item.
qreal width
This property holds the width of this item.
bool isComponentComplete() const
Returns true if construction of the QML component is complete; otherwise returns false.
qreal height
This property holds the height of this item.
A column of week numbers.
QQuickWeekNumberModel * model
QQuickWeekNumberColumnPrivate()
void setSource(const QVariant &source)
void geometryChange(const QRectF &newGeometry, const QRectF &oldGeometry) override
void componentComplete() override
Invoked after the root component that caused this instantiation has completed construction.
QQuickWeekNumberColumn(QQuickItem *parent=nullptr)
void localeChange(const QLocale &newLocale, const QLocale &oldLocale) override
void setDelegate(QQmlComponent *delegate)
void paddingChange(const QMarginsF &newPadding, const QMarginsF &oldPadding) override
\inmodule QtCore\reentrant
constexpr void setHeight(qreal h) noexcept
Sets the height to the given finite height.
constexpr void setWidth(qreal w) noexcept
Sets the width to the given finite width.
static auto fromValue(T &&value) noexcept(std::is_nothrow_copy_constructible_v< T > &&Private::CanUseInternalSpace< T >) -> std::enable_if_t< std::conjunction_v< std::is_copy_constructible< T >, std::is_destructible< T > >, QVariant >
Combined button and popup list for selecting options.
GLsizei GLsizei GLchar * source
Q_QML_EXPORT QQmlInfo qmlWarning(const QObject *me)
IUIAutomationTreeWalker __RPC__deref_out_opt IUIAutomationElement ** parent