QtSegAudioPlot: allows the viewing of audio data with segmentation marks. |
#include "QtSegAudioPlot.hxx" |
Related Functions |
|
Public Inherited Methods |
|
|
Function Documentation |
QtSegAudioPlot::QtSegAudioPlot(QWidget* parent) |
Constructs a QtSegAudioPlot which is a child of parent (the parameter). The parent is a QWidget object, by default the plot has not parent. |
QtSegAudioPlot::~QtSegAudioPlot() |
Destroys the plot |
void QtSegAudioPlot::Geometry(int x,int y,int w,int h) |
Assigns the positions and dimensions of the plot. |
void QtSegAudioPlot::Hide() |
Hides the plot. |
void QtSegAudioPlot::Label(const std::string& label) |
Assigns a title label for the plot. |
void QtSegAudioPlot::SetBackgroundColor(Color c) |
ssigns the background color. See VMColor. |
void QtSegAudioPlot::SetData(const Audio& audio, std::list<unsigned>& marks) |
Assigns the data for viewing. audio : audio object. marks : list of values with segmentation marks (sample indexex). |
void QtSegAudioPlot::SetDialColor(Color c) |
Assigns a color for the dial (vertical selection line). See VMColor. |
void QtSegAudioPlot::SetForegroundColor(Color c) |
Assigns a color for the audio data. See VMColor. |
void QtSegAudioPlot::SetMarksColor(Color c) |
Assigns a color for the segmentation marks. See VMColor. |
void QtSegAudioPlot::SetRegionColor(Color c) |
Assigns a color for the selected region. See VMColor. |
void QtSegAudioPlot::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 QtSegAudioPlot::Show() |
Shows the plot. |