|
Medical Imaging Interaction Toolkit
2026.06.00
Medical Imaging Interaction Toolkit
|
A QDoubleSpinBox-based adapter for float options. More...
#include <QmitkFileReaderWriterOptionsWidget.h>


Public Member Functions | |
| QmitkAnyFloatWidget (const std::string &name, const us::Any &any, QWidget *parent=nullptr) | |
| Constructs a float option widget. More... | |
| us::Any | GetAny () const override |
| Returns the current value as a us::Any wrapping a float. More... | |
Public Member Functions inherited from QmitkAnyAdapter | |
| QmitkAnyAdapter (const std::string &name) | |
| Constructs the adapter with the given option name. More... | |
| virtual | ~QmitkAnyAdapter () |
| std::string | GetName () const |
| Returns the option name associated with this adapter. More... | |
A QDoubleSpinBox-based adapter for float options.
Definition at line 213 of file QmitkFileReaderWriterOptionsWidget.h.
| QmitkAnyFloatWidget::QmitkAnyFloatWidget | ( | const std::string & | name, |
| const us::Any & | any, | ||
| QWidget * | parent = nullptr |
||
| ) |
Constructs a float option widget.
| [in] | name | The option name. |
| [in] | any | The initial value (must be convertible to float). |
| [in] | parent | Optional parent widget. |
|
overridevirtual |
Returns the current value as a us::Any wrapping a float.
Implements QmitkAnyAdapter.