##// END OF EJS Templates
Squashed bunch of warnings
Squashed bunch of warnings

File last commit:

r571:0bb609016fcc
r611:e622b3a8d8a0
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