kwave
18.07.70
|
#include <SonagramDialog.h>
Public Slots | |
void | setPoints (int points) |
void | setWindowFunction (Kwave::window_function_t type) |
void | setColorMode (int color) |
void | setTrackChanges (bool track_changes) |
void | setFollowSelection (bool follow_selection) |
void | setBoxPoints (int num) |
Public Member Functions | |
SonagramDialog (Kwave::Plugin &p) | |
virtual | ~SonagramDialog () |
void | parameters (QStringList &list) |
Private Slots | |
void | invokeHelp () |
Private Attributes | |
sample_index_t | m_length |
double | m_rate |
Definition at line 36 of file SonagramDialog.h.
|
explicit |
Constructor
Definition at line 46 of file SonagramDialog.cpp.
References Kwave::connect(), Kwave::WindowFunction::count(), Kwave::WindowFunction::description(), invokeHelp(), m_length, setBoxPoints(), setPoints(), Kwave::toInt(), and Kwave::WINDOW_FUNC_NONE.
|
virtual |
|
privateslot |
invoke the online help
Definition at line 205 of file SonagramDialog.cpp.
References _.
Referenced by SonagramDialog().
void Kwave::SonagramDialog::parameters | ( | QStringList & | list | ) |
Fills the current parameters into a parameter list. The list always is cleared before it gets filled. The first parameter will contain the number of fft points [1...n] The second parameter will contain the id of a window function or zero if no window function was selected ("<none>").
Definition at line 104 of file SonagramDialog.cpp.
References Kwave::WindowFunction::findFromIndex(), and Kwave::WindowFunction::name().
Referenced by Kwave::SonagramPlugin::setup().
|
slot |
Definition at line 192 of file SonagramDialog.cpp.
Referenced by SonagramDialog().
|
slot |
sets the color mode. Currently only black/white (0) and rainbow color (1) are supported.
Definition at line 166 of file SonagramDialog.cpp.
Referenced by Kwave::SonagramPlugin::setup().
|
slot |
enables/disables the "follow selection mode
Definition at line 184 of file SonagramDialog.cpp.
Referenced by Kwave::SonagramPlugin::setup().
|
slot |
sets the number of fft points
Definition at line 140 of file SonagramDialog.cpp.
References m_length, m_rate, and Kwave::ms2string().
Referenced by SonagramDialog().
|
slot |
enables/disables the "track changes" mode
Definition at line 176 of file SonagramDialog.cpp.
Referenced by Kwave::SonagramPlugin::setup().
|
slot |
selects a window function
Definition at line 158 of file SonagramDialog.cpp.
References Kwave::WindowFunction::index().
Referenced by Kwave::SonagramPlugin::setup().
|
private |
length of the selection
Definition at line 86 of file SonagramDialog.h.
Referenced by setPoints(), and SonagramDialog().
|
private |
sample rate of the signal
Definition at line 89 of file SonagramDialog.h.
Referenced by setPoints().