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

Method SetCurrentReader

Modules/QtWidgets/src/QmitkFileReaderOptionsDialog.cpp:70–74  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

68}
69
70void QmitkFileReaderOptionsDialog::SetCurrentReader(int index)
71{
72 ui->m_StackedOptionsWidget->setCurrentIndex(index);
73 ui->m_OptionsBox->setVisible(!qobject_cast<QmitkFileReaderWriterOptionsWidget*>(ui->m_StackedOptionsWidget->currentWidget())->GetOptions().empty());
74}
75
76bool QmitkFileReaderOptionsDialog::ReuseOptions() const
77{

Callers

nothing calls this directly

Calls 2

emptyMethod · 0.45
GetOptionsMethod · 0.45

Tested by

no test coverage detected