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


Public Member Functions | |
| QmitkAnyIntWidget (const std::string &name, const us::Any &any, QWidget *parent=nullptr) | |
| Constructs a signed integer option widget. More... | |
| us::Any | GetAny () const override |
| Returns the current value as a us::Any wrapping an int. 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 QSpinBox-based adapter for signed integer options.
Definition at line 171 of file QmitkFileReaderWriterOptionsWidget.h.
| QmitkAnyIntWidget::QmitkAnyIntWidget | ( | const std::string & | name, |
| const us::Any & | any, | ||
| QWidget * | parent = nullptr |
||
| ) |
Constructs a signed integer option widget.
| [in] | name | The option name. |
| [in] | any | The initial value (must be convertible to int). |
| [in] | parent | Optional parent widget. |
|
overridevirtual |
Returns the current value as a us::Any wrapping an int.
Implements QmitkAnyAdapter.