qscatterseries.h
39 lines
| 747 B
| text/x-c
|
CLexer
|
r42 | #ifndef QSCATTERSERIES_H | ||
#define QSCATTERSERIES_H | ||||
|
r697 | #include <qchartglobal.h> | ||
#include <qxyseries.h> | ||||
|
r42 | |||
QTCOMMERCIALCHART_BEGIN_NAMESPACE | ||||
class QScatterSeriesPrivate; | ||||
|
r470 | class QTCOMMERCIALCHART_EXPORT QScatterSeries : public QXYSeries | ||
|
r42 | { | ||
|
r195 | |||
public: | ||||
enum MarkerShape { | ||||
|
r541 | MarkerShapeCircle, | ||
MarkerShapeRectangle | ||||
|
r195 | }; | ||
|
r42 | public: | ||
|
r61 | QScatterSeries(QObject *parent = 0); | ||
|
r42 | ~QScatterSeries(); | ||
public: // from QChartSeries | ||||
|
r360 | QSeriesType type() const { return QSeries::SeriesTypeScatter; } | ||
|
r42 | |||
|
r158 | public: | ||
|
r459 | MarkerShape shape() const; | ||
|
r358 | void setShape(MarkerShape shape); | ||
|
r459 | qreal size() const; | ||
|
r397 | void setSize(qreal size); | ||
|
r179 | |||
|
r42 | private: | ||
|
r470 | MarkerShape m_shape; | ||
qreal m_size; | ||||
|
r42 | }; | ||
QTCOMMERCIALCHART_END_NAMESPACE | ||||
#endif // QSCATTERSERIES_H | ||||