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

Method SetTerminalStatus

Modules/PythonInstallerUI/src/QmitkPipInstallDialog.cpp:391–403  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

389}
390
391void QmitkPipInstallDialog::SetTerminalStatus(const QString& text)
392{
393 // The first specific terminal message wins. This lets OnErrorOccurred
394 // publish a precise cause (e.g. "Python executable not found") without
395 // the subsequent OnInstallFinished(false) overwriting it with the
396 // generic fallback. Reset in SetUiInstalling so retries can publish a
397 // new terminal message.
398 if (m_TerminalStatusSet)
399 return;
400
401 m_Ui->statusLabel->setText(text);
402 m_TerminalStatusSet = true;
403}
404
405void QmitkPipInstallDialog::SetUiFinished(bool success)
406{

Callers 3

OnInstallFinishedMethod · 0.95
OnErrorOccurredMethod · 0.95
ConfirmCancelMethod · 0.95

Calls 1

setTextMethod · 0.45

Tested by

no test coverage detected