| 259 | } |
| 260 | |
| 261 | void QmitkSliceNavigationWidget::SpinBoxChanged(double) |
| 262 | { |
| 263 | if (m_InRefetch) |
| 264 | { |
| 265 | return; |
| 266 | } |
| 267 | |
| 268 | if (m_InverseDirection) |
| 269 | { |
| 270 | m_Stepper->SetPos(m_Stepper->GetSteps() - 1 - m_Controls->m_SpinBox->value()); |
| 271 | } |
| 272 | else |
| 273 | { |
| 274 | m_Stepper->SetPos(m_Controls->m_SpinBox->value()); |
| 275 | } |
| 276 | |
| 277 | this->Refetch(); |
| 278 | } |
| 279 | |
| 280 | void QmitkSliceNavigationWidget::SetLabelValues(float min, float max) |
| 281 | { |