Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
Loading...
Searching...
No Matches
qquickdayofweekrow_p.h
Go to the documentation of this file.
1// Copyright (C) 2021 The Qt Company Ltd.
2// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
3
4#ifndef QQUICKDAYOFWEEKROW_P_H
5#define QQUICKDAYOFWEEKROW_P_H
6
7//
8// W A R N I N G
9// -------------
10//
11// This file is not part of the Qt API. It exists purely as an
12// implementation detail. This header file may change from version to
13// version without notice, or even be removed.
14//
15// We mean it.
16//
17
18#include <QtQuickTemplates2/private/qquickcontrol_p.h>
19
21
22class QQmlComponent;
24
26{
30 QML_NAMED_ELEMENT(AbstractDayOfWeekRow)
32
33public:
35
38
41
45
46protected:
47 void componentComplete() override;
48 void geometryChange(const QRectF &newGeometry, const QRectF &oldGeometry) override;
49 void localeChange(const QLocale &newLocale, const QLocale &oldLocale) override;
50 void paddingChange(const QMarginsF &newPadding, const QMarginsF &oldPadding) override;
51
53 Q_DISABLE_COPY(QQuickDayOfWeekRow)
54 Q_DECLARE_PRIVATE(QQuickDayOfWeekRow)
55};
56
58
59#endif // QQUICKDAYOFWEEKROW_P_H
\inmodule QtCore
Definition qmargins.h:270
The QQmlComponent class encapsulates a QML component definition.
A row of names for the days in a week.
void setDelegate(QQmlComponent *delegate)
void localeChange(const QLocale &newLocale, const QLocale &oldLocale) override
void geometryChange(const QRectF &newGeometry, const QRectF &oldGeometry) override
void componentComplete() override
Invoked after the root component that caused this instantiation has completed construction.
void setSource(const QVariant &source)
void paddingChange(const QMarginsF &newPadding, const QMarginsF &oldPadding) override
The QQuickItem class provides the most basic of all visual items in \l {Qt Quick}.
Definition qquickitem.h:63
qreal y const
Definition qquickitem.h:347
QQuickItem * parent
\qmlproperty Item QtQuick::Item::parent This property holds the visual parent of the item.
Definition qquickitem.h:67
\inmodule QtCore\reentrant
Definition qrect.h:484
\inmodule QtCore
Definition qvariant.h:65
Combined button and popup list for selecting options.
GLsizei GLsizei GLchar * source
#define QML_NAMED_ELEMENT(NAME)
#define QML_ADDED_IN_VERSION(MAJOR, MINOR)
#define Q_PROPERTY(...)
#define Q_OBJECT
#define Q_SIGNALS
#define explicit