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

#include <cxDoubleSpanSlider.h>

Inheritance diagram for cx::SliderRangeGroupWidget:
cx::OptimizedUpdateWidget

Signals

void valueChanged (double lower, double upper)
 

Public Member Functions

 SliderRangeGroupWidget (QWidget *parent, DoublePairPropertyBasePtr dataInterface, QGridLayout *gridLayout=0, int row=0)
 
void addToGridLayout (QGridLayout *gridLayout, int row)
 
void setRange (const DoubleRange &range)
 
void setDecimals (int decimals)
 
std::pair< double, double > getValue () const
 
bool setValue (double lower, double upper)
 
- Public Member Functions inherited from cx::OptimizedUpdateWidget
 OptimizedUpdateWidget (QWidget *parent=NULL)
 
virtual ~OptimizedUpdateWidget ()
 
void forcePrePaint ()
 

Additional Inherited Members

- Public Slots inherited from cx::OptimizedUpdateWidget
virtual void setModified ()
 
- Protected Member Functions inherited from cx::OptimizedUpdateWidget
virtual void prePaintEvent ()
 
virtual void paintEvent (QPaintEvent *event)
 

Detailed Description

Definition at line 101 of file cxDoubleSpanSlider.h.

Constructor & Destructor Documentation

cx::SliderRangeGroupWidget::SliderRangeGroupWidget ( QWidget *  parent,
DoublePairPropertyBasePtr  dataInterface,
QGridLayout *  gridLayout = 0,
int  row = 0 
)

Definition at line 26 of file cxDoubleSpanSlider.cpp.

Member Function Documentation

void cx::SliderRangeGroupWidget::addToGridLayout ( QGridLayout *  gridLayout,
int  row 
)

Definition at line 18 of file cxDoubleSpanSlider.cpp.

std::pair< double, double > cx::SliderRangeGroupWidget::getValue ( ) const

Definition at line 91 of file cxDoubleSpanSlider.cpp.

void cx::SliderRangeGroupWidget::setDecimals ( int  decimals)

Definition at line 85 of file cxDoubleSpanSlider.cpp.

void cx::SliderRangeGroupWidget::setRange ( const DoubleRange range)

Definition at line 79 of file cxDoubleSpanSlider.cpp.

bool cx::SliderRangeGroupWidget::setValue ( double  lower,
double  upper 
)

Definition at line 101 of file cxDoubleSpanSlider.cpp.

void cx::SliderRangeGroupWidget::valueChanged ( double  lower,
double  upper 
)
signal

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