diff options
Diffstat (limited to 'include-gpl/gui/glspectrumguismall.h')
-rw-r--r-- | include-gpl/gui/glspectrumguismall.h | 63 |
1 files changed, 0 insertions, 63 deletions
diff --git a/include-gpl/gui/glspectrumguismall.h b/include-gpl/gui/glspectrumguismall.h deleted file mode 100644 index 67cad73..0000000 --- a/include-gpl/gui/glspectrumguismall.h +++ /dev/null @@ -1,63 +0,0 @@ -#ifndef INCLUDE_GLSPECTRUMGUISMALL_H -#define INCLUDE_GLSPECTRUMGUISMALL_H - -#include <QWidget> -#include "dsp/dsptypes.h" -#include "util/export.h" - -namespace Ui { - class GLSpectrumGUISmall; -} - -class MessageQueue; -class SpectrumVis; -class GLSpectrum; - -class SDRANGELOVE_API GLSpectrumGUISmall : public QWidget { - Q_OBJECT - -public: - explicit GLSpectrumGUISmall(QWidget* parent = NULL); - ~GLSpectrumGUISmall(); - - void setBuddies(MessageQueue* messageQueue, SpectrumVis* spectrumVis, GLSpectrum* glSpectrum); - - void resetToDefaults(); - QByteArray serialize() const; - bool deserialize(const QByteArray& data); - -private: - Ui::GLSpectrumGUISmall* ui; - - MessageQueue* m_messageQueue; - SpectrumVis* m_spectrumVis; - GLSpectrum* m_glSpectrum; - - qint32 m_fftSize; - qint32 m_fftOverlap; - qint32 m_fftWindow; - Real m_refLevel; - Real m_powerRange; - int m_decay; - bool m_displayWaterfall; - bool m_invertedWaterfall; - bool m_displayMaxHold; - bool m_displayHistogram; - bool m_displayGrid; - - void applySettings(); - -private slots: - void on_fftWindow_currentIndexChanged(int index); - void on_fftSize_currentIndexChanged(int index); - void on_refLevel_currentIndexChanged(int index); - void on_levelRange_currentIndexChanged(int index); - void on_decay_currentIndexChanged(int index); - - void on_waterfall_toggled(bool checked); - void on_histogram_toggled(bool checked); - void on_maxHold_toggled(bool checked); - void on_grid_toggled(bool checked); -}; - -#endif // INCLUDE_GLSPECTRUMGUISMALL_H |