|
Medical Imaging Interaction Toolkit
2026.06.00
Medical Imaging Interaction Toolkit
|
Asks whether to install nnInteractive fully or client-only. More...
#include <QmitknnInteractiveInstallModeDialog.h>


Public Types | |
| enum class | Mode { Full , ClientOnly } |
| The install mode chosen by the user. More... | |
Public Member Functions | |
| QmitknnInteractiveInstallModeDialog (QWidget *parent=nullptr) | |
| ~QmitknnInteractiveInstallModeDialog () override | |
| Mode | SelectedMode () const |
| Returns the selected mode. Only meaningful after the dialog was accepted. More... | |
Asks whether to install nnInteractive fully or client-only.
Shown right before the pip install dialog when nnInteractive is not yet installed. The choice determines what is installed:
Full: the full nnInteractive package (PyTorch, the local inference backend, and a model checkpoint), enabling both local and remote sessions.ClientOnly: the lightweight nninteractive-client package (no PyTorch), enabling remote sessions only. Much smaller and faster to install.Switching from client-only to full later is done by uninstalling and reinitializing, so the choice is presented up front rather than as a setting.
Definition at line 40 of file QmitknnInteractiveInstallModeDialog.h.
|
strong |
The install mode chosen by the user.
| Enumerator | |
|---|---|
| Full | Local and remote inference (installs PyTorch and a model checkpoint). |
| ClientOnly | Remote sessions only (installs the lightweight nninteractive-client). |
Definition at line 46 of file QmitknnInteractiveInstallModeDialog.h.
|
explicit |
|
override |
| Mode QmitknnInteractiveInstallModeDialog::SelectedMode | ( | ) | const |
Returns the selected mode. Only meaningful after the dialog was accepted.