##// END OF EJS Templates
tst_qchart and tst_qchartview updates
tst_qchart and tst_qchartview updates

File last commit:

r900:4e59f6549e80
r914:5d82b4aac9d4
Show More
qsplineseries.h
60 lines | 1.7 KiB | text/x-c | CLexer
Jani Honkonen
Add license headers
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$
**
****************************************************************************/
Marek Rosa
Spline initial
r295 #ifndef QSPLINESERIES_H
#define QSPLINESERIES_H
Jani Honkonen
Change includes in public headers from #include "xxx" -> #include <xxx>
r697 #include <qchartglobal.h>
#include <qlineseries.h>
Marek Rosa
Spline working somewhat
r401 #include <QList>
#include <QPointF>
sauimone
minor code review issues. indent, spaces, brackets etc.
r743 #include <QtGlobal>
Marek Rosa
Spline initial
r295
QTCOMMERCIALCHART_BEGIN_NAMESPACE
Michal Klocek
Refactor scatter chart to fit the other classes...
r470 class QTCOMMERCIALCHART_EXPORT QSplineSeries : public QLineSeries
Marek Rosa
Spline initial
r295 {
Q_OBJECT
Michal Klocek
Spline series windows compilation fix
r467 public:
Marek Rosa
Spline some more
r305
QSplineSeries(QObject *parent = 0);
Michal Klocek
Spline series windows compilation fix
r467 QSeriesType type() const {return QSeries::SeriesTypeSpline;}
Marek Rosa
Spline working somewhat
r401
Michal Klocek
Spline series windows compilation fix
r467 QPointF controlPoint(int index) const {return m_controlPoints[index];}
Marek Rosa
Added documentation for model related funtions
r900 // bool setModel(QAbstractItemModel *model);
Marek Rosa
Spline some more
r305
Marek Rosa
Added documentation for model related funtions
r900 // void setModelMapping(int modelX, int modelY, Qt::Orientation orientation = Qt::Vertical);
Marek Rosa
Quick fix: Refactoring the name did not work correctly
r864 void setModelMappingRange(int first, int count);
Marek Rosa
QXYSeries: model data orientation added. QBarSeries: some model data function placeholders
r527
Michal Klocek
Spline series windows compilation fix
r467 private:
Marek Rosa
Added automatic refresh of control points on add/remove point. Spline example updated
r431 void calculateControlPoints();
QList<qreal> getFirstControlPoints(QList<qreal> rhs);
sauimone
Q_SIGNALS and Q_SLOTS
r775 private Q_SLOTS:
Marek Rosa
Added automatic refresh of control points on add/remove point. Spline example updated
r431 void updateControlPoints();
Marek Rosa
Spline some more
r305
Michal Klocek
Spline series windows compilation fix
r467 private:
Marek Rosa
Further changes
r318 QList<QPointF> m_controlPoints;
Michal Klocek
Spline series windows compilation fix
r467
Marek Rosa
Spline initial
r295 };
QTCOMMERCIALCHART_END_NAMESPACE
#endif // QSPLINESERIES_H