rmappluginpythonwrapper.cpp
19 lines
| 365 B
| text/x-c
|
CppLexer
/ rmapplugin / rmappluginpythonwrapper.cpp
r0 | #include "rmappluginpythonwrapper.h" | |||
#include <math.h> | ||||
rmappluginPythonWrapper::rmappluginPythonWrapper(QObject *parent) : | ||||
genericPySysdriver(parent) | ||||
{ | ||||
} | ||||
QList<QVariant> rmappluginPythonWrapper::getData() | ||||
{ | ||||
QList<QVariant> data; | ||||
for (int i = 0; i<1024; i++) | ||||
{ | ||||
QVariant t(1000*cos(0.1*i)); | ||||
data.append(t); | ||||
} | ||||
return data; | ||||
} | ||||