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

Method accept

Modules/QtWidgets/src/QmitkFileReaderOptionsDialog.cpp:81–88  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

79}
80
81void QmitkFileReaderOptionsDialog::accept()
82{
83 const int index = m_ReaderItems.size() - ui->m_ReaderComboBox->currentIndex() - 1;
84 m_ReaderItems[index].GetReader()->SetOptions(
85 qobject_cast<QmitkFileReaderWriterOptionsWidget *>(ui->m_StackedOptionsWidget->currentWidget())->GetOptions());
86 m_LoadInfo.m_ReaderSelector.Select(m_ReaderItems[index]);
87 QDialog::accept();
88}

Callers 7

dragEnterEventMethod · 0.45
OnOKMethod · 0.45
inputValidatorMethod · 0.45
OnOkButtonClickedMethod · 0.45
closeEventMethod · 0.45
OnInstallFinishedMethod · 0.45

Calls 5

sizeMethod · 0.45
SetOptionsMethod · 0.45
GetReaderMethod · 0.45
GetOptionsMethod · 0.45
SelectMethod · 0.45

Tested by

no test coverage detected