Qt 6.x
The Qt SDK
Loading...
Searching...
No Matches
geometrytestutils_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 GPL-3.0-only WITH Qt-GPL-exception-1.0
3
4#ifndef QQUICKGEOMETRYTESTUTIL_P_H
5#define QQUICKGEOMETRYTESTUTIL_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 <QObject>
19#include <QVector>
20#include <QSize>
21#include <private/qglobal_p.h>
22
24
25class QQuickItem;
26
27class QSizeChangeListener : public QObject, public QVector<QSize>
28{
30public:
31 explicit QSizeChangeListener(QQuickItem *item);
32private Q_SLOTS:
33 void onSizeChanged();
34private:
36};
37
39
40#endif // QQUICKGEOMETRYTESTUTIL_P_H
Definition qlist.h:74
\inmodule QtCore
Definition qobject.h:90
The QQuickItem class provides the most basic of all visual items in \l {Qt Quick}.
Definition qquickitem.h:64
Combined button and popup list for selecting options.
#define Q_OBJECT
#define Q_SLOTS
QGraphicsItem * item