Medical Imaging Interaction Toolkit  2016.11.0
Medical Imaging Interaction Toolkit
QmitkNumberPropertySlider Class Reference

#include <QmitkNumberPropertySlider.h>

Inheritance diagram for QmitkNumberPropertySlider:
Collaboration diagram for QmitkNumberPropertySlider:

Public Member Functions

 QmitkNumberPropertySlider (QWidget *parent=nullptr)
 
virtual ~QmitkNumberPropertySlider ()
 
void SetProperty (mitk::IntProperty *property)
 
void SetProperty (mitk::FloatProperty *property)
 
void SetProperty (mitk::DoubleProperty *property)
 
short getDecimalPlaces () const
 
void setDecimalPlaces (short)
 
bool getShowPercent () const
 
void setShowPercent (bool)
 
int minValue () const
 
void setMinValue (int)
 
int maxValue () const
 
void setMaxValue (int)
 
double doubleValue () const
 
void setDoubleValue (double)
 

Protected Slots

void onValueChanged (int)
 

Properties

short decimalPlaces READ
 
bool showPercent
 
int minValue
 
int maxValue
 

Detailed Description

Definition at line 33 of file QmitkNumberPropertySlider.h.

Constructor & Destructor Documentation

QmitkNumberPropertySlider::QmitkNumberPropertySlider ( QWidget *  parent = nullptr)

Definition at line 153 of file QmitkNumberPropertySlider.cpp.

References onValueChanged().

QmitkNumberPropertySlider::~QmitkNumberPropertySlider ( )
virtual

Definition at line 94 of file QmitkNumberPropertySlider.cpp.

Member Function Documentation

double QmitkNumberPropertySlider::doubleValue ( ) const

Definition at line 251 of file QmitkNumberPropertySlider.cpp.

short QmitkNumberPropertySlider::getDecimalPlaces ( ) const

Definition at line 177 of file QmitkNumberPropertySlider.cpp.

bool QmitkNumberPropertySlider::getShowPercent ( ) const

Definition at line 201 of file QmitkNumberPropertySlider.cpp.

int QmitkNumberPropertySlider::maxValue ( ) const
int QmitkNumberPropertySlider::minValue ( ) const
void QmitkNumberPropertySlider::onValueChanged ( int  value)
protectedslot
void QmitkNumberPropertySlider::setDecimalPlaces ( short  places)

Definition at line 182 of file QmitkNumberPropertySlider.cpp.

References DT_DOUBLE, and DT_FLOAT.

void QmitkNumberPropertySlider::setDoubleValue ( double  value)

Definition at line 256 of file QmitkNumberPropertySlider.cpp.

References ROUND.

void QmitkNumberPropertySlider::setMaxValue ( int  value)
void QmitkNumberPropertySlider::setMinValue ( int  value)
void QmitkNumberPropertySlider::SetProperty ( mitk::IntProperty property)
void QmitkNumberPropertySlider::SetProperty ( mitk::FloatProperty property)

Definition at line 113 of file QmitkNumberPropertySlider.cpp.

void QmitkNumberPropertySlider::SetProperty ( mitk::DoubleProperty property)

Definition at line 128 of file QmitkNumberPropertySlider.cpp.

void QmitkNumberPropertySlider::setShowPercent ( bool  showPercent)

Definition at line 206 of file QmitkNumberPropertySlider.cpp.

References DT_DOUBLE, and DT_FLOAT.

Referenced by QmitkPropertyListPopup::fillPopup().

Property Documentation

int QmitkNumberPropertySlider::maxValue
readwrite

Definition at line 39 of file QmitkNumberPropertySlider.h.

int QmitkNumberPropertySlider::minValue
readwrite

Definition at line 38 of file QmitkNumberPropertySlider.h.

short decimalPlaces QmitkNumberPropertySlider::READ
write

Definition at line 36 of file QmitkNumberPropertySlider.h.

bool QmitkNumberPropertySlider::showPercent
readwrite

Definition at line 37 of file QmitkNumberPropertySlider.h.


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