##// END OF EJS Templates
Updated spline nad legend example
Updated spline nad legend example

File last commit:

r1584:900775017aef
r1585:2ba1d7112404
Show More
qbarseries.h
82 lines | 2.4 KiB | text/x-c | CLexer
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$
**
****************************************************************************/
sauimone
Naming convention change for barcharts. QBarChartSeries is now QBarSeries etc.
r338 #ifndef BARSERIES_H
#define BARSERIES_H
sauimone
Integrating bar chart. Cleaned up old implementation. TODO: show this in test application. how?
r56
Tero Ahola
Renamed QSeries to QAbstractSeries
r988 #include <qabstractseries.h>
sauimone
replaced qbarcategory with qstringlist
r377 #include <QStringList>
sauimone
BarGroup and Bar as ChartItems instead of GraphicItems
r74
sauimone
Integrating bar chart. Cleaned up old implementation. TODO: show this in test application. how?
r56 QTCOMMERCIALCHART_BEGIN_NAMESPACE
sauimone
removed barchartseriesbase. functionality is now in model
r172 class QBarSet;
sauimone
QBarSeries to QAbstractBarSeries
r1584 class QAbstractBarSeriesPrivate;
sauimone
removed barchartseriesbase. functionality is now in model
r172
sauimone
Integrating bar chart. Cleaned up old implementation. TODO: show this in test application. how?
r56 // Container for series
sauimone
QBarSeries to QAbstractBarSeries
r1584 class QTCOMMERCIALCHART_EXPORT QAbstractBarSeries : public QAbstractSeries
sauimone
Integrating bar chart. Cleaned up old implementation. TODO: show this in test application. how?
r56 {
sauimone
Improved bar chart series
r71 Q_OBJECT
Tero Ahola
Removed unnecessary bar width signal from QBarSeries
r1487 Q_PROPERTY(qreal barWidth READ barWidth WRITE setBarWidth)
Tero Ahola
Minor modifications to properties of abstract, area and bar series
r1462 Q_PROPERTY(int count READ count NOTIFY countChanged)
sauimone
changed barset name to label to be consistent with pie series. Series have names, barsets and pieslices have labels
r1429 Q_PROPERTY(bool labelsVisible READ isLabelsVisible WRITE setLabelsVisible NOTIFY labelsVisibleChanged)
Tero Ahola
Color properties to QML BarSet API
r1302
sauimone
Integrating bar chart. Cleaned up old implementation. TODO: show this in test application. how?
r56 public:
sauimone
QBarSeries to QAbstractBarSeries
r1584 explicit QAbstractBarSeries(QObject *parent = 0);
virtual ~QAbstractBarSeries();
sauimone
Integrating bar chart. Cleaned up old implementation. TODO: show this in test application. how?
r56
Michal Klocek
Fixes to API , QSeriesType -> SeriesType , add missing getters
r1107 QAbstractSeries::SeriesType type() const;
sauimone
Integrating bar chart. Cleaned up old implementation. TODO: show this in test application. how?
r56
sauimone
barmargin replaced with barwidth
r1425 void setBarWidth(qreal width);
qreal barWidth() const;
sauimone
bar margin setter to series
r1283
sauimone
Fixed category handling of barcharts. Now the categories can be undefined. Updated documentation.
r1208 bool append(QBarSet *set);
bool remove(QBarSet *set);
sauimone
Renamed appendBarSet to append, removeBarSet to remove
r1194 bool append(QList<QBarSet* > sets);
Marek Rosa
Added insert method to QBarSeries
r1362 bool insert(int index, QBarSet *set);
Tero Ahola
Minor modifications to properties of abstract, area and bar series
r1462 int count() const;
sauimone
const to getters, renamed addBarset to appendBarset
r776 QList<QBarSet*> barSets() const;
Marek Rosa
BarModelMapper: implemented model updated slots. Some more work needed with categories
r1295 void clear();
Michal Klocek
Adds BarCategories typedef
r703
sauimone
renamed barchart floating values with labels to be consistent with piechart
r820 void setLabelsVisible(bool visible = true);
Marek Rosa
Added insert method to QBarSeries
r1362 bool isLabelsVisible() const;
sauimone
values visibility handling changed in barchart
r813
Michal Klocek
Refactor to use qseries private for implmentation interface...
r943 protected:
sauimone
QBarSeries to QAbstractBarSeries
r1584 explicit QAbstractBarSeries(QAbstractBarSeriesPrivate &d,QObject *parent = 0);
Michal Klocek
Refactor to use qseries private for implmentation interface...
r943
sauimone
Q_SIGNALS and Q_SLOTS
r775 Q_SIGNALS:
sauimone
removed double signal emitting from barseries/set
r1563 void clicked(int index, QBarSet *barset);
void hovered(bool status, QBarSet *barset);
Tero Ahola
Minor modifications to properties of abstract, area and bar series
r1462 void countChanged();
sauimone
barchart signals for properties and changes
r1353 void labelsVisibleChanged();
void barsetsAdded(QList<QBarSet*> sets);
void barsetsRemoved(QList<QBarSet*> sets);
sauimone
Barset and barcategory implememtation. Updated test application
r171
sauimone
refactoring. QStackedBarSeries and QPercentBarSeries are now derived from QBarSeries.
r281 protected:
sauimone
QBarSeries to QAbstractBarSeries
r1584 Q_DECLARE_PRIVATE(QAbstractBarSeries)
sauimone
barchart PIMPL part 2. Cleaning up leftovers in public api
r962 friend class BarChartItem;
friend class PercentBarChartItem;
friend class StackedBarChartItem;
sauimone
new series: groupedbarseries
r1167 friend class GroupedBarChartItem;
sauimone
Integrating bar chart. Cleaned up old implementation. TODO: show this in test application. how?
r56 };
QTCOMMERCIALCHART_END_NAMESPACE
sauimone
Naming convention change for barcharts. QBarChartSeries is now QBarSeries etc.
r338 #endif // BARSERIES_H