##// END OF EJS Templates
Remove warnings about unmatched parentheses...
Remove warnings about unmatched parentheses Property declarations divided into several lines caused qmake to warn of cat() function about deprecated unmatched parentheses. The property declarations are now done in one line. Task-number: QTRD-3159 Change-Id: Ieb839ff81d707a5a40cdebd62a52ac32f51517b7 Reviewed-by: Miikka Heikkinen <miikka.heikkinen@digia.com>

File last commit:

r2692:d672b074a893
r2692:d672b074a893
Show More
qareaseries.h
106 lines | 3.5 KiB | text/x-c | CLexer
Jani Honkonen
Add license headers
r794 /****************************************************************************
**
Titta Heikkala
Update copyright year...
r2688 ** Copyright (C) 2014 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)
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:
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);
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 };
QTCOMMERCIALCHART_END_NAMESPACE
Jani Honkonen
Spit&polish public headers
r2046 #endif // QAREASERIES_H