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 
17 
19 
20 class QWidget;
21 
22 namespace mitk
23 {
24  namespace nnInteractive
25  {
27  enum class UpdatePromptChoice
28  {
29  Update,
31  Cancel
32  };
33 
58  MITKPYTHONSEGMENTATIONUI_EXPORT UpdatePromptChoice ShowUpdatePrompt(QWidget* parent, const VersionCheckResult& result, bool modulesLoaded, bool inInitFlow);
59  }
60 }
61 
62 #endif
#define MITKPYTHONSEGMENTATIONUI_EXPORT
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.
UpdatePromptChoice
The user's response to the version-update prompt.
@ Update
Run the in-place update now.
@ ContinueInstalled
Keep using the installed version.
@ Cancel
Do nothing / abort the surrounding flow.
Find image slices visible on a given plane.
Result of CheckInstalledVersion(): the verdict plus the version strings it was derived from (empty wh...