Medical Imaging Interaction Toolkit
2024.06.00
Medical Imaging Interaction Toolkit
QmitkXnatCreateObjectDialog.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 QmitkXnatCreateObjectDialog_h
14
#define QmitkXnatCreateObjectDialog_h
15
16
#include <
MitkXNATExports.h
>
17
18
// Qt
19
#include <QDialog>
20
#include <QWidget>
21
22
class
ctkXnatObject;
23
24
class
MITKXNAT_EXPORT
QmitkXnatCreateObjectDialog
:
public
QDialog
25
{
26
Q_OBJECT
27
28
public
:
29
enum
SpecificType
30
{
31
// PROJECT,
32
SUBJECT
,
33
EXPERIMENT
34
};
35
36
QmitkXnatCreateObjectDialog
(SpecificType type, QWidget *parent =
nullptr
);
37
~
QmitkXnatCreateObjectDialog
()
override
;
38
39
// Returns a specific xnat object like SpecificType
40
ctkXnatObject *GetXnatObject();
41
42
protected
slots:
43
44
void
OnAcceptClicked();
45
void
OnCancelClicked();
46
47
private
:
48
SpecificType m_Type;
49
ctkXnatObject *m_Object;
50
QWidget *m_Widget;
51
};
52
53
#endif
MitkXNATExports.h
MITKXNAT_EXPORT
#define MITKXNAT_EXPORT
Definition:
MitkXNATExports.h:15
QmitkXnatCreateObjectDialog::SUBJECT
@ SUBJECT
Definition:
QmitkXnatCreateObjectDialog.h:32
QmitkXnatCreateObjectDialog
Definition:
QmitkXnatCreateObjectDialog.h:24
QmitkXnatCreateObjectDialog::SpecificType
SpecificType
Definition:
QmitkXnatCreateObjectDialog.h:29
src
MITK
Modules
XNAT
include
QmitkXnatCreateObjectDialog.h
Generated on Mon Jun 17 2024 12:43:31 for Medical Imaging Interaction Toolkit by
1.8.17