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


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