1 | // Copyright (C) 2016 The Qt Company Ltd. |
---|---|
2 | // SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only |
3 | |
4 | #include <private/chartitem_p.h> |
5 | #include <private/qabstractseries_p.h> |
6 | #include <private/abstractdomain_p.h> |
7 | #include <QtGui/QPainter> |
8 | |
9 | QT_BEGIN_NAMESPACE |
10 | |
11 | ChartItem::ChartItem(QAbstractSeriesPrivate *series,QGraphicsItem* item): |
12 | ChartElement(item), |
13 | m_validData(true), |
14 | m_series(series) |
15 | { |
16 | |
17 | } |
18 | |
19 | AbstractDomain* ChartItem::domain() const |
20 | { |
21 | return m_series->domain(); |
22 | } |
23 | |
24 | void ChartItem::cleanup() |
25 | { |
26 | disconnect(); |
27 | } |
28 | |
29 | void ChartItem::handleDomainUpdated() |
30 | { |
31 | qWarning() << __FUNCTION__<< "Slot not implemented"; |
32 | } |
33 | |
34 | QT_END_NAMESPACE |
35 | |
36 | #include "moc_chartitem_p.cpp" |
37 |