##// END OF EJS Templates
better brief descriptions for barcharts
better brief descriptions for barcharts

File last commit:

r1490:b134c8a9174e
r1502:a8b913a7eae1
Show More
bar_p.h
65 lines | 1.8 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
cleaned crap from barseries private headers. Added missing license texts
r1248 // W A R N I N G
// -------------
//
// This file is not part of the QtCommercial Chart API. It exists purely as an
// implementation detail. This header file may change from version to
// version without notice, or even be removed.
//
// We mean it.
sauimone
Integrating bar chart. Cleaned up old implementation. TODO: show this in test application. how?
r56 #ifndef BAR_H
#define BAR_H
#include "qchartglobal.h"
Michal Klocek
Refactors barchart axis hadnling...
r679 #include <QGraphicsRectItem>
sauimone
Integrating bar chart. Cleaned up old implementation. TODO: show this in test application. how?
r56
QTCOMMERCIALCHART_BEGIN_NAMESPACE
sauimone
fixed barchart signals with pimpl. drilldown works now
r968 class QBarSet;
sauimone
barcharts: added legend to model. added signals for hover events (for tooltip). updated examples
r280 // Single visual bar item of chart
Michal Klocek
Refactors barchart axis hadnling...
r679 class Bar : public QObject, public QGraphicsRectItem
sauimone
Integrating bar chart. Cleaned up old implementation. TODO: show this in test application. how?
r56 {
sauimone
Bug fix for bar presenters. It appears that order of childItems may change. Relying on order caused crash
r256 Q_OBJECT
sauimone
Integrating bar chart. Cleaned up old implementation. TODO: show this in test application. how?
r56 public:
sauimone
removed categories from barseries. categories are now only on axis
r1321 Bar(QBarSet *barset, int index, QGraphicsItem *parent = 0);
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 public:
sauimone
Bug fix for bar presenters. It appears that order of childItems may change. Relying on order caused crash
r256 void mousePressEvent(QGraphicsSceneMouseEvent *event);
sauimone
updated barchart examples. minor fixes
r276 void hoverEnterEvent(QGraphicsSceneHoverEvent *event);
void hoverLeaveEvent(QGraphicsSceneHoverEvent *event);
sauimone
Bug fix for bar presenters. It appears that order of childItems may change. Relying on order caused crash
r256
Q_SIGNALS:
sauimone
removed categories from barseries. categories are now only on axis
r1321 void clicked(QBarSet *barset, int index);
sauimone
barchart: removed tooltip. hoverEntered and hoverLeaved signals combined to hovered(bool) signal
r975 void hovered(QBarSet *barset, bool status);
sauimone
reintroducing clicked and hovered signals to barset. Makes some things easier on QML api
r1490 void clicked(int index);
void hovered(bool status);
sauimone
Integrating bar chart. Cleaned up old implementation. TODO: show this in test application. how?
r56
private:
sauimone
removed categories from barseries. categories are now only on axis
r1321 int m_index;
sauimone
fixed barchart signals with pimpl. drilldown works now
r968 QBarSet *m_barset;
sauimone
Integrating bar chart. Cleaned up old implementation. TODO: show this in test application. how?
r56 };
QTCOMMERCIALCHART_END_NAMESPACE
#endif // BAR_H