|
lmms
Cross-platform music production software
|
#include <EqCurve.h>
Signals | |
| void | positionChanged () |
Public Member Functions | |
| EqHandle (int num, int x, int y) | |
| QRectF | boundingRect () const override |
| QPainterPath | getCurvePath () |
| float | getPeakCurve (float x) |
| float | getHighShelfCurve (float x) |
| float | getLowShelfCurve (float x) |
| float | getLowCutCurve (float x) |
| float | getHighCutCurve (float x) |
| float | getResonance () |
| int | getNum () |
| EqHandleType | getType () |
| void | setType (EqHandleType t) |
| void | setResonance (float r) |
| bool | isMouseHover () |
| void | setMouseHover (bool d) |
| bool | isActiveHandle () |
| void | setHandleActive (bool a) |
| bool | mousePressed () const |
| void | sethp12 () |
| void | sethp24 () |
| void | sethp48 () |
| void | setlp12 () |
| void | setlp24 () |
| void | setlp48 () |
Static Public Member Functions | |
| static float | freqToXPixel (float freq, int w) |
| static float | xPixelToFreq (float x, int w) |
| static float | gainToYPixel (float gain, int h, float pixelPerUnitHeight) |
| static float | yPixelToGain (float y, int h, float pixelPerUnitHeight) |
Protected Member Functions | |
| void | mousePressEvent (QGraphicsSceneMouseEvent *event) override |
| void | mouseReleaseEvent (QGraphicsSceneMouseEvent *event) override |
| void | paint (QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget) override |
| void | wheelEvent (QGraphicsSceneWheelEvent *wevent) override |
| void | hoverEnterEvent (QGraphicsSceneHoverEvent *hevent) override |
| void | hoverLeaveEvent (QGraphicsSceneHoverEvent *hevent) override |
| QVariant | itemChange (GraphicsItemChange change, const QVariant &value) override |
Private Member Functions | |
| double | calculateGain (const double freq, const double a1, const double a2, const double b0, const double b1, const double b2) |
| void | loadPixmap () |
Private Attributes | |
| float | m_pixelsPerUnitWidth |
| float | m_pixelsPerUnitHeight |
| float | m_scale |
| bool | m_hp12 |
| bool | m_hp24 |
| bool | m_hp48 |
| bool | m_lp12 |
| bool | m_lp24 |
| bool | m_lp48 |
| bool | m_mouseHover |
| EqHandleType | m_type |
| int | m_numb |
| float | m_width |
| float | m_heigth |
| float | m_resonance |
| bool | m_mousePressed |
| bool | m_active |
| QPixmap | m_circlePixmap |
| lmms::gui::EqHandle::EqHandle | ( | int | num, |
| int | x, | ||
| int | y ) |
|
override |
|
private |
|
static |
|
static |
| QPainterPath lmms::gui::EqHandle::getCurvePath | ( | ) |
| float lmms::gui::EqHandle::getHighCutCurve | ( | float | x | ) |
| float lmms::gui::EqHandle::getHighShelfCurve | ( | float | x | ) |
| float lmms::gui::EqHandle::getLowCutCurve | ( | float | x | ) |
| float lmms::gui::EqHandle::getLowShelfCurve | ( | float | x | ) |
| int lmms::gui::EqHandle::getNum | ( | ) |
| float lmms::gui::EqHandle::getPeakCurve | ( | float | x | ) |
| float lmms::gui::EqHandle::getResonance | ( | ) |
| EqHandleType lmms::gui::EqHandle::getType | ( | ) |
|
overrideprotected |
|
overrideprotected |
| bool lmms::gui::EqHandle::isActiveHandle | ( | ) |
| bool lmms::gui::EqHandle::isMouseHover | ( | ) |
|
overrideprotected |
|
private |
| bool lmms::gui::EqHandle::mousePressed | ( | ) | const |
|
overrideprotected |
|
overrideprotected |
|
overrideprotected |
|
signal |
| void lmms::gui::EqHandle::setHandleActive | ( | bool | a | ) |
| void lmms::gui::EqHandle::sethp12 | ( | ) |
| void lmms::gui::EqHandle::sethp24 | ( | ) |
| void lmms::gui::EqHandle::sethp48 | ( | ) |
| void lmms::gui::EqHandle::setlp12 | ( | ) |
| void lmms::gui::EqHandle::setlp24 | ( | ) |
| void lmms::gui::EqHandle::setlp48 | ( | ) |
| void lmms::gui::EqHandle::setMouseHover | ( | bool | d | ) |
| void lmms::gui::EqHandle::setResonance | ( | float | r | ) |
| void lmms::gui::EqHandle::setType | ( | EqHandleType | t | ) |
|
overrideprotected |
|
static |
|
static |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |