libFourierComponent 2.0(r200)
Fourier Widget

FourierWindowHamming.h

Go to the documentation of this file.
00001 #ifndef FOURIERWINDOWHAMMING_H
00002 #define FOURIERWINDOWHAMMING_H
00003 
00004 #include "FourierWindowInterface.h"
00005 #include <QPointer>
00006 
00007 class QDoubleSpinBox;
00008 
00015 class FourierWindowHamming : public FourierWindowInterface
00016 {
00017   Q_OBJECT
00018 
00019 public:
00020     FourierWindowHamming(QObject *parent = 0);
00021     virtual ~FourierWindowHamming();
00022 
00023     virtual QString getWindowName() const;
00024     virtual QWidget * getWindowControls(QWidget *parent) const;
00025     virtual QVector<qreal> applyWindowFunction(const QVector<qreal> &data) const;
00026     virtual void appendToDomNode(QDomElement &node) const;
00027     virtual void initializeFromDomNode(const QDomElement &node);
00028 
00029 private slots:
00030     void setNewA(double a);
00031 
00032 private:
00033     double a;
00034     mutable QPointer<QDoubleSpinBox> spinbox;
00035 };
00036 
00037 #endif // FOURIERWINDOWHAMMING_H
 All Classes Namespaces Files Functions Variables Enumerations Enumerator Properties Friends Defines