Medical Imaging Interaction Toolkit  2023.12.00
Medical Imaging Interaction Toolkit
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
QmitkNavigationToolStorageSelectionWidget.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 QmitkNavigationToolStorageSelectionWidget_h
14 #define QmitkNavigationToolStorageSelectionWidget_h
15 
16 //QT headers
17 #include <QWidget>
18 
19 //mitk headers
20 #include "MitkIGTUIExports.h"
23 #include <usServiceReference.h>
24 //ui header
25 #include "ui_QmitkNavigationToolStorageSelectionWidgetControls.h"
26 
27 
38 class MITKIGTUI_EXPORT QmitkNavigationToolStorageSelectionWidget : public QWidget
39 {
40  Q_OBJECT
41 
42  public:
43  static const std::string VIEW_ID;
44 
45  QmitkNavigationToolStorageSelectionWidget(QWidget* parent = nullptr, Qt::WindowFlags f = nullptr);
47 
49  mitk::NavigationToolStorage::Pointer GetSelectedNavigationToolStorage();
50 
51  signals:
55  void NavigationToolStorageSelected(mitk::NavigationToolStorage::Pointer storage);
56 
57 
58 
59  protected slots:
60 
61  void NavigationToolStorageSelected(us::ServiceReferenceU s);
62 
63 
64  protected:
65 
67  virtual void CreateConnections();
68 
69  virtual void CreateQtPartControl(QWidget *parent);
70 
71  Ui::QmitkNavigationToolStorageSelectionWidgetControls* m_Controls;
72 
73  mitk::NavigationToolStorage::Pointer m_CurrentStorage;
74 
75 
76 
77 };
78 #endif
QmitkNavigationToolStorageSelectionWidget::m_CurrentStorage
mitk::NavigationToolStorage::Pointer m_CurrentStorage
Definition: QmitkNavigationToolStorageSelectionWidget.h:73
mitkNavigationDataSource.h
QmitkNavigationToolStorageSelectionWidget
This widget allows the user to select a navigation tool storage.
Definition: QmitkNavigationToolStorageSelectionWidget.h:38
us::ServiceReference
Definition: usModule.h:40
QmitkNavigationToolStorageSelectionWidget::m_Controls
Ui::QmitkNavigationToolStorageSelectionWidgetControls * m_Controls
Definition: QmitkNavigationToolStorageSelectionWidget.h:71
QmitkNavigationToolStorageSelectionWidget::VIEW_ID
static const std::string VIEW_ID
Definition: QmitkNavigationToolStorageSelectionWidget.h:43
usServiceReference.h
mitkNavigationToolStorage.h