QtSpectrumPlot: allows the viewing of spectra. |
#include "QtSpectrumPlot.hxx" |
Related Functions |
|
Public Inherited Methods |
|
|
Function Documentation |
QtSpectrumPlot::QtSpectrumPlot(QWidget* parent) |
Constructs a QtSpectrumPlot which is a child of parent (the parameter). The parent is a QWidget object, by default the plot has not parent. |
QtSpectrumPlot::~QtSpectrumPlot() |
Destroys the plot |
void QtSpectrumPlot::Geometry(int x,int y,int w,int h) |
Assigns the positions and dimensions of the plot. |
void QtSpectrumPlot::Hide() |
Hides the plot. |
void QtSpectrumPlot::Label(const std::string& label) |
Assigns a title label for the plot. |
void QtSpectrumPlot::SetBackgroundColor(Color c) |
Assigns the background color. See VMColor. |
void QtSpectrumPlot::SetData(const Spectrum& spec) |
Assigns the data for viewing. spec : spectrum. |
void QtSpectrumPlot::SetForegroundColor(Color c) |
Assigns a color for the audio data. See VMColor. |
void QtSpectrumPlot::SetVLineColor(Color c) |
Assigns a color for the vertical selection line. See VMColor. |
void QtSpectrumPlot::SwitchDisplayColors(bool b) |
Allows to have a control for changing the display colors. There are two modes: black or white background. If b is true the color change feature is available and not if false. |
void QtSpectrumPlot::Show() |
Shows the plot. |
|
See the example. |