##// END OF EJS Templates
Fix QNX build issue...
Fix QNX build issue Use qmath and cmath methods instead of math.h methods. Change-Id: I7c853f2e1218a1d3cde15a089192c24a6b0b1395 Reviewed-by: Miikka Heikkinen <miikka.heikkinen@theqtcompany.com>

File last commit:

r2740:377e4516d036
r2775:143be951b1fe
Show More
qabstractseries.h
96 lines | 2.6 KiB | text/x-c | CLexer
/ src / charts / qabstractseries.h
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.
Titta Heikkala
Updated license headers...
r2740 ** For any questions to Digia, 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
** agreement between you and Digia.
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 **
****************************************************************************/
Tero Ahola
Renamed QSeries to QAbstractSeries
r988 #ifndef QABSTRACTSERIES_H
#define QABSTRACTSERIES_H
Michal Klocek
Fix missing file from one of the prvious commits...
r23
Titta Heikkala
Fix include syntax...
r2714 #include <QtCharts/QChartGlobal>
#include <QtCharts/QAbstractAxis>
#include <QtCore/QObject>
#include <QtGui/QPen>
Michal Klocek
Fix missing file from one of the prvious commits...
r23
Titta Heikkala
Qt Charts project file structure change...
r2712 QT_CHARTS_BEGIN_NAMESPACE
Michal Klocek
Fix missing file from one of the prvious commits...
r23
Tero Ahola
Renamed QSeries to QAbstractSeries
r988 class QAbstractSeriesPrivate;
Michal Klocek
Adds if series deleted , remove series from chart
r1062 class QChart;
Michal Klocek
Adds big fat pimpl to series classes...
r938
Titta Heikkala
Qt Charts project file structure change...
r2712 class QT_CHARTS_EXPORT QAbstractSeries : public QObject
Michal Klocek
Fix missing file from one of the prvious commits...
r23 {
sauimone
Improved bar chart series
r71 Q_OBJECT
Tero Ahola
Fixed a bug with legend not updating series labels
r1328 Q_PROPERTY(QString name READ name WRITE setName NOTIFY nameChanged)
Tero Ahola
Visible property to abstract series
r1342 Q_PROPERTY(bool visible READ isVisible WRITE setVisible NOTIFY visibleChanged)
Tero Ahola
Added opacity property to QAbstractSeries
r2067 Q_PROPERTY(qreal opacity READ opacity WRITE setOpacity NOTIFY opacityChanged)
Tero Ahola
Minor modifications to properties of abstract, area and bar series
r1462 Q_PROPERTY(SeriesType type READ type)
Michal Klocek
Fixes to API , QSeriesType -> SeriesType , add missing getters
r1107 Q_ENUMS(SeriesType)
Tero Ahola
QSeries name and QPieSeries properties to QML api
r884
Michal Klocek
Fix missing file from one of the prvious commits...
r23 public:
Michal Klocek
Fixes to API , QSeriesType -> SeriesType , add missing getters
r1107 enum SeriesType {
Tero Ahola
Proof-of-concept for QML api...
r120 SeriesTypeLine,
Tero Ahola
qdoc for QChartSeries
r309 SeriesTypeArea,
sauimone
Integrating bar chart. Cleaned up old implementation. TODO: show this in test application. how?
r56 SeriesTypeBar,
sauimone
added stacked bar chart
r94 SeriesTypeStackedBar,
sauimone
percent bar chart
r101 SeriesTypePercentBar,
Tero Ahola
Integrated draft version of pie series
r51 SeriesTypePie,
Tero Ahola
qdoc for QChartSeries
r309 SeriesTypeScatter,
sauimone
horizontal barchart frame
r1672 SeriesTypeSpline,
sauimone
compilation fix again
r1687 SeriesTypeHorizontalBar,
sauimone
compilation fix
r1686 SeriesTypeHorizontalStackedBar,
Mika Salmela
A new box-and-whiskers series type added to charts....
r2548 SeriesTypeHorizontalPercentBar,
SeriesTypeBoxPlot
Tero Ahola
Renamed to QtCommercialChart
r30 };
Michal Klocek
Fix missing file from one of the prvious commits...
r23
protected:
Tero Ahola
Renamed QSeries to QAbstractSeries
r988 QAbstractSeries(QAbstractSeriesPrivate &d, QObject *parent = 0);
Michal Klocek
Fix missing file from one of the prvious commits...
r23
public:
Tero Ahola
Renamed QSeries to QAbstractSeries
r988 ~QAbstractSeries();
Michal Klocek
Fixes to API , QSeriesType -> SeriesType , add missing getters
r1107 virtual SeriesType type() const = 0;
Michal Klocek
Adds createDefaultAxes logic
r1588
Jani Honkonen
more coding style fixes for src-folder...
r2104 void setName(const QString &name);
Michal Klocek
Adds big fat pimpl to series classes...
r938 QString name() const;
Tero Ahola
Visible property to abstract series
r1342 void setVisible(bool visible = true);
bool isVisible() const;
Tero Ahola
Added opacity property to QAbstractSeries
r2067 qreal opacity() const;
void setOpacity(qreal opacity);
Jani Honkonen
more coding style fixes for src-folder...
r2104 QChart *chart() const;
Jani Honkonen
Add title to QSeries
r405
Mika Salmela
A new box-and-whiskers series type added to charts....
r2548 bool attachAxis(QAbstractAxis *axis);
bool detachAxis(QAbstractAxis *axis);
Michal Klocek
Refactors internals...
r2273 QList<QAbstractAxis*> attachedAxes();
Michal Klocek
Adding missing functions to API
r1552 void show();
void hide();
Tero Ahola
Fixed a bug with legend not updating series labels
r1328 Q_SIGNALS:
void nameChanged();
Tero Ahola
Visible property to abstract series
r1342 void visibleChanged();
Tero Ahola
Added opacity property to QAbstractSeries
r2067 void opacityChanged();
Tero Ahola
Fixed a bug with legend not updating series labels
r1328
Marek Rosa
Added data from model support to QPieSeries(modify, remove). Data from model example updated
r597 protected:
Tero Ahola
Renamed QSeries to QAbstractSeries
r988 QScopedPointer<QAbstractSeriesPrivate> d_ptr;
Michal Klocek
Refactor to use qseries private for implmentation interface...
r943 friend class ChartDataSet;
friend class ChartPresenter;
Michal Klocek
Refactors internals...
r2273 friend class ChartThemeManager;
Michal Klocek
Adds qlegend pimpl...
r950 friend class QLegendPrivate;
Tero Ahola
Refactored QML axis handling
r1813 friend class DeclarativeChart;
Michal Klocek
Fix missing file from one of the prvious commits...
r23 };
Titta Heikkala
Qt Charts project file structure change...
r2712 QT_CHARTS_END_NAMESPACE
Michal Klocek
Fix missing file from one of the prvious commits...
r23
Jani Honkonen
Spit&polish public headers
r2046 #endif // QABSTRACTSERIES_H