Medical Imaging Interaction Toolkit
2016.11.0
Medical Imaging Interaction Toolkit
|
#include <QmitkNumberPropertySlider.h>
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 |
Definition at line 33 of file QmitkNumberPropertySlider.h.
QmitkNumberPropertySlider::QmitkNumberPropertySlider | ( | QWidget * | parent = nullptr | ) |
Definition at line 153 of file QmitkNumberPropertySlider.cpp.
References onValueChanged().
|
virtual |
Definition at line 94 of file QmitkNumberPropertySlider.cpp.
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 |
|
protectedslot |
Definition at line 261 of file QmitkNumberPropertySlider.cpp.
References DT_DOUBLE, DT_FLOAT, DT_INT, mitk::RenderingManager::GetInstance(), mitk::RenderingManager::RequestUpdateAll(), and ROUND.
Referenced by QmitkNumberPropertySlider().
void QmitkNumberPropertySlider::setDecimalPlaces | ( | short | places | ) |
Definition at line 182 of file QmitkNumberPropertySlider.cpp.
void QmitkNumberPropertySlider::setDoubleValue | ( | double | value | ) |
Definition at line 256 of file QmitkNumberPropertySlider.cpp.
References ROUND.
void QmitkNumberPropertySlider::setMaxValue | ( | int | value | ) |
Definition at line 246 of file QmitkNumberPropertySlider.cpp.
References ROUND.
Referenced by QmitkDataManagerView::ComponentActionChanged(), and QmitkPropertyListPopup::fillPopup().
void QmitkNumberPropertySlider::setMinValue | ( | int | value | ) |
Definition at line 236 of file QmitkNumberPropertySlider.cpp.
References ROUND.
Referenced by QmitkDataManagerView::ComponentActionChanged(), and QmitkPropertyListPopup::fillPopup().
void QmitkNumberPropertySlider::SetProperty | ( | mitk::IntProperty * | property | ) |
Definition at line 98 of file QmitkNumberPropertySlider.cpp.
Referenced by QmitkDataManagerView::ComponentActionChanged().
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().
|
readwrite |
Definition at line 39 of file QmitkNumberPropertySlider.h.
|
readwrite |
Definition at line 38 of file QmitkNumberPropertySlider.h.
|
write |
Definition at line 36 of file QmitkNumberPropertySlider.h.
|
readwrite |
Definition at line 37 of file QmitkNumberPropertySlider.h.