Inviwo 0.9.12-pre
Inviwo documentation
Loading...
Searching...
No Matches
inviwo::RangeSliderQt Class Reference
+ Inheritance diagram for inviwo::RangeSliderQt:

Signals

void valuesChanged (int min, int max)
 

Public Member Functions

int maxRange () const
 
int maxValue () const
 
int minRange () const
 
int minSeparation () const
 
int minValue () const
 
 RangeSliderQt (Qt::Orientation orientation=Qt::Horizontal, QWidget *parent=nullptr, bool showTooltip=false)
 
void setMaxRange (int)
 
void setMaxValue (int)
 
void setMinRange (int)
 
void setMinSeparation (int)
 
void setMinValue (int)
 
void setRange (int, int)
 
void setTooltipFormat (std::function< std::string(int, int)> formater)
 
void setValue (int, int)
 

Protected Types

enum class  Groove { Left = 1 , Right }
 

Protected Member Functions

virtual bool eventFilter (QObject *obj, QEvent *event) override
 
int getTotalRange () const
 
bool handleCenterWidgetEvent (QEvent *event)
 
bool handleGrooveEvent (Groove groove, QEvent *event)
 
void moveMiddle (int delta)
 
void resizeEvent (QResizeEvent *event) override
 
void updateSlidersFromState ()
 
void updateSplitterPosition (int pos, int idx)
 
void updateStateFromSliders ()
 

The documentation for this class was generated from the following file: