##// END OF EJS Templates
barchart: removed tooltip. hoverEntered and hoverLeaved signals combined to hovered(bool) signal
barchart: removed tooltip. hoverEntered and hoverLeaved signals combined to hovered(bool) signal

File last commit:

r975:b81e04837829
r975:b81e04837829
Show More
qbarseries.h
81 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
Jani Honkonen
Change includes in public headers from #include "xxx" -> #include <xxx>
r697 #include <qseries.h>
sauimone
replaced qbarcategory with qstringlist
r377 #include <QStringList>
sauimone
BarGroup and Bar as ChartItems instead of GraphicItems
r74
Marek Rosa
BarSeries - renamed internal model getter to modelInternal. Some smaller changes to other files to have in headers forward declarations for model related members instead of include
r877 class QModelIndex;
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;
class BarChartModel;
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
Michal Klocek
Rename QChartSeries to QSeries
r360 class QTCOMMERCIALCHART_EXPORT QBarSeries : public QSeries
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:
Michal Klocek
Fixes explicit issues in cstr
r970 explicit QBarSeries(QBarCategories categories, QObject *parent = 0);
sauimone
Integrating bar chart. Cleaned up old implementation. TODO: show this in test application. how?
r56
Michal Klocek
Adds big fat pimpl to series classes...
r938 QSeries::QSeriesType type() const;
sauimone
Integrating bar chart. Cleaned up old implementation. TODO: show this in test application. how?
r56
sauimone
percent barchart layout fix. signal fix
r850 void appendBarSet(QBarSet *set); // Takes ownership of set
sauimone
barcharts: added legend to model. added signals for hover events (for tooltip). updated examples
r280 void removeBarSet(QBarSet *set); // Releases ownership, doesn't delete set
sauimone
percent barchart layout fix. signal fix
r850 void appendBarSets(QList<QBarSet* > sets);
void removeBarSets(QList<QBarSet* > sets);
Marek Rosa
Adding data to BarSet through model added
r662 void insertBarSet(int i, QBarSet *set);
void insertCategory(int i, QString category);
Marek Rosa
Removing data from BarSeries through model added
r663 void removeCategory(int i);
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
renamed barchart floating values with labels to be consistent with piechart
r820 void setLabelsVisible(bool visible = true);
sauimone
values visibility handling changed in barchart
r813
Tero Ahola
Code review: Fixed simple issues in Bar and Legend
r737 bool setModel(QAbstractItemModel *model);
sauimone
barchart pimpl part 1
r934 void setModelMapping(int categories, int bottomBoundary, int topBoundary, Qt::Orientation orientation = Qt::Vertical);
Marek Rosa
QXYSeries: model data orientation added. QBarSeries: some model data function placeholders
r527
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 PIMPL part 2. Cleaning up leftovers in public api
r962 void clicked(QBarSet *barset, QString category, Qt::MouseButtons button);
Michal Klocek
Refactor qledgend handling...
r855 void selected();
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
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