qsplineseries.h
53 lines
| 1.4 KiB
| text/x-c
|
CLexer
|
r794 | /**************************************************************************** | ||
** | ||||
** Copyright (C) 2012 Digia Plc | ||||
** All rights reserved. | ||||
** For any questions to Digia, please use contact form at http://qt.digia.com | ||||
** | ||||
** This file is part of the Qt Commercial Charts Add-on. | ||||
** | ||||
** $QT_BEGIN_LICENSE$ | ||||
** Licensees holding valid Qt Commercial licenses may use this file in | ||||
** accordance with the Qt Commercial License Agreement provided with the | ||||
** Software or, alternatively, in accordance with the terms contained in | ||||
** a written agreement between you and Digia. | ||||
** | ||||
** If you have questions regarding the use of this file, please use | ||||
** contact form at http://qt.digia.com | ||||
** $QT_END_LICENSE$ | ||||
** | ||||
****************************************************************************/ | ||||
|
r295 | #ifndef QSPLINESERIES_H | ||
#define QSPLINESERIES_H | ||||
|
r697 | #include <qchartglobal.h> | ||
#include <qlineseries.h> | ||||
|
r401 | #include <QList> | ||
#include <QPointF> | ||||
|
r743 | #include <QtGlobal> | ||
|
r295 | |||
QTCOMMERCIALCHART_BEGIN_NAMESPACE | ||||
|
r938 | class QSplineSeriesPrivate; | ||
|
r470 | class QTCOMMERCIALCHART_EXPORT QSplineSeries : public QLineSeries | ||
|
r295 | { | ||
Q_OBJECT | ||||
|
r467 | public: | ||
|
r305 | |||
|
r970 | explicit QSplineSeries(QObject *parent = 0); | ||
|
r988 | QAbstractSeries::QSeriesType type() const; | ||
|
r305 | |||
|
r938 | QPointF controlPoint(int index) const; | ||
|
r864 | void setModelMappingRange(int first, int count); | ||
|
r527 | |||
|
r467 | private: | ||
|
r938 | Q_DECLARE_PRIVATE(QSplineSeries); | ||
Q_DISABLE_COPY(QSplineSeries); | ||||
friend class SplineChartItem; | ||||
|
r295 | }; | ||
QTCOMMERCIALCHART_END_NAMESPACE | ||||
#endif // QSPLINESERIES_H | ||||