Medical Imaging Interaction Toolkit
2026.06.00
Medical Imaging Interaction Toolkit
mitknnInteractiveUpdatePrompt.h
Go to the documentation of this file.
1
/*============================================================================
2
3
The Medical Imaging Interaction Toolkit (MITK)
4
5
Copyright (c) German Cancer Research Center (DKFZ)
6
All rights reserved.
7
8
Use of this source code is governed by a 3-clause BSD license that can be
9
found in the LICENSE file.
10
11
============================================================================*/
12
13
#ifndef mitknnInteractiveUpdatePrompt_h
14
#define mitknnInteractiveUpdatePrompt_h
15
16
#include <
MitkPythonSegmentationUIExports.h
>
17
18
#include <
mitknnInteractiveVersion.h
>
19
20
class
QWidget;
21
22
namespace
mitk
23
{
24
namespace
nnInteractive
25
{
27
enum class
UpdatePromptChoice
28
{
29
Update
,
30
ContinueInstalled
,
31
Cancel
32
};
33
58
MITKPYTHONSEGMENTATIONUI_EXPORT
UpdatePromptChoice
ShowUpdatePrompt
(QWidget* parent,
const
VersionCheckResult
& result,
bool
modulesLoaded,
bool
inInitFlow);
59
}
60
}
61
62
#endif
MitkPythonSegmentationUIExports.h
MITKPYTHONSEGMENTATIONUI_EXPORT
#define MITKPYTHONSEGMENTATIONUI_EXPORT
Definition:
MitkPythonSegmentationUIExports.h:15
mitknnInteractiveVersion.h
mitk::nnInteractive::ShowUpdatePrompt
MITKPYTHONSEGMENTATIONUI_EXPORT UpdatePromptChoice ShowUpdatePrompt(QWidget *parent, const VersionCheckResult &result, bool modulesLoaded, bool inInitFlow)
Shows the standard nnInteractive version-status dialog and returns the user's choice.
mitk::nnInteractive::UpdatePromptChoice
UpdatePromptChoice
The user's response to the version-update prompt.
Definition:
mitknnInteractiveUpdatePrompt.h:28
mitk::nnInteractive::UpdatePromptChoice::Update
@ Update
Run the in-place update now.
mitk::nnInteractive::UpdatePromptChoice::ContinueInstalled
@ ContinueInstalled
Keep using the installed version.
mitk::nnInteractive::UpdatePromptChoice::Cancel
@ Cancel
Do nothing / abort the surrounding flow.
mitk
Find image slices visible on a given plane.
Definition:
RenderingTests.dox:1
mitk::nnInteractive::VersionCheckResult
Result of CheckInstalledVersion(): the verdict plus the version strings it was derived from (empty wh...
Definition:
mitknnInteractiveVersion.h:43
src
MITK
Modules
PythonSegmentationUI
include
mitknnInteractiveUpdatePrompt.h
Generated by
1.9.1