Medical Imaging Interaction Toolkit  2024.06.00
Medical Imaging Interaction Toolkit
QmitkXnatUploadFromDataStorageDialog.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 QmitkXnatUploadFromDataStorageDialog_h
14 #define QmitkXnatUploadFromDataStorageDialog_h
15 
16 #include <QDialog>
17 
18 #include "MitkXNATExports.h"
19 #include <mitkDataNode.h>
20 
21 namespace Ui
22 {
24 }
25 
26 namespace mitk
27 {
28  class DataStorage;
29 }
30 
32 {
33  Q_OBJECT
34 
35 public:
36  explicit QmitkXnatUploadFromDataStorageDialog(QWidget *parent = nullptr);
38 
39  void SetDataStorage(mitk::DataStorage *ds);
40  mitk::DataNode::Pointer GetSelectedNode();
41 
42 protected slots:
43 
44  void OnUpload();
45  void OnUploadSceneChecked();
46  void OnCancel();
47 
48  void OnMITKProjectFileNameEntered(const QString &text);
49  void OnDataSelected(const mitk::DataNode *);
50 
51 private:
52  Ui::QmitkXnatUploadFromDataStorageDialog *ui;
53 
54  mitk::DataNode::Pointer m_SelectedNode;
55 };
56 
57 #endif
MitkXNATExports.h
QmitkXnatUploadFromDataStorageDialog
Definition: QmitkXnatUploadFromDataStorageDialog.h:31
itk::SmartPointer< Self >
mitk
Find image slices visible on a given plane.
Definition: RenderingTests.dox:1
Ui
Definition: BlueBerryExampleLauncherDialog.h:21
mitk::DataStorage
Data management class that handles 'was created by' relations.
Definition: mitkDataStorage.h:43
mitkDataNode.h
MITKXNAT_EXPORT
#define MITKXNAT_EXPORT
Definition: MitkXNATExports.h:15
mitk::DataNode
Class for nodes of the DataTree.
Definition: mitkDataNode.h:63