CustusX  16.5.0-rc9
An IGT application
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
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 61 of file cxDoubleWidgets.h.

Constructor & Destructor Documentation

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

Definition at line 66 of file cxDoubleWidgets.h.

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

Definition at line 69 of file cxDoubleWidgets.h.

Member Function Documentation

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

Definition at line 86 of file cxDoubleWidgets.h.

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

Definition at line 75 of file cxDoubleWidgets.h.

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

Definition at line 91 of file cxDoubleWidgets.h.

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

Definition at line 81 of file cxDoubleWidgets.h.


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