RTP Audio System  2.0.0
QSpectrumAnalyzer Class Reference

QSpectrumAnalyzer. More...

#include <qspectrumanalyzer.h>

List of all members.

Public Slots

void timerEvent ()
void pause (bool on)
void reset ()
void closeWindow ()
void newInterval (int index)
void drawAverageLineToggled (int status)

Signals

void closeSpectrumAnalyzer ()

Public Member Functions

 QSpectrumAnalyzer (SpectrumAnalyzer *analyzer, QWidget *parent=NULL)
 ~QSpectrumAnalyzer ()

Private Member Functions

void closeEvent (QCloseEvent *event)

Private Attributes

cardinal ArrayL [Bars]
cardinal ArrayR [Bars]
cardinal Max
QSpectrumDisplayPaintWidget1
QSpectrumDisplayPaintWidget2
QCheckBox * Average
QPushButton * Pause
QTimer * Timer
card16 Timing
SpectrumAnalyzerAnalyzer

Static Private Attributes

static const cardinal Bars = 70

Detailed Description

QSpectrumAnalyzer.

This class is the Qt-Toolkit GUI for the spectrum analyzer.

Author:
Thomas Dreibholz
Version:
1.0

Constructor & Destructor Documentation

QSpectrumAnalyzer::QSpectrumAnalyzer ( SpectrumAnalyzer analyzer,
QWidget *  parent = NULL 
)

Constructor.

Parameters:
analyzerSpectrumAnalyzer object.
parentParent widget.

Member Function Documentation

void QSpectrumAnalyzer::closeEvent ( QCloseEvent *  event) [private]

Qt signal: Emitted, when "Close" or window's close button is clicked.

Qt slot: Close window.

void QSpectrumAnalyzer::drawAverageLineToggled ( int  status) [slot]

Qt slot: Change draw average line status.

void QSpectrumAnalyzer::newInterval ( int  index) [slot]

Qt slot: Change update interval.

void QSpectrumAnalyzer::pause ( bool  on) [slot]

Qt slot: Pause displaying the spectrum.

void QSpectrumAnalyzer::reset ( ) [slot]

Qt slot: Reset spectrum analyzer.

Qt slot: Called by QTimer.


Member Data Documentation

QCheckBox* QSpectrumAnalyzer::Average [private]
const cardinal QSpectrumAnalyzer::Bars = 70 [static, private]
QPushButton* QSpectrumAnalyzer::Pause [private]
QTimer* QSpectrumAnalyzer::Timer [private]

The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines