Medical Imaging Interaction Toolkit  2026.06.00
Medical Imaging Interaction Toolkit
QmitkFileWriterOptionsDialog Class Reference

Dialog that presents available file writers and their options for a given save operation. More...

#include <QmitkFileWriterOptionsDialog.h>

Inheritance diagram for QmitkFileWriterOptionsDialog:
Collaboration diagram for QmitkFileWriterOptionsDialog:

Public Member Functions

 QmitkFileWriterOptionsDialog (mitk::IOUtil::SaveInfo &saveInfo, QWidget *parent=nullptr)
 Construct the dialog for the given save information. More...
 
 ~QmitkFileWriterOptionsDialog () override
 Destructor. More...
 
bool ReuseOptions () const
 Check whether the user requested to reuse these options for subsequent files. More...
 
void accept () override
 Accept the dialog, applying the selected writer and its options to the SaveInfo. More...
 

Detailed Description

Dialog that presents available file writers and their options for a given save operation.

When multiple writers are registered for a data object's MIME type, this dialog lets the user choose which writer to use and configure writer-specific options. The selected writer and its options are written back to the provided mitk::IOUtil::SaveInfo upon acceptance.

Definition at line 45 of file QmitkFileWriterOptionsDialog.h.

Constructor & Destructor Documentation

◆ QmitkFileWriterOptionsDialog()

QmitkFileWriterOptionsDialog::QmitkFileWriterOptionsDialog ( mitk::IOUtil::SaveInfo &  saveInfo,
QWidget *  parent = nullptr 
)
explicit

Construct the dialog for the given save information.

Populates the writer combo box and stacked option widgets from the available writers in saveInfo.

Parameters
saveInfoReference to the SaveInfo containing the file path and writer selector.
parentOptional parent widget.

◆ ~QmitkFileWriterOptionsDialog()

QmitkFileWriterOptionsDialog::~QmitkFileWriterOptionsDialog ( )
override

Destructor.

Member Function Documentation

◆ accept()

void QmitkFileWriterOptionsDialog::accept ( )
override

Accept the dialog, applying the selected writer and its options to the SaveInfo.

◆ ReuseOptions()

bool QmitkFileWriterOptionsDialog::ReuseOptions ( ) const

Check whether the user requested to reuse these options for subsequent files.

Returns
true if the "reuse options" checkbox is checked, false otherwise.

The documentation for this class was generated from the following file: