11 #ifndef GUI_DYNAMICSLIDER_H 12 #define GUI_DYNAMICSLIDER_H 18 #include <QMouseEvent> 90 #endif //GUI_DYNAMICSLIDER_H
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...
virtual QString mapValToString()
subclass DynamicSlider and reimplement this method to change the behavior used to display slider valu...
A more dynamic slider that provides moving tooltips that show the slider value.
void mouseMoveEvent(QMouseEvent *e)
DynamicSlider(Qt::Orientation orientation, QWidget *parent, const char *name=0)
void setZeroString(QString val)
when set, a zero string is shown instead of the current value/prefix/suffix when the slider value is ...
void setSuffix(QString val)
set the suffix that is displayed after the current slider value
void updateTooltipLabel()
void setPrefix(QString val)
set the prefix that is displayed before 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...