##// END OF EJS Templates
Fix Chart build when QT_NO_RUBBERBAND is defined...
Fix Chart build when QT_NO_RUBBERBAND is defined No rubber band is set for the QChartView if QT_NO_RUBBERBAND is defined. A warning will be fired in case one tries to set the rubber band and Qt is configured without the it. Task-number: QTRD-2240 Change-Id: I6259726077e39f143e317e1b1b13a1daa2a0c1e0 Reviewed-by: Karim Pinter <karim.pinter@digia.com> Reviewed-by: Miikka Heikkinen <miikka.heikkinen@digia.com>

File last commit:

r2574:599370d0561c
r2623:e4fe606cdd4c
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
**
Miikka Heikkinen
Qt Commercial -> Qt Enterprise...
r2574 ** This file is part of the Qt Enterprise Charts Add-on.
Jani Honkonen
Add license headers
r794 **
** $QT_BEGIN_LICENSE$
Miikka Heikkinen
Qt Commercial -> Qt Enterprise...
r2574 ** Licensees holding valid Qt Enterprise licenses may use this file in
** accordance with the Qt Enterprise License Agreement provided with the
Jani Honkonen
Add license headers
r794 ** 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