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

Method reject

Modules/PythonInstallerUI/src/QmitkPipInstallDialog.cpp:127–138  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

125}
126
127void QmitkPipInstallDialog::reject()
128{
129 if (m_Installer->IsRunning() && !this->ConfirmCancel())
130 return;
131
132 // The user is dismissing the dialog. If a previous attempt failed and left
133 // a partial venv behind, clean it up. No-op after a successful install or
134 // after Cancel already did the cleanup.
135 m_Installer->AbandonInstall();
136
137 QDialog::reject();
138}
139
140void QmitkPipInstallDialog::OnAdvancedSettingsClicked()
141{

Callers 3

OnCancelMethod · 0.80
OnOkButtonClickedMethod · 0.80
acceptMethod · 0.80

Calls 3

ConfirmCancelMethod · 0.95
AbandonInstallMethod · 0.80
IsRunningMethod · 0.45

Tested by 1

acceptMethod · 0.64