mirror of
https://github.com/miek/inspectrum.git
synced 2026-03-07 08:47:03 +01:00
25 lines
318 B
C++
25 lines
318 B
C++
#pragma once
|
|
|
|
#include <QWidget>
|
|
#include "inputsource.h"
|
|
|
|
class Spectrogram : public QWidget {
|
|
Q_OBJECT
|
|
|
|
public:
|
|
Spectrogram();
|
|
~Spectrogram();
|
|
|
|
public slots:
|
|
void setFFTSize(int size);
|
|
|
|
protected:
|
|
void paintEvent(QPaintEvent *event);
|
|
|
|
|
|
private:
|
|
InputSource *inputSource;
|
|
|
|
float powerMax;
|
|
float powerRange;
|
|
}; |