Medical Imaging Interaction Toolkit  2026.06.00
Medical Imaging Interaction Toolkit
QmitkNodeSelectionPreferenceHelper.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 QmitkNodeSelectionPreferenceHelper_h
14 #define QmitkNodeSelectionPreferenceHelper_h
15 
16 #include <MitkQtWidgetsExports.h>
17 
18 #include <string>
19 #include <map>
20 
21 namespace mitk
22 {
24  using DataStorageInspectorIDType = std::string;
25 
32  using VisibleDataStorageInspectorMapType = std::map<unsigned int, DataStorageInspectorIDType>;
33 
39 
45 
51 
57 
63 
69 
75 
81 }
82 
83 #endif
#define MITKQTWIDGETS_EXPORT
Find image slices visible on a given plane.
MITKQTWIDGETS_EXPORT void PutPreferredDataStorageInspector(const DataStorageInspectorIDType &id)
Stores the given inspector ID as the preferred (default) inspector.
MITKQTWIDGETS_EXPORT DataStorageInspectorIDType GetPreferredDataStorageInspector()
Returns the ID of the preferred data storage inspector.
MITKQTWIDGETS_EXPORT bool GetShowHistoryInspector()
Returns whether the history inspector should be shown.
MITKQTWIDGETS_EXPORT bool GetShowFavoritesInspector()
Returns whether the favorites inspector should be shown.
MITKQTWIDGETS_EXPORT void PutShowFavoritesInspector(bool show)
Persists whether the favorites inspector should be shown.
std::map< unsigned int, DataStorageInspectorIDType > VisibleDataStorageInspectorMapType
Map of visible data storage inspectors, keyed by display order.
MITKQTWIDGETS_EXPORT VisibleDataStorageInspectorMapType GetVisibleDataStorageInspectors()
Retrieves the currently configured visible inspectors from preferences.
std::string DataStorageInspectorIDType
Type alias for data storage inspector identifiers.
MITKQTWIDGETS_EXPORT void PutShowHistoryInspector(bool show)
Persists whether the history inspector should be shown.
MITKQTWIDGETS_EXPORT void PutVisibleDataStorageInspectors(const VisibleDataStorageInspectorMapType &inspectors)
Persists the given map of visible inspectors to preferences.