|
lmms
Cross-platform music production software
|
#include <Oscilloscope.h>
Public Member Functions | |
| Oscilloscope (QWidget *_parent) | |
| ~Oscilloscope () override | |
| void | setActive (bool _active) |
| QColor const & | leftChannelColor () const |
| void | setLeftChannelColor (QColor const &leftChannelColor) |
| QColor const & | rightChannelColor () const |
| void | setRightChannelColor (QColor const &rightChannelColor) |
| QColor const & | otherChannelsColor () const |
| void | setOtherChannelsColor (QColor const &otherChannelsColor) |
| QColor const & | clippingColor () const |
| void | setClippingColor (QColor const &clippingColor) |
Protected Slots | |
| void | updateAudioBuffer (const lmms::SampleFrame *buffer) |
Protected Member Functions | |
| void | paintEvent (QPaintEvent *_pe) override |
| void | mousePressEvent (QMouseEvent *_me) override |
Properties | |
| QColor | leftChannelColor |
| QColor | rightChannelColor |
| QColor | otherChannelsColor |
| QColor | clippingColor |
Private Member Functions | |
| bool | clips (float level) const |
Private Attributes | |
| QPixmap | m_background |
| QPointF * | m_points |
| SampleFrame * | m_buffer |
| bool | m_active |
| QColor | m_leftChannelColor |
| QColor | m_rightChannelColor |
| QColor | m_otherChannelsColor |
| QColor | m_clippingColor |
| lmms::gui::Oscilloscope::Oscilloscope | ( | QWidget * | _parent | ) |
|
override |
| QColor const & lmms::gui::Oscilloscope::clippingColor | ( | ) | const |
|
private |
| QColor const & lmms::gui::Oscilloscope::leftChannelColor | ( | ) | const |
|
overrideprotected |
| QColor const & lmms::gui::Oscilloscope::otherChannelsColor | ( | ) | const |
|
overrideprotected |
| QColor const & lmms::gui::Oscilloscope::rightChannelColor | ( | ) | const |
| void lmms::gui::Oscilloscope::setActive | ( | bool | _active | ) |
| void lmms::gui::Oscilloscope::setClippingColor | ( | QColor const & | clippingColor | ) |
| void lmms::gui::Oscilloscope::setLeftChannelColor | ( | QColor const & | leftChannelColor | ) |
| void lmms::gui::Oscilloscope::setOtherChannelsColor | ( | QColor const & | otherChannelsColor | ) |
| void lmms::gui::Oscilloscope::setRightChannelColor | ( | QColor const & | rightChannelColor | ) |
|
protectedslot |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
readwrite |
|
readwrite |
|
readwrite |
|
readwrite |