swift
|
Widget which displays a audio level meter, indicating the level and peak levels of the window of audio samples most recently analyzed. More...
Public Member Functions | |
CLevelMeter (QWidget *parent=nullptr) | |
Constructor. | |
virtual | ~CLevelMeter () |
Destructor. | |
void | paintEvent (QPaintEvent *event) |
void | reset () |
Clean up. | |
void | levelChanged (double level) |
Values. | |
const QColor & | getLowColor () const |
Color properties. | |
const QColor & | getHighColor () const |
Color properties. | |
const QColor & | getPeakColor () const |
Color properties. | |
void | setLowColor (const QColor &color) |
Color properties. | |
void | setHighColor (const QColor &color) |
Color properties. | |
void | setPeakColor (const QColor &color) |
Color properties. | |
Properties | |
QColor | lowColor |
Properties. | |
QColor | highColor |
Properties. | |
QColor | peakColor |
Properties. | |
Widget which displays a audio level meter, indicating the level and peak levels of the window of audio samples most recently analyzed.
Definition at line 24 of file levelmeter.h.
void swift::gui::CLevelMeter::paintEvent | ( | QPaintEvent * | event | ) |
Definition at line 58 of file levelmeter.cpp.