#include <dynamicSlider.h>
Inheritance diagram for DynamicSlider:
Definition at line 21 of file dynamicSlider.h.
Signals | |
void | mouseHasMoved () |
Public Member Functions | |
DynamicSlider (Orientation orientation, QWidget *parent, const char *name=0) | |
~DynamicSlider () | |
void | setZeroString (QString val) |
when set, a zero string is shown instead of the current value/prefix/suffix when the slider value is 0 | |
void | setPrefix (QString val) |
set the prefix that is displayed before the current slider value | |
void | setPrefixes (QString prefix1, QString prefix2) |
set two prefix values, one for when the value is positive and one for when the value is negative. | |
void | setSuffix (QString val) |
set the suffix that is displayed after the current slider value | |
void | setSuffixes (QString suffix1, QString suffix2) |
set two suffix values, one for when the value is positive and one for when the value is negative. | |
QPoint | getMousePos () |
Protected Member Functions | |
void | mouseMoveEvent (QMouseEvent *e) |
virtual QString | mapValToString () |
subclass DynamicSlider and reimplement this method to change the behavior used to display slider values | |
Private Slots | |
void | updateTooltipLabel () |
Private Attributes | |
QString | zeroString |
QString | prefix1 |
QString | prefix2 |
QString | suffix1 |
QString | suffix2 |
SliderToolTip * | tooltip |
QPoint | cachedMousePos |
|
Definition at line 17 of file dynamicSlider.cpp. References DynamicSlider(), tooltip, and updateTooltipLabel(). Referenced by DynamicSlider().
|
|
Definition at line 30 of file dynamicSlider.cpp. References tooltip.
|
|
Definition at line 119 of file dynamicSlider.cpp. References cachedMousePos. Referenced by SliderToolTip::update().
|
|
subclass DynamicSlider and reimplement this method to change the behavior used to display slider values
Reimplemented in BlurSharpenSlider. Definition at line 70 of file dynamicSlider.cpp. Referenced by updateTooltipLabel().
|
|
Referenced by mouseMoveEvent(). |
|
Definition at line 111 of file dynamicSlider.cpp. References cachedMousePos, mouseHasMoved(), and mouseMoveEvent(). Referenced by mouseMoveEvent().
|
|
set the prefix that is displayed before the current slider value
Definition at line 42 of file dynamicSlider.cpp. References prefix1, prefix2, setPrefix(), and updateTooltipLabel(). Referenced by setPrefix().
|
|
set two prefix values, one for when the value is positive and one for when the value is negative.
Definition at line 49 of file dynamicSlider.cpp. References prefix1, prefix2, setPrefixes(), and updateTooltipLabel(). Referenced by HistogramEditor::HistogramEditor(), and setPrefixes().
|
|
set the suffix that is displayed after the current slider value
Definition at line 56 of file dynamicSlider.cpp. References setSuffix(), suffix1, suffix2, and updateTooltipLabel(). Referenced by setSuffix().
|
|
set two suffix values, one for when the value is positive and one for when the value is negative.
Definition at line 63 of file dynamicSlider.cpp. References setSuffixes(), suffix1, suffix2, and updateTooltipLabel(). Referenced by setSuffixes().
|
|
when set, a zero string is shown instead of the current value/prefix/suffix when the slider value is 0
Definition at line 36 of file dynamicSlider.cpp. References setZeroString(), updateTooltipLabel(), and zeroString. Referenced by HistogramEditor::HistogramEditor(), and setZeroString().
|
|
Definition at line 79 of file dynamicSlider.cpp. References mapValToString(), prefix1, prefix2, suffix1, suffix2, tooltip, and zeroString. Referenced by DynamicSlider(), setPrefix(), setPrefixes(), setSuffix(), setSuffixes(), and setZeroString().
|
|
Definition at line 61 of file dynamicSlider.h. Referenced by getMousePos(), and mouseMoveEvent(). |
|
Definition at line 57 of file dynamicSlider.h. Referenced by setPrefix(), setPrefixes(), and updateTooltipLabel(). |
|
Definition at line 57 of file dynamicSlider.h. Referenced by setPrefix(), setPrefixes(), and updateTooltipLabel(). |
|
Definition at line 58 of file dynamicSlider.h. Referenced by setSuffix(), setSuffixes(), and updateTooltipLabel(). |
|
Definition at line 58 of file dynamicSlider.h. Referenced by setSuffix(), setSuffixes(), and updateTooltipLabel(). |
|
Definition at line 60 of file dynamicSlider.h. Referenced by DynamicSlider(), updateTooltipLabel(), and ~DynamicSlider(). |
|
Definition at line 55 of file dynamicSlider.h. Referenced by setZeroString(), and updateTooltipLabel(). |