CustusX  2023.01.05-dev+develop.0da12
An IGT application
cx::DoubleSpanSlider Class Reference

Custom widget for display of double-valued data.Use the double-named methods instead of qslider's int-based ones. More...

#include <cxDoubleSpanSlider.h>

Inheritance diagram for cx::DoubleSpanSlider:

Signals

void doubleSpanChanged (double lower, double upper)
 

Public Member Functions

virtual ~DoubleSpanSlider ()
 
 DoubleSpanSlider (QWidget *parent=0)
 
void setDoubleRange (const DoubleRange &range)
 
DoubleRange getDoubleRange () const
 
void setDoubleSpan (double lower, double upper)
 
void setDoubleLowerValue (double val)
 
double getDoubleLowerValue () const
 
void setDoubleUpperValue (double val)
 
double getDoubleUpperValue () const
 
void setDoubleTickInterval (double interval)
 

Detailed Description

Custom widget for display of double-valued data.

Use the double-named methods instead of qslider's int-based ones.

Definition at line 32 of file cxDoubleSpanSlider.h.

Constructor & Destructor Documentation

virtual cx::DoubleSpanSlider::~DoubleSpanSlider ( )
inlinevirtual

Definition at line 37 of file cxDoubleSpanSlider.h.

cx::DoubleSpanSlider::DoubleSpanSlider ( QWidget *  parent = 0)
inline

Definition at line 38 of file cxDoubleSpanSlider.h.

Member Function Documentation

void cx::DoubleSpanSlider::doubleSpanChanged ( double  lower,
double  upper 
)
signal
double cx::DoubleSpanSlider::getDoubleLowerValue ( ) const
inline

Definition at line 64 of file cxDoubleSpanSlider.h.

DoubleRange cx::DoubleSpanSlider::getDoubleRange ( ) const
inline

Definition at line 49 of file cxDoubleSpanSlider.h.

double cx::DoubleSpanSlider::getDoubleUpperValue ( ) const
inline

Definition at line 74 of file cxDoubleSpanSlider.h.

void cx::DoubleSpanSlider::setDoubleLowerValue ( double  val)
inline

Definition at line 59 of file cxDoubleSpanSlider.h.

void cx::DoubleSpanSlider::setDoubleRange ( const DoubleRange range)
inline

Definition at line 43 of file cxDoubleSpanSlider.h.

void cx::DoubleSpanSlider::setDoubleSpan ( double  lower,
double  upper 
)
inline

Definition at line 53 of file cxDoubleSpanSlider.h.

void cx::DoubleSpanSlider::setDoubleTickInterval ( double  interval)
inline

Definition at line 79 of file cxDoubleSpanSlider.h.

void cx::DoubleSpanSlider::setDoubleUpperValue ( double  val)
inline

Definition at line 69 of file cxDoubleSpanSlider.h.


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