##// END OF EJS Templates
Documentation for bar charts
Documentation for bar charts

File last commit:

r309:7038f6582ad4
r313:625c56c7d323
Show More
qchartseries.h
37 lines | 772 B | text/x-c | CLexer
Michal Klocek
Fix missing file from one of the prvious commits...
r23 #ifndef QCHARTSERIES_H
#define QCHARTSERIES_H
Tero Ahola
Renamed to QtCommercialChart
r30 #include "qchartglobal.h"
Michal Klocek
Fix missing file from one of the prvious commits...
r23 #include <QObject>
sauimone
Improved bar chart series
r71 #include <QAbstractItemModel>
Michal Klocek
Fix missing file from one of the prvious commits...
r23
Tero Ahola
Renamed to QtCommercialChart
r30 QTCOMMERCIALCHART_BEGIN_NAMESPACE
Michal Klocek
Fix missing file from one of the prvious commits...
r23
Tero Ahola
Renamed to QtCommercialChart
r30 class QTCOMMERCIALCHART_EXPORT QChartSeries : public QObject
Michal Klocek
Fix missing file from one of the prvious commits...
r23 {
sauimone
Improved bar chart series
r71 Q_OBJECT
Michal Klocek
Fix missing file from one of the prvious commits...
r23 public:
Tero Ahola
Renamed to QtCommercialChart
r30 enum QChartSeriesType {
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
qdoc for QChartSeries
r309 QChartSeries(QObject *parent = 0) : QObject(parent) {}
Michal Klocek
Fix missing file from one of the prvious commits...
r23
public:
Tero Ahola
qdoc for QChartSeries
r309 virtual ~QChartSeries() {}
Michal Klocek
Fix missing file from one of the prvious commits...
r23 virtual QChartSeriesType type() const = 0;
Tero Ahola
qdoc for QChartSeries
r309 // TODO
sauimone
minor cleaning of unused code
r175 virtual bool setModel(QAbstractItemModel* /*model*/) { return false; }
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