##// END OF EJS Templates
Updated plugins.qmltypes...
Updated plugins.qmltypes Change-Id: I20425a87f2a3c5f2ad0df1c9ff1229f1ca2aa76c Reviewed-by: Miikka Heikkinen <miikka.heikkinen@theqtcompany.com>

File last commit:

r2776:bc1f6aa59d42
r2806:c9201cbc3c54
Show More
qareaseries.h
107 lines | 3.6 KiB | text/x-c | CLexer
Jani Honkonen
Add license headers
r794 /****************************************************************************
**
Titta Heikkala
Copyright header changes...
r2776 ** Copyright (C) 2015 The Qt Company Ltd
Jani Honkonen
Add license headers
r794 ** All rights reserved.
Titta Heikkala
Copyright header changes...
r2776 ** For any questions to The Qt Company, please use contact form at http://qt.io
Jani Honkonen
Add license headers
r794 **
Titta Heikkala
Updated license headers...
r2740 ** This file is part of the Qt Charts module.
Jani Honkonen
Add license headers
r794 **
Titta Heikkala
Updated license headers...
r2740 ** Licensees holding valid commercial license for Qt may use this file in
** accordance with the Qt License Agreement provided with the Software
** or, alternatively, in accordance with the terms contained in a written
Titta Heikkala
Copyright header changes...
r2776 ** agreement between you and The Qt Company.
Jani Honkonen
Add license headers
r794 **
** If you have questions regarding the use of this file, please use
Titta Heikkala
Updated license headers...
r2740 ** contact form at http://qt.io
Jani Honkonen
Add license headers
r794 **
****************************************************************************/
Michal Klocek
Fixes header guard style issues
r969 #ifndef QAREASERIES_H
#define QAREASERIES_H
Michal Klocek
Adds area chart...
r421
Titta Heikkala
Fix include syntax...
r2714 #include <QtCharts/QChartGlobal>
#include <QtCharts/QAbstractSeries>
#include <QtGui/QPen>
#include <QtGui/QBrush>
Michal Klocek
Adds area chart...
r421
Titta Heikkala
Qt Charts project file structure change...
r2712 QT_CHARTS_BEGIN_NAMESPACE
Michal Klocek
Adds area chart...
r421 class QLineSeries;
Michal Klocek
Adds big fat pimpl to series classes...
r938 class QAreaSeriesPrivate;
Michal Klocek
Adds area chart...
r421
Titta Heikkala
Qt Charts project file structure change...
r2712 class QT_CHARTS_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)
Titta Heikkala
Remove warnings about unmatched parentheses...
r2692 Q_PROPERTY(QString pointLabelsFormat READ pointLabelsFormat WRITE setPointLabelsFormat NOTIFY pointLabelsFormatChanged)
Q_PROPERTY(bool pointLabelsVisible READ pointLabelsVisible WRITE setPointLabelsVisible NOTIFY pointLabelsVisibilityChanged)
Q_PROPERTY(QFont pointLabelsFont READ pointLabelsFont WRITE setPointLabelsFont NOTIFY pointLabelsFontChanged)
Q_PROPERTY(QColor pointLabelsColor READ pointLabelsColor WRITE setPointLabelsColor NOTIFY pointLabelsColorChanged)
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;
Titta Heikkala
Added possibility to show series value...
r2689 void setPointLabelsFormat(const QString &format);
QString pointLabelsFormat() const;
void setPointLabelsVisible(bool visible = true);
bool pointLabelsVisible() const;
void setPointLabelsFont(const QFont &font);
QFont pointLabelsFont() const;
void setPointLabelsColor(const QColor &color);
QColor pointLabelsColor() const;
sauimone
Q_SIGNALS and Q_SLOTS
r775 Q_SIGNALS:
Titta Heikkala
Qt Charts project file structure change...
r2712 void clicked(const QPointF &point);
Marek Rosa
Added hovered support to areachart. Might need to be re-thought
r2264 void hovered(const QPointF &point, bool state);
Titta Heikkala
Add pressed, released and doubleClicked signals...
r2739 void pressed(const QPointF &point);
void released(const QPointF &point);
void doubleClicked(const QPointF &point);
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);
Titta Heikkala
Added possibility to show series value...
r2689 void pointLabelsFormatChanged(const QString &format);
void pointLabelsVisibilityChanged(bool visible);
void pointLabelsFontChanged(const QFont &font);
void pointLabelsColorChanged(const 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 };
Titta Heikkala
Qt Charts project file structure change...
r2712 QT_CHARTS_END_NAMESPACE
Michal Klocek
Adds area chart...
r421
Jani Honkonen
Spit&polish public headers
r2046 #endif // QAREASERIES_H