Medical Imaging Interaction Toolkit  2016.11.0
Medical Imaging Interaction Toolkit
QmitkXnatUploadFromDataStorageDialog.h
Go to the documentation of this file.
1 #ifndef QMITKXNATUPLOADFROMDATASTORAGEDIALOG_H
2 #define QMITKXNATUPLOADFROMDATASTORAGEDIALOG_H
3 
4 #include <QDialog>
5 
6 #include "MitkXNATExports.h"
7 #include <mitkDataNode.h>
8 
9 namespace Ui
10 {
12 }
13 
14 namespace mitk
15 {
16  class DataStorage;
17 }
18 
20 {
21  Q_OBJECT
22 
23 public:
24  explicit QmitkXnatUploadFromDataStorageDialog(QWidget *parent = 0);
26 
27  void SetDataStorage(mitk::DataStorage *ds);
28  mitk::DataNode::Pointer GetSelectedNode();
29 
30 protected slots:
31 
32  void OnUpload();
33  void OnUploadSceneChecked();
34  void OnCancel();
35 
36  void OnMITKProjectFileNameEntered(const QString &text);
37  void OnDataSelected(const mitk::DataNode *);
38 
39 private:
40  Ui::QmitkXnatUploadFromDataStorageDialog *ui;
41 
42  mitk::DataNode::Pointer m_SelectedNode;
43 };
44 
45 #endif // QMITKXNATUPLOADFROMDATASTORAGEDIALOG_H
Data management class that handles 'was created by' relations.
DataCollection - Class to facilitate loading/accessing structured data.
#define MITKXNAT_EXPORT
Class for nodes of the DataTree.
Definition: mitkDataNode.h:66