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


Public Member Functions | |
| QmitkAnyVectorWidget (const std::string &name, const us::Any &any, const QString &defaultValue, QWidget *parent=nullptr) | |
| Constructs a vector option widget with a combo box. More... | |
| us::Any | GetAny () const override |
| Returns the currently selected item 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 QComboBox-based adapter for vector-of-string options.
Definition at line 83 of file QmitkFileReaderWriterOptionsWidget.h.
| QmitkAnyVectorWidget::QmitkAnyVectorWidget | ( | const std::string & | name, |
| const us::Any & | any, | ||
| const QString & | defaultValue, | ||
| QWidget * | parent = nullptr |
||
| ) |
Constructs a vector option widget with a combo box.
| [in] | name | The option name. |
| [in] | any | The initial vector value. |
| [in] | defaultValue | The default item text to select. |
| [in] | parent | Optional parent widget. |
|
overridevirtual |
Returns the currently selected item as a us::Any.
Implements QmitkAnyAdapter.