##// END OF EJS Templates
Fix manifest file generation for examples...
Fix manifest file generation for examples Change-Id: I70d3a19f334ef6c9da0af7d041bf87f37ff8625e Reviewed-by: Titta Heikkala <titta.heikkala@theqtcompany.com>

File last commit:

r2740:377e4516d036
r2745:704036e35c0a
Show More
bar_p.h
73 lines | 2.1 KiB | text/x-c | CLexer
Jani Honkonen
Add license headers
r794 /****************************************************************************
**
Titta Heikkala
Update copyright year...
r2688 ** Copyright (C) 2014 Digia Plc
Jani Honkonen
Add license headers
r794 ** All rights reserved.
Titta Heikkala
Updated license headers...
r2740 ** For any questions to Digia, please use contact form at http://qt.io
Jani Honkonen
Add license headers
r794 **
Titta Heikkala
Updated license headers...
r2740 ** This file is part of the Qt Charts module.
Jani Honkonen
Add license headers
r794 **
Titta Heikkala
Updated license headers...
r2740 ** Licensees holding valid commercial license for Qt may use this file in
** accordance with the Qt License Agreement provided with the Software
** or, alternatively, in accordance with the terms contained in a written
** agreement between you and Digia.
Jani Honkonen
Add license headers
r794 **
** If you have questions regarding the use of this file, please use
Titta Heikkala
Updated license headers...
r2740 ** contact form at http://qt.io
Jani Honkonen
Add license headers
r794 **
****************************************************************************/
sauimone
cleaned crap from barseries private headers. Added missing license texts
r1248 // W A R N I N G
// -------------
//
Miikka Heikkinen
Qt Commercial -> Qt Enterprise...
r2574 // This file is not part of the Qt Enterprise Chart API. It exists purely as an
sauimone
cleaned crap from barseries private headers. Added missing license texts
r1248 // 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
Titta Heikkala
Fix include syntax...
r2714 #include <QtCharts/QChartGlobal>
#include <QtWidgets/QGraphicsRectItem>
sauimone
Integrating bar chart. Cleaned up old implementation. TODO: show this in test application. how?
r56
Titta Heikkala
Qt Charts project file structure change...
r2712 QT_CHARTS_BEGIN_NAMESPACE
sauimone
Integrating bar chart. Cleaned up old implementation. TODO: show this in test application. how?
r56
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
removed double signal emitting from barseries/set
r1563 ~Bar();
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);
Titta Heikkala
Add pressed, released and doubleClicked signals...
r2739 void mouseReleaseEvent(QGraphicsSceneMouseEvent *event);
void mouseDoubleClickEvent(QGraphicsSceneMouseEvent *event);
void paint(QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget = 0);
sauimone
Bug fix for bar presenters. It appears that order of childItems may change. Relying on order caused crash
r256
Q_SIGNALS:
sauimone
removed double signal emitting from barseries/set
r1563 void clicked(int index, QBarSet *barset);
Titta Heikkala
Add hovered signal with index for bar charts...
r2600 void hovered(bool status, int index, QBarSet *barset);
Titta Heikkala
Add pressed, released and doubleClicked signals...
r2739 void pressed(int index, QBarSet *barset);
void released(int index, QBarSet *barset);
void doubleClicked(int index, QBarSet *barset);
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;
Michal Klocek
Adds compilation fix
r1565 bool m_hovering;
Titta Heikkala
Add pressed, released and doubleClicked signals...
r2739
QPointF m_lastMousePos;
bool m_mousePressed;
sauimone
Integrating bar chart. Cleaned up old implementation. TODO: show this in test application. how?
r56 };
Titta Heikkala
Qt Charts project file structure change...
r2712 QT_CHARTS_END_NAMESPACE
sauimone
Integrating bar chart. Cleaned up old implementation. TODO: show this in test application. how?
r56
#endif // BAR_H