##// END OF EJS Templates
QML area series to use models
QML area series to use models

File last commit:

r1107:c1d875b346e0
r1161:122f80368c30
Show More
qabstractseries.h
77 lines | 2.0 KiB | text/x-c | CLexer
/ src / qabstractseries.h
Jani Honkonen
Add license headers
r794 /****************************************************************************
**
** Copyright (C) 2012 Digia Plc
** 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$
**
****************************************************************************/
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
Jani Honkonen
Change includes in public headers from #include "xxx" -> #include <xxx>
r697 #include <qchartglobal.h>
Michal Klocek
Fix missing file from one of the prvious commits...
r23 #include <QObject>
sauimone
refactored legend to qseries
r380 #include <QPen>
Michal Klocek
Fix missing file from one of the prvious commits...
r23
Marek Rosa
Fixed: QAbstractItemModel could be forward declaration
r862 class QAbstractItemModel;
Tero Ahola
Renamed to QtCommercialChart
r30 QTCOMMERCIALCHART_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
Tero Ahola
Renamed QSeries to QAbstractSeries
r988 class QTCOMMERCIALCHART_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
QSeries name and QPieSeries properties to QML api
r884 Q_PROPERTY(QString name READ name WRITE setName)
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,
SeriesTypeSpline
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 big fat pimpl to series classes...
r938 virtual bool setModel(QAbstractItemModel* model) = 0;
QAbstractItemModel* model() const;
Marek Rosa
QXYSeries: support for adding data to model when using custom mapping
r1054 int mapFirst() const;
int mapCount() const;
Marek Rosa
QXYSeries: support for removing data from model when using custom mapping
r1055 int mapOrientation() const;
Michal Klocek
Adds big fat pimpl to series classes...
r938 void setName(const QString& name);
QString name() const;
Michal Klocek
Adds if series deleted , remove series from chart
r1062 QChart* chart() const;
Jani Honkonen
Add title to QSeries
r405
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
Adds qlegend pimpl...
r950 friend class QLegendPrivate;
Michal Klocek
Fix missing file from one of the prvious commits...
r23 };
Tero Ahola
Renamed to QtCommercialChart
r30 QTCOMMERCIALCHART_END_NAMESPACE
Michal Klocek
Fix missing file from one of the prvious commits...
r23
#endif