##// END OF EJS Templates
Added Vertical and Horizontal BarModelMappers
Added Vertical and Horizontal BarModelMappers

File last commit:

r1284:38cef2676df3
r1294:6b4eaf123ca6
Show More
qbarseries.h
80 lines | 2.2 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
Michal Klocek
Adds BarCategories typedef
r703 typedef QStringList QBarCategories;
Michal Klocek
Adds back reimplemnted categories handling
r701
sauimone
removed barchartseriesbase. functionality is now in model
r172 class QBarSet;
sauimone
right click feature for bar series. Enables drilldown
r412 class BarCategory;
sauimone
barchart pimpl part 1
r934 class QBarSeriesPrivate;
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
Tero Ahola
Renamed QSeries to QAbstractSeries
r988 class QTCOMMERCIALCHART_EXPORT QBarSeries : 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
sauimone
Integrating bar chart. Cleaned up old implementation. TODO: show this in test application. how?
r56 public:
sauimone
new series: groupedbarseries
r1167 explicit QBarSeries(QObject *parent = 0);
sauimone
barchart: doc update for hover signals
r980 virtual ~QBarSeries();
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
separated categories from barseries constructor
r1112 void setCategories(QBarCategories categories);
sauimone
Integrating bar chart. Cleaned up old implementation. TODO: show this in test application. how?
r56
sauimone
bar margin setter to series
r1283 void setBarMargin(qreal margin);
sauimone
visible property to barseries
r1284 qreal barMargin() 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);
bool remove(QList<QBarSet* > sets);
sauimone
const to getters, renamed addBarset to appendBarset
r776 int barsetCount() const;
int categoryCount() const;
QList<QBarSet*> barSets() const;
Michal Klocek
Adds BarCategories typedef
r703 QBarCategories categories() const;
sauimone
visible property to barseries
r1284 void setVisible(bool visible = true);
bool isVisible() const;
sauimone
renamed barchart floating values with labels to be consistent with piechart
r820 void setLabelsVisible(bool visible = true);
sauimone
removed barlabel. label visibility control is now per series instead of per set
r1246 bool isLabelsVisible() const;
sauimone
values visibility handling changed in barchart
r813
Michal Klocek
Refactor to use qseries private for implmentation interface...
r943 protected:
explicit QBarSeries(QBarSeriesPrivate &d,QObject *parent = 0);
sauimone
Q_SIGNALS and Q_SLOTS
r775 Q_SIGNALS:
sauimone
barchart: removed mousebuttons from clicked signal. removed selected signal. unified internal signal naming in barset and barseries private
r1008 void clicked(QBarSet *barset, QString category);
sauimone
barchart: removed tooltip. hoverEntered and hoverLeaved signals combined to hovered(bool) signal
r975 void hovered(QBarSet* barset, bool status);
sauimone
Barset and barcategory implememtation. Updated test application
r171
sauimone
refactoring. QStackedBarSeries and QPercentBarSeries are now derived from QBarSeries.
r281 protected:
sauimone
barchart pimpl part 1
r934 Q_DECLARE_PRIVATE(QBarSeries)
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