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

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

Protected Types

enum class  Groove { Left = 1 , Right }
 

Protected Member Functions

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

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