##// END OF EJS Templates
Ekg example uncommented
Ekg example uncommented

File last commit:

r571:0bb609016fcc
r631:8d92ee463318
Show More
linechartitem_p.h
43 lines | 848 B | text/x-c | CLexer
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 line spline to common xyline...
r465 #include "xychartitem_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
Refactor current draft to fit int current design specs...
r21
Michal Klocek
Refactor line spline to common xyline...
r465 class LineChartItem : public XYChartItem
Michal Klocek
Refactor current draft to fit int current design specs...
r21 {
Michal Klocek
Refactors qchart , adds line animation...
r131 Q_OBJECT
Michal Klocek
Refactor current draft to fit int current design specs...
r21 public:
Michal Klocek
Refactor scatter chart to fit the other classes...
r470 explicit LineChartItem(QLineSeries* series,QGraphicsItem *parent = 0);
Michal Klocek
Fix naming convention for lineseries...
r144 ~ 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
Rewrite animation hadnling in line series...
r389 public slots:
Michal Klocek
Adds updated handling for line series
r392 void handleUpdated();
Michal Klocek
Refactor current draft to fit int current design specs...
r21
Michal Klocek
Refactors linechart update calls
r464 protected:
Michal Klocek
Unify naming setGeometry -> setLayout
r557 void setLayout(QVector<QPointF>& points);
Michal Klocek
Refactors linechart update calls
r464
Michal Klocek
Refactor line spline to common xyline...
r465 private:
Marek Rosa
Spline with problems
r419 QLineSeries* m_series;
Michal Klocek
Fix commit 7b90ec69ce9a3353820d295c222ef3f79537484d
r391 QGraphicsItemGroup m_items;
Michal Klocek
Refactor line spline to common xyline...
r465 QPainterPath m_path;
QRectF m_rect;
Michal Klocek
Adds clicked(Point) to lineSeries, changes visible points handling
r544 QPen m_linePen;
QPen m_pointPen;
bool m_pointsVisible;
Michal Klocek
Refactors qchart , adds line animation...
r131
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