#include <QmitkSliceNavigationWidget.h>
◆ QmitkSliceNavigationWidget()
QmitkSliceNavigationWidget::QmitkSliceNavigationWidget |
( |
QWidget * |
parent = nullptr , |
|
|
Qt::WindowFlags |
f = {} |
|
) |
| |
◆ ClippedValueToString()
QString QmitkSliceNavigationWidget::ClippedValueToString |
( |
float |
value | ) |
|
Convert the passed value to a QString representation.
If the value exceeds a certain maximum, "INF" (for "infinity") is displayed instead.
◆ GetInverseDirection()
bool QmitkSliceNavigationWidget::GetInverseDirection |
( |
| ) |
const |
◆ GetInvertedControls()
bool QmitkSliceNavigationWidget::GetInvertedControls |
( |
| ) |
const |
◆ GetLabelUnit()
QString QmitkSliceNavigationWidget::GetLabelUnit |
( |
| ) |
|
◆ GetMaxValueLabel()
QString QmitkSliceNavigationWidget::GetMaxValueLabel |
( |
| ) |
|
◆ GetMinValueLabel()
QString QmitkSliceNavigationWidget::GetMinValueLabel |
( |
| ) |
|
◆ GetPos()
int QmitkSliceNavigationWidget::GetPos |
( |
| ) |
|
◆ Refetch
void QmitkSliceNavigationWidget::Refetch |
( |
| ) |
|
|
slot |
Update the slider with the recent changes applied to the navigation widget.
Intended to be called via event mechanism, e.g. if the connected mitk::Stepper is modified.
◆ SetInverseDirection
void QmitkSliceNavigationWidget::SetInverseDirection |
( |
bool |
inverseDirection | ) |
|
|
slot |
◆ SetInvertedControls
void QmitkSliceNavigationWidget::SetInvertedControls |
( |
bool |
invertedControls | ) |
|
|
slot |
◆ SetLabels
void QmitkSliceNavigationWidget::SetLabels |
( |
| ) |
|
|
protectedslot |
Configure slider with labels according to range and unit settings.
◆ SetLabelUnit
void QmitkSliceNavigationWidget::SetLabelUnit |
( |
const char * |
unit | ) |
|
|
protectedslot |
Set the range unit (e.g. mm or ms).
Displayed below the range labels, if enabled.
◆ SetLabelValues
void QmitkSliceNavigationWidget::SetLabelValues |
( |
float |
min, |
|
|
float |
max |
|
) |
| |
|
protectedslot |
Set label values for the range minimum and maximum.
Displayed as labels to the left and the right of the slider, if enabled.
◆ SetLabelValuesValid
void QmitkSliceNavigationWidget::SetLabelValuesValid |
( |
bool |
minValid, |
|
|
bool |
maxValid |
|
) |
| |
|
protectedslot |
Enable / disable labels for the range minimum or maximum.
Displayed as labels to the left and the right of the slider, if enabled.
◆ SetPos
void QmitkSliceNavigationWidget::SetPos |
( |
int |
val | ) |
|
|
slot |
◆ SetStepper
void QmitkSliceNavigationWidget::SetStepper |
( |
mitk::Stepper * |
stepper | ) |
|
|
slot |
Set the stepper that should be represented and modified.
◆ ShowLabels
void QmitkSliceNavigationWidget::ShowLabels |
( |
bool |
show | ) |
|
|
slot |
Enable / disable displaying of the minimum and maximum labels.
◆ ShowLabelUnit
void QmitkSliceNavigationWidget::ShowLabelUnit |
( |
bool |
show | ) |
|
|
slot |
Enable / disable displaying of the unit label (range will be displayed without unit if enabled).
◆ SliderChanged
void QmitkSliceNavigationWidget::SliderChanged |
( |
double |
| ) |
|
|
protectedslot |
React on changes of the slider.
The position of the stepper (class member) is set according to the current slider value. This will also update the value labels.
◆ SpinBoxChanged
void QmitkSliceNavigationWidget::SpinBoxChanged |
( |
double |
| ) |
|
|
protectedslot |
React on changes of the spinbox.
The position of the stepper (class member) is set according to the current spinbox value. This will also update the value labels.
◆ m_HasLabels
bool QmitkSliceNavigationWidget::m_HasLabels |
|
protected |
◆ m_HasLabelUnit
bool QmitkSliceNavigationWidget::m_HasLabelUnit |
|
protected |
◆ m_InRefetch
bool QmitkSliceNavigationWidget::m_InRefetch |
|
protected |
◆ m_InverseDirection
bool QmitkSliceNavigationWidget::m_InverseDirection |
|
protected |
◆ m_InvertedControls
bool QmitkSliceNavigationWidget::m_InvertedControls |
|
protected |
◆ m_LabelUnit
QString QmitkSliceNavigationWidget::m_LabelUnit |
|
protected |
◆ m_MaxValue
float QmitkSliceNavigationWidget::m_MaxValue |
|
protected |
◆ m_MaxValueValid
bool QmitkSliceNavigationWidget::m_MaxValueValid |
|
protected |
◆ m_MinValue
float QmitkSliceNavigationWidget::m_MinValue |
|
protected |
◆ m_MinValueValid
bool QmitkSliceNavigationWidget::m_MinValueValid |
|
protected |
◆ m_Stepper
The documentation for this class was generated from the following file: