##// END OF EJS Templates
Fixed line series usage in the test app
Fixed line series usage in the test app

File last commit:

r48:3cbbcb012d8d
r65:51e529f06d1a
Show More
xylinechartitem_p.h
33 lines | 719 B | text/x-c | CLexer
Michal Klocek
Refactor current draft to fit int current design specs...
r21 #ifndef XYLINECHARTITEM_H
#define XYLINECHARTITEM_H
Tero Ahola
Renamed to QtCommercialChart
r30 #include "qchartglobal.h"
Tero Ahola
Resizing of QGraphicItems now possible by resize signal from QChart
r48 #include <QGraphicsItem>
Michal Klocek
Refactor xyplotdata...
r25 #include "xyplotdomain_p.h"
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
class QXYChartSeries;
class XYLineChartItem : public QGraphicsItem
{
public:
XYLineChartItem(QXYChartSeries* m_series,QGraphicsItem *parent = 0);
virtual ~ XYLineChartItem(){};
//from QGraphicsItem
virtual QRectF boundingRect() const;
virtual void paint(QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget);
Michal Klocek
Removes hardcoded values for xydomain
r47 void updateXYPlotDomain(const XYPlotDomain& data);
Michal Klocek
Refactor current draft to fit int current design specs...
r21
private:
QPolygonF m_polyline;
QXYChartSeries* m_series;
Michal Klocek
Refactor xyplotdata...
r25 XYPlotDomain m_xyPlotData;
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