##// END OF EJS Templates
build fix
build fix

File last commit:

r697:fbb57e02c5e2
r729:3294d4ff177c
Show More
qlineseries.h
35 lines | 742 B | text/x-c | CLexer
#ifndef QLINESERIES_H_
#define QLINESERIES_H_
#include <qchartglobal.h>
#include <qxyseries.h>
#include <QDebug>
#include <QPen>
#include <QBrush>
QTCOMMERCIALCHART_BEGIN_NAMESPACE
class QTCOMMERCIALCHART_EXPORT QLineSeries : public QXYSeries
{
public:
QLineSeries(QObject* parent=0);
virtual ~QLineSeries();
void setLinePen(const QPen& pen);
QPen linePen() const {return m_pen;}
void setPointsVisible(bool visible);
bool pointsVisible() const {return m_pointsVisible;}
public: // from QChartSeries
virtual QSeriesType type() const {return QSeries::SeriesTypeLine;}
friend QDebug operator<< (QDebug d, const QLineSeries series);
private:
QPen m_pen;
bool m_pointsVisible;
};
QTCOMMERCIALCHART_END_NAMESPACE
#endif