splinewidget.h
25 lines
| 386 B
| text/x-c
|
CLexer
Marek Rosa
|
r401 | #ifndef SPLINEWIDGET_H | ||
#define SPLINEWIDGET_H | ||||
#include <QtGui/QWidget> | ||||
Marek Rosa
|
r431 | #include "qsplineseries.h" | ||
QTCOMMERCIALCHART_USE_NAMESPACE | ||||
Marek Rosa
|
r401 | |||
class SplineWidget : public QWidget | ||||
{ | ||||
Q_OBJECT | ||||
public: | ||||
SplineWidget(QWidget *parent = 0); | ||||
~SplineWidget(); | ||||
Marek Rosa
|
r431 | |||
public slots: | ||||
void addNewPoint(); | ||||
void removePoint(); | ||||
private: | ||||
QSplineSeries* series; | ||||
Marek Rosa
|
r401 | }; | ||
#endif // SPLINEWIDGET_H | ||||