libFourierComponent 2.0(r200)
Fourier Widget

FourierWindowInterface.h

Go to the documentation of this file.
00001 #ifndef FOURIERWINDOWINTERFACE_H
00002 #define FOURIERWINDOWINTERFACE_H
00003 
00004 #include <QObject>
00005 #include <QWidget>
00006 
00007 class QDomElement;
00008 
00025 class FourierWindowInterface : public QObject
00026 {
00027   Q_OBJECT
00028 
00029 public:
00030     FourierWindowInterface(QObject *parent = 0) : QObject(parent) {};
00031     virtual ~FourierWindowInterface() {};
00032 
00033     virtual QString getWindowName() const = 0;
00034     virtual QWidget * getWindowControls(QWidget *parent) const = 0;
00035     virtual QVector<qreal> applyWindowFunction(const QVector<qreal> &data) const = 0;
00041     virtual void appendToDomNode(QDomElement &node) const = 0;
00047     virtual void initializeFromDomNode(const QDomElement &node) = 0;
00048 
00049 signals:
00050     void windowParamsChanged();
00051 
00052 };
00053 
00054 #endif // FOURIERWINDOWINTERFACE_H
 All Classes Namespaces Files Functions Variables Enumerations Enumerator Properties Friends Defines