MCPcopy Create free account
hub / github.com/MITK/MITK / accept

Method accept

Modules/QtWidgets/src/QmitkFileWriterOptionsDialog.cpp:79–86  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

77}
78
79void QmitkFileWriterOptionsDialog::accept()
80{
81 const int index = m_WriterItems.size() - ui->m_WriterComboBox->currentIndex() - 1;
82 m_WriterItems[index].GetWriter()->SetOptions(
83 qobject_cast<QmitkFileReaderWriterOptionsWidget *>(ui->m_StackedOptionsWidget->currentWidget())->GetOptions());
84 m_SaveInfo.m_WriterSelector.Select(m_WriterItems[index]);
85 QDialog::accept();
86}

Callers

nothing calls this directly

Calls 5

sizeMethod · 0.45
SetOptionsMethod · 0.45
GetWriterMethod · 0.45
GetOptionsMethod · 0.45
SelectMethod · 0.45

Tested by

no test coverage detected