blob: c4ac3dda0c6b9c5ea1f01ea0daa060dd97857664 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
|
// Copyright (C) 2016 The Qt Company Ltd.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only
// W A R N I N G
// -------------
//
// This file is not part of the Qt Chart API. It exists purely as an
// implementation detail. This header file may change from version to
// version without notice, or even be removed.
//
// We mean it.
#ifndef DECLARATIVE_XY_POINT_H
#define DECLARATIVE_XY_POINT_H
#include <QtQml/qqmlregistration.h>
#include <QtCharts/QChartGlobal>
#include <private/declarativechartglobal_p.h>
#include <QtCore/QObject>
#include <QtCore/QPointF>
QT_BEGIN_NAMESPACE
class Q_CHARTSQML_EXPORT DeclarativeXYPoint : public QObject, public QPointF
{
Q_OBJECT
Q_PROPERTY(qreal x READ x WRITE setX)
Q_PROPERTY(qreal y READ y WRITE setY)
QML_NAMED_ELEMENT(XYPoint)
QML_ADDED_IN_VERSION(1, 0)
QML_EXTRA_VERSION(2, 0)
public:
explicit DeclarativeXYPoint(QObject *parent = 0);
};
QT_END_NAMESPACE
#endif // DECLARATIVE_XY_POINT_H
|