##// END OF EJS Templates
removed legend background drawing
removed legend background drawing

File last commit:

r775:02f25710c73d
r785:fe2ea9e69ee8
Show More
linechartitem_p.h
44 lines | 872 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
Refactors chartitem...
r677 class ChartPresenter;
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:
sauimone
minor code review issues. indent, spaces, brackets etc.
r743 explicit LineChartItem(QLineSeries *series,ChartPresenter *presenter);
~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
sauimone
Q_SIGNALS and Q_SLOTS
r775 public Q_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