##// END OF EJS Templates
Example finalization and documentation...
Example finalization and documentation Change-Id: I0ccfa85c689bf6f9519fcce5eb38941de6d8d492 Reviewed-by: Mika Salmela <mika.salmela@digia.com>

File last commit:

r2432:53927f716a3d
r2556:89b8a97da4fc
Show More
qareaseries.h
86 lines | 2.5 KiB | text/x-c | CLexer
Jani Honkonen
Add license headers
r794 /****************************************************************************
**
Miikka Heikkinen
Fixed the copyright year 2012 -> 2013
r2432 ** Copyright (C) 2013 Digia Plc
Jani Honkonen
Add license headers
r794 ** 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$
**
****************************************************************************/
Michal Klocek
Fixes header guard style issues
r969 #ifndef QAREASERIES_H
#define QAREASERIES_H
Michal Klocek
Adds area chart...
r421
Jani Honkonen
Change includes in public headers from #include "xxx" -> #include <xxx>
r697 #include <qchartglobal.h>
Tero Ahola
Renamed QSeries to QAbstractSeries
r988 #include <qabstractseries.h>
Michal Klocek
Adds area chart...
r421 #include <QPen>
#include <QBrush>
QTCOMMERCIALCHART_BEGIN_NAMESPACE
class QLineSeries;
Michal Klocek
Adds big fat pimpl to series classes...
r938 class QAreaSeriesPrivate;
Michal Klocek
Adds area chart...
r421
Tero Ahola
Renamed QSeries to QAbstractSeries
r988 class QTCOMMERCIALCHART_EXPORT QAreaSeries : public QAbstractSeries
Michal Klocek
Adds area chart...
r421 {
Q_OBJECT
Tero Ahola
QAreaSeries upper and lower series type to QLineSeries
r1498 Q_PROPERTY(QLineSeries *upperSeries READ upperSeries)
Q_PROPERTY(QLineSeries *lowerSeries READ lowerSeries)
Tero Ahola
color and borderColor properties to XY charts; removed unnecessary signals
r1481 Q_PROPERTY(QColor color READ color WRITE setColor NOTIFY colorChanged)
Q_PROPERTY(QColor borderColor READ borderColor WRITE setBorderColor NOTIFY borderColorChanged)
Tero Ahola
Rest of the pie, bar, area and scatter properties to QML property tester
r1308
Michal Klocek
Adds area chart...
r421 public:
Tero Ahola
Separated series model stuff from data api in QML examples
r1202 explicit QAreaSeries(QObject *parent = 0);
Michal Klocek
Fixes explicit issues in cstr
r970 explicit QAreaSeries(QLineSeries *upperSeries, QLineSeries *lowerSeries = 0);
~QAreaSeries();
Michal Klocek
Adds area chart...
r421
Michal Klocek
Adds big fat pimpl to series classes...
r938 public:
Michal Klocek
Fixes to API , QSeriesType -> SeriesType , add missing getters
r1107 QAbstractSeries::SeriesType type() const;
Michal Klocek
Adds area chart...
r421
Jani Honkonen
more coding style fixes for src-folder...
r2104 void setUpperSeries(QLineSeries *series);
QLineSeries *upperSeries() const;
void setLowerSeries(QLineSeries *series);
QLineSeries *lowerSeries() const;
Michal Klocek
Adds area chart...
r421
sauimone
minor code review issues. indent, spaces, brackets etc.
r743 void setPen(const QPen &pen);
Michal Klocek
Adds big fat pimpl to series classes...
r938 QPen pen() const;
Michal Klocek
Adds area chart...
r421
sauimone
minor code review issues. indent, spaces, brackets etc.
r743 void setBrush(const QBrush &brush);
Michal Klocek
Adds big fat pimpl to series classes...
r938 QBrush brush() const;
Michal Klocek
Adds area chart...
r421
Tero Ahola
color and borderColor properties to XY charts; removed unnecessary signals
r1481 void setColor(const QColor &color);
QColor color() const;
void setBorderColor(const QColor &color);
QColor borderColor() const;
Tero Ahola
Default to true in boolean setters
r987 void setPointsVisible(bool visible = true);
Michal Klocek
Adds big fat pimpl to series classes...
r938 bool pointsVisible() const;
sauimone
Q_SIGNALS and Q_SLOTS
r775 Q_SIGNALS:
Marek Rosa
Added hovered support to areachart. Might need to be re-thought
r2264 void clicked(const QPointF &point);
void hovered(const QPointF &point, bool state);
Michal Klocek
Refactor qledgend handling...
r855 void selected();
Tero Ahola
color and borderColor properties to XY charts; removed unnecessary signals
r1481 void colorChanged(QColor color);
void borderColorChanged(QColor color);
Michal Klocek
Adds area chart...
r421
private:
Tero Ahola
color and borderColor properties to XY charts; removed unnecessary signals
r1481 Q_DECLARE_PRIVATE(QAreaSeries)
Q_DISABLE_COPY(QAreaSeries)
Michal Klocek
Adds big fat pimpl to series classes...
r938 friend class AreaLegendMarker;
friend class AreaChartItem;
sauimone
added QAreaLegendMarker
r2176 friend class QAreaLegendMarkerPrivate;
Michal Klocek
Adds area chart...
r421 };
QTCOMMERCIALCHART_END_NAMESPACE
Jani Honkonen
Spit&polish public headers
r2046 #endif // QAREASERIES_H