#include <GUIAudio.h>
Public Member Functions | |
| WaveForm (VowelSample *sample, QWidget *parent=0, const char *name=0) | |
| ~WaveForm (void) | |
| QSizePolicy | sizePolicy () const |
| QSize | minimumSiteHint () const |
Protected Member Functions | |
| void | paintEvent (QPaintEvent *) |
Private Attributes | |
| QPainter * | painter |
The audio data handling is encapsulated using this class, providing a widget for the GUI to use. Hence, the GUI is relieved from the effort to understand the audio class.
|
||||||||||||||||
|
Constructor which draws the waveform diagramm for a given sample.
|
|
|
Default destructor. |
|
|
Specify the minimum size necessary to display the waveform. |
|
|
QT paintEvent method, used to redraw the modified screen content. |
|
|
The size policy for this widget, denying resizing. |
|
|
The QT painter needed to (re-) draw the canvas. Initialized once upon object construction and used from there. |
1.3-rc3