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

Custom widget for display of double-valued data. More...

#include <cxDoubleWidgets.h>

Inheritance diagram for cx::DoubleSlider:

Signals

void doubleValueChanged (double value)
 

Public Member Functions

virtual ~DoubleSlider ()
 
 DoubleSlider (QWidget *parent=0)
 
void setDoubleRange (const DoubleRange &range)
 
void setDoubleValue (double val)
 
double getDoubleValue () 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 40 of file cxDoubleWidgets.h.

Constructor & Destructor Documentation

virtual cx::DoubleSlider::~DoubleSlider ( )
inlinevirtual

Definition at line 45 of file cxDoubleWidgets.h.

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

Definition at line 48 of file cxDoubleWidgets.h.

Member Function Documentation

void cx::DoubleSlider::doubleValueChanged ( double  value)
signal
double cx::DoubleSlider::getDoubleValue ( ) const
inline

Definition at line 65 of file cxDoubleWidgets.h.

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

Definition at line 54 of file cxDoubleWidgets.h.

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

Definition at line 70 of file cxDoubleWidgets.h.

void cx::DoubleSlider::setDoubleValue ( double  val)
inline

Definition at line 60 of file cxDoubleWidgets.h.


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