##// END OF EJS Templates
Added BoxPlot to examples.pro...
Added BoxPlot to examples.pro Change-Id: Idbc01ef7ff03fc654ff9d2474f0bad91ed6abe71 Reviewed-by: Mika Salmela <mika.salmela@digia.com>

File last commit:

r2452:7ed67b83fa6c
r2471:983c36673743
Show More
linechartitem_p.h
79 lines | 2.1 KiB | text/x-c | CLexer
Jani Honkonen
Add license headers
r794 /****************************************************************************
**
Miikka Heikkinen
Fixed the copyright year 2012 -> 2013
r2432 ** Copyright (C) 2013 Digia Plc
Jani Honkonen
Add license headers
r794 ** 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$
**
****************************************************************************/
unknown
Added missing warning about private implementation
r1366 // 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.
Michal Klocek
Fix naming convention for lineseries...
r144 #ifndef LINECHARTITEM_H
#define LINECHARTITEM_H
Michal Klocek
Refactor current draft to fit int current design specs...
r21
Tero Ahola
Renamed to QtCommercialChart
r30 #include "qchartglobal.h"
Michal Klocek
Refactor xychartitem -> xychart
r1218 #include "xychart_p.h"
Michal Klocek
Refactored for MVP...
r139 #include <QPen>
Michal Klocek
Refactor current draft to fit int current design specs...
r21
Tero Ahola
Renamed to QtCommercialChart
r30 QTCOMMERCIALCHART_BEGIN_NAMESPACE
Michal Klocek
Refactor current draft to fit int current design specs...
r21
Michal Klocek
Rename QLineChartSeries to QLineSeries
r349 class QLineSeries;
Michal Klocek
Refactors chartitem...
r677 class ChartPresenter;
Michal Klocek
Refactor current draft to fit int current design specs...
r21
Michal Klocek
Refactors internals...
r2273 class LineChartItem : public XYChart
Michal Klocek
Refactor current draft to fit int current design specs...
r21 {
Jani Honkonen
astyle and manual coding style fixes for src-folder
r2097 Q_OBJECT
Q_INTERFACES(QGraphicsItem)
Michal Klocek
Refactor current draft to fit int current design specs...
r21 public:
Michal Klocek
Refactors internals...
r2273 explicit LineChartItem(QLineSeries *series, QGraphicsItem* item = 0);
Tero Ahola
Fixed paint and mouse event issues with QLineSeries...
r1791 ~LineChartItem() {}
Michal Klocek
Refactor current draft to fit int current design specs...
r21
//from QGraphicsItem
Michal Klocek
Add zoom support...
r67 QRectF boundingRect() const;
Tero Ahola
One more alternative for changing themes
r108 void paint(QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget);
Michal Klocek
Refactors qchart , adds line animation...
r131 QPainterPath shape() const;
Michal Klocek
Refactored for MVP...
r139
Michal Klocek
Bugfix area chart not drawn after drawLine change in lineseries
r1827 QPainterPath path() const { return m_linePath; }
Tero Ahola
Fixed area series paint bug caused by mouse event fix on line series
r1792
sauimone
Q_SIGNALS and Q_SLOTS
r775 public Q_SLOTS:
Michal Klocek
Adds updated handling for line series
r392 void handleUpdated();
Tero Ahola
Fixed area series paint bug caused by mouse event fix on line series
r1792
Michal Klocek
Refactors linechart update calls
r464 protected:
Michal Klocek
Refactors animation handling for xyseries
r1217 void updateGeometry();
Michal Klocek
Refactor xychartitem -> xychart
r1218 void mousePressEvent(QGraphicsSceneMouseEvent *event);
Marek Rosa
Added hovered signal to QLineSeries. Updated callout example
r2255 void hoverEnterEvent(QGraphicsSceneHoverEvent *event);
void hoverLeaveEvent(QGraphicsSceneHoverEvent *event);
Miikka Heikkinen
Fix area series fill problem when component series have points visible...
r2452 void suppressPoints() { m_pointsVisible = false; }
Michal Klocek
Refactors linechart update calls
r464
Michal Klocek
Refactor line spline to common xyline...
r465 private:
Jani Honkonen
more coding style fixes for src-folder...
r2104 QLineSeries *m_series;
Michal Klocek
Refactor line spline to common xyline...
r465 QPainterPath m_path;
Michal Klocek
Fix line series graphic arefacts
r1819 QPainterPath m_linePath;
QVector<QPointF> m_points;
Michal Klocek
Refactor line spline to common xyline...
r465 QRectF m_rect;
Michal Klocek
Adds clicked(Point) to lineSeries, changes visible points handling
r544 QPen m_linePen;
bool m_pointsVisible;
Michal Klocek
Refactor current draft to fit int current design specs...
r21 };
Tero Ahola
Renamed to QtCommercialChart
r30 QTCOMMERCIALCHART_END_NAMESPACE
Michal Klocek
Refactor current draft to fit int current design specs...
r21
#endif