Medical Imaging Interaction Toolkit  2023.12.00
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)
 
 ~QmitkNumberPropertySlider () override
 
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 29 of file QmitkNumberPropertySlider.h.

Constructor & Destructor Documentation

◆ QmitkNumberPropertySlider()

QmitkNumberPropertySlider::QmitkNumberPropertySlider ( QWidget *  parent = nullptr)

◆ ~QmitkNumberPropertySlider()

QmitkNumberPropertySlider::~QmitkNumberPropertySlider ( )
override

Member Function Documentation

◆ doubleValue()

double QmitkNumberPropertySlider::doubleValue ( ) const

◆ getDecimalPlaces()

short QmitkNumberPropertySlider::getDecimalPlaces ( ) const

◆ getShowPercent()

bool QmitkNumberPropertySlider::getShowPercent ( ) const

◆ maxValue()

int QmitkNumberPropertySlider::maxValue ( ) const

◆ minValue()

int QmitkNumberPropertySlider::minValue ( ) const

◆ onValueChanged

void QmitkNumberPropertySlider::onValueChanged ( int  )
protectedslot

◆ setDecimalPlaces()

void QmitkNumberPropertySlider::setDecimalPlaces ( short  )

◆ setDoubleValue()

void QmitkNumberPropertySlider::setDoubleValue ( double  )

◆ setMaxValue()

void QmitkNumberPropertySlider::setMaxValue ( int  )

◆ setMinValue()

void QmitkNumberPropertySlider::setMinValue ( int  )

◆ SetProperty() [1/3]

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

◆ SetProperty() [2/3]

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

◆ SetProperty() [3/3]

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

◆ setShowPercent()

void QmitkNumberPropertySlider::setShowPercent ( bool  )

Property Documentation

◆ maxValue

int QmitkNumberPropertySlider::maxValue
readwrite

Definition at line 35 of file QmitkNumberPropertySlider.h.

◆ minValue

int QmitkNumberPropertySlider::minValue
readwrite

Definition at line 34 of file QmitkNumberPropertySlider.h.

◆ READ

short decimalPlaces QmitkNumberPropertySlider::READ
write

Definition at line 32 of file QmitkNumberPropertySlider.h.

◆ showPercent

bool QmitkNumberPropertySlider::showPercent
readwrite

Definition at line 33 of file QmitkNumberPropertySlider.h.


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