Medical Imaging Interaction Toolkit  2026.06.00
Medical Imaging Interaction Toolkit
QmitknnInteractiveInstallModeDialog Class Reference

Asks whether to install nnInteractive fully or client-only. More...

#include <QmitknnInteractiveInstallModeDialog.h>

Inheritance diagram for QmitknnInteractiveInstallModeDialog:
Collaboration diagram for QmitknnInteractiveInstallModeDialog:

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...
 

Detailed Description

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.

See also
QmitknnInteractiveToolGUI, QmitkPipInstallDialog

Definition at line 40 of file QmitknnInteractiveInstallModeDialog.h.

Member Enumeration Documentation

◆ Mode

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.

Constructor & Destructor Documentation

◆ QmitknnInteractiveInstallModeDialog()

QmitknnInteractiveInstallModeDialog::QmitknnInteractiveInstallModeDialog ( QWidget *  parent = nullptr)
explicit

◆ ~QmitknnInteractiveInstallModeDialog()

QmitknnInteractiveInstallModeDialog::~QmitknnInteractiveInstallModeDialog ( )
override

Member Function Documentation

◆ SelectedMode()

Mode QmitknnInteractiveInstallModeDialog::SelectedMode ( ) const

Returns the selected mode. Only meaningful after the dialog was accepted.


The documentation for this class was generated from the following file: