|
svgui
1.9
|
#include <Thumbwheel.h>
Public Slots | |
| void | setMinimumValue (int min) |
| void | setMaximumValue (int max) |
| void | setDefaultValue (int deft) |
| void | setSpeed (float speed) |
| void | setTracking (bool tracking) |
| void | setShowScale (bool show) |
| void | setValue (int value) |
| void | setMappedValue (float mappedValue) |
| void | scroll (bool up) |
| void | resetToDefault () |
Signals | |
| void | valueChanged (int) |
| void | mouseEntered () |
| void | mouseLeft () |
Public Member Functions | |
| Thumbwheel (Qt::Orientation orientation, QWidget *parent=0) | |
| virtual | ~Thumbwheel () |
| int | getMinimumValue () const |
| int | getMaximumValue () const |
| int | getDefaultValue () const |
| float | getSpeed () const |
| bool | getTracking () const |
| bool | getShowScale () const |
| int | getValue () const |
| void | setRangeMapper (RangeMapper *mapper) |
| const RangeMapper * | getRangeMapper () const |
| float | getMappedValue () const |
| void | setShowToolTip (bool show) |
| QSize | sizeHint () const |
Protected Slots | |
| void | updateMappedValue (int value) |
Protected Member Functions | |
| virtual void | mousePressEvent (QMouseEvent *e) |
| virtual void | mouseDoubleClickEvent (QMouseEvent *e) |
| virtual void | mouseMoveEvent (QMouseEvent *e) |
| virtual void | mouseReleaseEvent (QMouseEvent *e) |
| virtual void | wheelEvent (QWheelEvent *e) |
| virtual void | paintEvent (QPaintEvent *e) |
| virtual void | enterEvent (QEvent *) |
| virtual void | leaveEvent (QEvent *) |
Protected Attributes | |
| int | m_min |
| int | m_max |
| int | m_default |
| int | m_value |
| float | m_mappedValue |
| bool | m_noMappedUpdate |
| float | m_rotation |
| Qt::Orientation | m_orientation |
| float | m_speed |
| bool | m_tracking |
| bool | m_showScale |
| bool | m_clicked |
| bool | m_atDefault |
| QPoint | m_clickPos |
| float | m_clickRotation |
| bool | m_showTooltip |
| RangeMapper * | m_rangeMapper |
| QImage | m_cache |
Definition at line 26 of file Thumbwheel.h.
| Thumbwheel::Thumbwheel | ( | Qt::Orientation | orientation, |
| QWidget * | parent = 0 |
||
| ) |
Definition at line 31 of file Thumbwheel.cpp.
|
virtual |
Definition at line 53 of file Thumbwheel.cpp.
References m_rangeMapper.
| int Thumbwheel::getMinimumValue | ( | ) | const |
Definition at line 98 of file Thumbwheel.cpp.
References m_min.
| int Thumbwheel::getMaximumValue | ( | ) | const |
Definition at line 118 of file Thumbwheel.cpp.
References m_max.
Referenced by Pane::horizontalThumbwheelMoved().
| int Thumbwheel::getDefaultValue | ( | ) | const |
Definition at line 164 of file Thumbwheel.cpp.
References m_default.
Referenced by Pane::updateHeadsUpDisplay().
| float Thumbwheel::getSpeed | ( | ) | const |
Definition at line 262 of file Thumbwheel.cpp.
References m_speed.
| bool Thumbwheel::getTracking | ( | ) | const |
Definition at line 274 of file Thumbwheel.cpp.
References m_tracking.
| bool Thumbwheel::getShowScale | ( | ) | const |
Definition at line 286 of file Thumbwheel.cpp.
References m_showScale.
| int Thumbwheel::getValue | ( | ) | const |
Definition at line 200 of file Thumbwheel.cpp.
References m_value.
Referenced by getMappedValue(), mouseDoubleClickEvent(), mouseMoveEvent(), resetToDefault(), scroll(), setDefaultValue(), setMappedValue(), setRangeMapper(), setShowToolTip(), and wheelEvent().
| void Thumbwheel::setRangeMapper | ( | RangeMapper * | mapper | ) |
Definition at line 59 of file Thumbwheel.cpp.
References getValue(), m_rangeMapper, updateMappedValue(), and valueChanged().
Referenced by Pane::propertyContainerSelected(), and Pane::updateHeadsUpDisplay().
|
inline |
Definition at line 43 of file Thumbwheel.h.
References m_rangeMapper.
| float Thumbwheel::getMappedValue | ( | ) | const |
Definition at line 206 of file Thumbwheel.cpp.
References getValue(), m_mappedValue, and m_rangeMapper.
| void Thumbwheel::setShowToolTip | ( | bool | show | ) |
Definition at line 75 of file Thumbwheel.cpp.
References getValue(), m_noMappedUpdate, m_showTooltip, and updateMappedValue().
| QSize Thumbwheel::sizeHint | ( | ) | const |
Definition at line 582 of file Thumbwheel.cpp.
References m_orientation.
|
signal |
Referenced by mouseMoveEvent(), resetToDefault(), scroll(), setDefaultValue(), setMappedValue(), setRangeMapper(), and wheelEvent().
|
signal |
Referenced by enterEvent().
|
signal |
Referenced by leaveEvent().
|
slot |
Definition at line 84 of file Thumbwheel.cpp.
References m_max, m_min, m_rotation, and m_value.
Referenced by Pane::updateHeadsUpDisplay().
|
slot |
Definition at line 104 of file Thumbwheel.cpp.
References m_max, m_min, m_rotation, and m_value.
Referenced by Pane::updateHeadsUpDisplay().
|
slot |
Definition at line 124 of file Thumbwheel.cpp.
References getValue(), m_atDefault, m_cache, m_default, setValue(), and valueChanged().
Referenced by Pane::updateHeadsUpDisplay().
|
slot |
Definition at line 256 of file Thumbwheel.cpp.
References m_speed.
Referenced by Pane::updateHeadsUpDisplay().
|
slot |
Definition at line 268 of file Thumbwheel.cpp.
References m_tracking.
|
slot |
Definition at line 280 of file Thumbwheel.cpp.
References m_showScale.
|
slot |
Definition at line 170 of file Thumbwheel.cpp.
References m_atDefault, m_cache, m_max, m_min, m_rotation, and m_value.
Referenced by mouseDoubleClickEvent(), mouseMoveEvent(), resetToDefault(), scroll(), setDefaultValue(), setMappedValue(), Pane::updateHeadsUpDisplay(), Pane::verticalZoomChanged(), and wheelEvent().
|
slot |
Definition at line 138 of file Thumbwheel.cpp.
References getValue(), m_cache, m_mappedValue, m_noMappedUpdate, m_rangeMapper, setValue(), and valueChanged().
Referenced by mouseDoubleClickEvent().
|
slot |
Definition at line 241 of file Thumbwheel.cpp.
References getValue(), m_speed, m_value, setValue(), and valueChanged().
Referenced by Pane::wheelVertical().
|
slot |
Definition at line 190 of file Thumbwheel.cpp.
References getValue(), m_atDefault, m_cache, m_default, m_value, setValue(), and valueChanged().
Referenced by mousePressEvent().
|
protectedslot |
Definition at line 216 of file Thumbwheel.cpp.
References m_mappedValue, m_noMappedUpdate, m_rangeMapper, and m_showTooltip.
Referenced by setRangeMapper(), and setShowToolTip().
|
protectedvirtual |
Definition at line 304 of file Thumbwheel.cpp.
References m_clicked, m_clickPos, m_clickRotation, m_rotation, and resetToDefault().
|
protectedvirtual |
!! needs a common base class with AudioDial (and Panner?)
Definition at line 318 of file Thumbwheel.cpp.
References getValue(), m_mappedValue, m_max, m_min, m_rangeMapper, setMappedValue(), and setValue().
|
protectedvirtual |
Definition at line 391 of file Thumbwheel.cpp.
References getValue(), m_clicked, m_clickPos, m_clickRotation, m_max, m_min, m_orientation, m_rotation, m_speed, m_tracking, m_value, setValue(), and valueChanged().
Referenced by mouseReleaseEvent().
|
protectedvirtual |
Definition at line 416 of file Thumbwheel.cpp.
References m_clicked, m_tracking, and mouseMoveEvent().
|
protectedvirtual |
Definition at line 427 of file Thumbwheel.cpp.
References getValue(), m_speed, m_value, setValue(), and valueChanged().
|
protectedvirtual |
Definition at line 442 of file Thumbwheel.cpp.
References m_cache, m_orientation, m_rotation, and m_showScale.
|
protectedvirtual |
Definition at line 292 of file Thumbwheel.cpp.
References mouseEntered().
|
protectedvirtual |
Definition at line 298 of file Thumbwheel.cpp.
References mouseLeft().
|
protected |
Definition at line 81 of file Thumbwheel.h.
Referenced by getMinimumValue(), mouseDoubleClickEvent(), mouseMoveEvent(), setMaximumValue(), setMinimumValue(), and setValue().
|
protected |
Definition at line 82 of file Thumbwheel.h.
Referenced by getMaximumValue(), mouseDoubleClickEvent(), mouseMoveEvent(), setMaximumValue(), setMinimumValue(), and setValue().
|
protected |
Definition at line 83 of file Thumbwheel.h.
Referenced by getDefaultValue(), resetToDefault(), and setDefaultValue().
|
protected |
Definition at line 84 of file Thumbwheel.h.
Referenced by getValue(), mouseMoveEvent(), resetToDefault(), scroll(), setMaximumValue(), setMinimumValue(), setValue(), and wheelEvent().
|
protected |
Definition at line 85 of file Thumbwheel.h.
Referenced by getMappedValue(), mouseDoubleClickEvent(), setMappedValue(), and updateMappedValue().
|
protected |
Definition at line 86 of file Thumbwheel.h.
Referenced by setMappedValue(), setShowToolTip(), and updateMappedValue().
|
protected |
Definition at line 87 of file Thumbwheel.h.
Referenced by mouseMoveEvent(), mousePressEvent(), paintEvent(), setMaximumValue(), setMinimumValue(), and setValue().
|
protected |
Definition at line 88 of file Thumbwheel.h.
Referenced by mouseMoveEvent(), paintEvent(), and sizeHint().
|
protected |
Definition at line 89 of file Thumbwheel.h.
Referenced by getSpeed(), mouseMoveEvent(), scroll(), setSpeed(), and wheelEvent().
|
protected |
Definition at line 90 of file Thumbwheel.h.
Referenced by getTracking(), mouseMoveEvent(), mouseReleaseEvent(), and setTracking().
|
protected |
Definition at line 91 of file Thumbwheel.h.
Referenced by getShowScale(), paintEvent(), and setShowScale().
|
protected |
Definition at line 92 of file Thumbwheel.h.
Referenced by mouseMoveEvent(), mousePressEvent(), and mouseReleaseEvent().
|
protected |
Definition at line 93 of file Thumbwheel.h.
Referenced by resetToDefault(), setDefaultValue(), and setValue().
|
protected |
Definition at line 94 of file Thumbwheel.h.
Referenced by mouseMoveEvent(), and mousePressEvent().
|
protected |
Definition at line 95 of file Thumbwheel.h.
Referenced by mouseMoveEvent(), and mousePressEvent().
|
protected |
Definition at line 96 of file Thumbwheel.h.
Referenced by setShowToolTip(), and updateMappedValue().
|
protected |
Definition at line 97 of file Thumbwheel.h.
Referenced by getMappedValue(), getRangeMapper(), mouseDoubleClickEvent(), setMappedValue(), setRangeMapper(), updateMappedValue(), and ~Thumbwheel().
|
protected |
Definition at line 98 of file Thumbwheel.h.
Referenced by paintEvent(), resetToDefault(), setDefaultValue(), setMappedValue(), and setValue().