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 (double mappedValue) |
void | scroll (bool up) |
void | resetToDefault () |
void | edit () |
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 |
double | getMappedValue () const |
void | setShowToolTip (bool show) |
void | setProvideContextMenu (bool provide) |
QSize | sizeHint () const override |
Protected Slots | |
void | updateMappedValue (int value) |
void | updateTitle () |
void | contextMenuRequested (const QPoint &) |
Protected Member Functions | |
void | mousePressEvent (QMouseEvent *e) override |
void | mouseDoubleClickEvent (QMouseEvent *e) override |
void | mouseMoveEvent (QMouseEvent *e) override |
void | mouseReleaseEvent (QMouseEvent *e) override |
void | wheelEvent (QWheelEvent *e) override |
void | paintEvent (QPaintEvent *e) override |
void | enterEvent (QEvent *) override |
void | leaveEvent (QEvent *) override |
Protected Attributes | |
int | m_min |
int | m_max |
int | m_default |
int | m_value |
double | 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 |
bool | m_provideContextMenu |
QString | m_title |
QMenu * | m_lastContextMenu |
RangeMapper * | m_rangeMapper |
QImage | m_cache |
WheelCounter | m_wheelCounter |
Detailed Description
Definition at line 29 of file Thumbwheel.h.
Constructor & Destructor Documentation
Thumbwheel::Thumbwheel | ( | Qt::Orientation | orientation, |
QWidget * | parent = 0 |
||
) |
Definition at line 34 of file Thumbwheel.cpp.
References contextMenuRequested().
|
virtual |
Definition at line 61 of file Thumbwheel.cpp.
References m_lastContextMenu, and m_rangeMapper.
Member Function Documentation
int Thumbwheel::getMinimumValue | ( | ) | const |
Definition at line 136 of file Thumbwheel.cpp.
References m_min.
int Thumbwheel::getMaximumValue | ( | ) | const |
Definition at line 156 of file Thumbwheel.cpp.
References m_max.
Referenced by Pane::horizontalThumbwheelMoved().
int Thumbwheel::getDefaultValue | ( | ) | const |
Definition at line 202 of file Thumbwheel.cpp.
References m_default.
Referenced by Pane::updateHeadsUpDisplay().
float Thumbwheel::getSpeed | ( | ) | const |
Definition at line 317 of file Thumbwheel.cpp.
References m_speed.
bool Thumbwheel::getTracking | ( | ) | const |
Definition at line 329 of file Thumbwheel.cpp.
References m_tracking.
bool Thumbwheel::getShowScale | ( | ) | const |
Definition at line 341 of file Thumbwheel.cpp.
References m_showScale.
int Thumbwheel::getValue | ( | ) | const |
Definition at line 242 of file Thumbwheel.cpp.
References m_value.
Referenced by edit(), getMappedValue(), mouseMoveEvent(), resetToDefault(), scroll(), setDefaultValue(), setMappedValue(), setRangeMapper(), setShowToolTip(), and wheelEvent().
void Thumbwheel::setRangeMapper | ( | RangeMapper * | mapper | ) |
Definition at line 91 of file Thumbwheel.cpp.
References getValue(), m_rangeMapper, updateMappedValue(), and valueChanged().
Referenced by Pane::propertyContainerSelected(), and Pane::updateHeadsUpDisplay().
|
inline |
Definition at line 46 of file Thumbwheel.h.
References contextMenuRequested(), edit(), enterEvent(), getMappedValue(), leaveEvent(), m_rangeMapper, mouseDoubleClickEvent(), mouseEntered(), mouseLeft(), mouseMoveEvent(), mousePressEvent(), mouseReleaseEvent(), paintEvent(), resetToDefault(), scroll(), setDefaultValue(), setMappedValue(), setMaximumValue(), setMinimumValue(), setProvideContextMenu(), setShowScale(), setShowToolTip(), setSpeed(), setTracking(), setValue(), sizeHint(), updateMappedValue(), updateTitle(), valueChanged(), and wheelEvent().
double Thumbwheel::getMappedValue | ( | ) | const |
Definition at line 248 of file Thumbwheel.cpp.
References getValue(), m_mappedValue, and m_rangeMapper.
Referenced by getRangeMapper(), and updateTitle().
void Thumbwheel::setShowToolTip | ( | bool | show | ) |
Definition at line 107 of file Thumbwheel.cpp.
References getValue(), m_noMappedUpdate, m_showTooltip, and updateMappedValue().
Referenced by getRangeMapper().
void Thumbwheel::setProvideContextMenu | ( | bool | provide | ) |
Definition at line 116 of file Thumbwheel.cpp.
References m_provideContextMenu.
Referenced by getRangeMapper().
|
override |
Definition at line 642 of file Thumbwheel.cpp.
References m_orientation.
Referenced by getRangeMapper().
|
signal |
Referenced by getRangeMapper(), mouseMoveEvent(), resetToDefault(), scroll(), setDefaultValue(), setMappedValue(), setRangeMapper(), and wheelEvent().
|
signal |
Referenced by enterEvent(), and getRangeMapper().
|
signal |
Referenced by getRangeMapper(), and leaveEvent().
|
slot |
Definition at line 122 of file Thumbwheel.cpp.
References m_max, m_min, m_rotation, and m_value.
Referenced by getRangeMapper(), and Pane::updateHeadsUpDisplay().
|
slot |
Definition at line 142 of file Thumbwheel.cpp.
References m_max, m_min, m_rotation, and m_value.
Referenced by getRangeMapper(), and Pane::updateHeadsUpDisplay().
|
slot |
Definition at line 162 of file Thumbwheel.cpp.
References getValue(), m_atDefault, m_cache, m_default, setValue(), and valueChanged().
Referenced by getRangeMapper(), and Pane::updateHeadsUpDisplay().
|
slot |
Definition at line 311 of file Thumbwheel.cpp.
References m_speed.
Referenced by getRangeMapper(), and Pane::updateHeadsUpDisplay().
|
slot |
Definition at line 323 of file Thumbwheel.cpp.
References m_tracking.
Referenced by getRangeMapper().
|
slot |
Definition at line 335 of file Thumbwheel.cpp.
References m_showScale.
Referenced by getRangeMapper().
|
slot |
Definition at line 208 of file Thumbwheel.cpp.
References m_atDefault, m_cache, m_max, m_min, m_rotation, m_value, and updateTitle().
Referenced by edit(), getRangeMapper(), mouseMoveEvent(), resetToDefault(), scroll(), setDefaultValue(), setMappedValue(), Pane::updateHeadsUpDisplay(), Pane::verticalZoomChanged(), and wheelEvent().
|
slot |
Definition at line 176 of file Thumbwheel.cpp.
References getValue(), m_cache, m_mappedValue, m_noMappedUpdate, m_rangeMapper, setValue(), and valueChanged().
Referenced by edit(), and getRangeMapper().
|
slot |
Definition at line 296 of file Thumbwheel.cpp.
References getValue(), m_speed, m_value, setValue(), and valueChanged().
Referenced by getRangeMapper(), and Pane::wheelVertical().
|
slot |
Definition at line 232 of file Thumbwheel.cpp.
References getValue(), m_atDefault, m_cache, m_default, m_value, setValue(), and valueChanged().
Referenced by contextMenuRequested(), getRangeMapper(), mousePressEvent(), and Pane::resetVerticalPannerExtents().
|
slot |
Definition at line 385 of file Thumbwheel.cpp.
References getValue(), m_mappedValue, m_max, m_min, m_rangeMapper, setMappedValue(), and setValue().
Referenced by contextMenuRequested(), getRangeMapper(), and mouseDoubleClickEvent().
|
protectedslot |
Definition at line 258 of file Thumbwheel.cpp.
References m_mappedValue, m_noMappedUpdate, m_rangeMapper, and updateTitle().
Referenced by getRangeMapper(), setRangeMapper(), and setShowToolTip().
|
protectedslot |
Definition at line 272 of file Thumbwheel.cpp.
References getMappedValue(), m_rangeMapper, m_showTooltip, and m_title.
Referenced by getRangeMapper(), setValue(), and updateMappedValue().
|
protectedslot |
Definition at line 68 of file Thumbwheel.cpp.
References MenuTitle::addTitle(), edit(), m_lastContextMenu, m_provideContextMenu, m_title, and resetToDefault().
Referenced by getRangeMapper(), and Thumbwheel().
|
overrideprotected |
Definition at line 359 of file Thumbwheel.cpp.
References m_clicked, m_clickPos, m_clickRotation, m_rotation, and resetToDefault().
Referenced by getRangeMapper().
|
overrideprotected |
!! needs a common base class with AudioDial (and Panner?)
Definition at line 373 of file Thumbwheel.cpp.
References edit().
Referenced by getRangeMapper().
|
overrideprotected |
Definition at line 452 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 getRangeMapper(), and mouseReleaseEvent().
|
overrideprotected |
Definition at line 477 of file Thumbwheel.cpp.
References m_clicked, m_tracking, and mouseMoveEvent().
Referenced by getRangeMapper().
|
overrideprotected |
Definition at line 488 of file Thumbwheel.cpp.
References WheelCounter::count(), getValue(), m_value, m_wheelCounter, setValue(), and valueChanged().
Referenced by getRangeMapper().
|
overrideprotected |
Definition at line 501 of file Thumbwheel.cpp.
References m_cache, m_orientation, m_rotation, and m_showScale.
Referenced by getRangeMapper().
|
overrideprotected |
Definition at line 347 of file Thumbwheel.cpp.
References mouseEntered().
Referenced by getRangeMapper().
|
overrideprotected |
Definition at line 353 of file Thumbwheel.cpp.
References mouseLeft().
Referenced by getRangeMapper().
Member Data Documentation
|
protected |
Definition at line 88 of file Thumbwheel.h.
Referenced by edit(), getMinimumValue(), mouseMoveEvent(), setMaximumValue(), setMinimumValue(), and setValue().
|
protected |
Definition at line 89 of file Thumbwheel.h.
Referenced by edit(), getMaximumValue(), mouseMoveEvent(), setMaximumValue(), setMinimumValue(), and setValue().
|
protected |
Definition at line 90 of file Thumbwheel.h.
Referenced by getDefaultValue(), resetToDefault(), and setDefaultValue().
|
protected |
Definition at line 91 of file Thumbwheel.h.
Referenced by getValue(), mouseMoveEvent(), resetToDefault(), scroll(), setMaximumValue(), setMinimumValue(), setValue(), and wheelEvent().
|
protected |
Definition at line 92 of file Thumbwheel.h.
Referenced by edit(), getMappedValue(), setMappedValue(), and updateMappedValue().
|
protected |
Definition at line 93 of file Thumbwheel.h.
Referenced by setMappedValue(), setShowToolTip(), and updateMappedValue().
|
protected |
Definition at line 94 of file Thumbwheel.h.
Referenced by mouseMoveEvent(), mousePressEvent(), paintEvent(), setMaximumValue(), setMinimumValue(), and setValue().
|
protected |
Definition at line 95 of file Thumbwheel.h.
Referenced by mouseMoveEvent(), paintEvent(), and sizeHint().
|
protected |
Definition at line 96 of file Thumbwheel.h.
Referenced by getSpeed(), mouseMoveEvent(), scroll(), and setSpeed().
|
protected |
Definition at line 97 of file Thumbwheel.h.
Referenced by getTracking(), mouseMoveEvent(), mouseReleaseEvent(), and setTracking().
|
protected |
Definition at line 98 of file Thumbwheel.h.
Referenced by getShowScale(), paintEvent(), and setShowScale().
|
protected |
Definition at line 99 of file Thumbwheel.h.
Referenced by mouseMoveEvent(), mousePressEvent(), and mouseReleaseEvent().
|
protected |
Definition at line 100 of file Thumbwheel.h.
Referenced by resetToDefault(), setDefaultValue(), and setValue().
|
protected |
Definition at line 101 of file Thumbwheel.h.
Referenced by mouseMoveEvent(), and mousePressEvent().
|
protected |
Definition at line 102 of file Thumbwheel.h.
Referenced by mouseMoveEvent(), and mousePressEvent().
|
protected |
Definition at line 103 of file Thumbwheel.h.
Referenced by setShowToolTip(), and updateTitle().
|
protected |
Definition at line 104 of file Thumbwheel.h.
Referenced by contextMenuRequested(), and setProvideContextMenu().
|
protected |
Definition at line 105 of file Thumbwheel.h.
Referenced by contextMenuRequested(), and updateTitle().
|
protected |
Definition at line 106 of file Thumbwheel.h.
Referenced by contextMenuRequested(), and ~Thumbwheel().
|
protected |
Definition at line 107 of file Thumbwheel.h.
Referenced by edit(), getMappedValue(), getRangeMapper(), setMappedValue(), setRangeMapper(), updateMappedValue(), updateTitle(), and ~Thumbwheel().
|
protected |
Definition at line 108 of file Thumbwheel.h.
Referenced by paintEvent(), resetToDefault(), setDefaultValue(), setMappedValue(), and setValue().
|
protected |
Definition at line 109 of file Thumbwheel.h.
Referenced by wheelEvent().
The documentation for this class was generated from the following files:
Generated by 1.8.11