Computer Assisted Medical Intervention Tool Kit  version 5.1
 
Loading...
Searching...
No Matches
DicomDialogEntry.h
Go to the documentation of this file.
1/*****************************************************************************
2 * $CAMITK_LICENCE_BEGIN$
3 *
4 * CamiTK - Computer Assisted Medical Intervention ToolKit
5 * (c) 2001-2023 Univ. Grenoble Alpes, CNRS, Grenoble INP, TIMC, 38000 Grenoble, France
6 *
7 * Visit http://camitk.imag.fr for more information
8 *
9 * This file is part of CamiTK.
10 *
11 * CamiTK is free software: you can redistribute it and/or modify
12 * it under the terms of the GNU Lesser General Public License version 3
13 * only, as published by the Free Software Foundation.
14 *
15 * CamiTK is distributed in the hope that it will be useful,
16 * but WITHOUT ANY WARRANTY; without even the implied warranty of
17 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18 * GNU Lesser General Public License version 3 for more details.
19 *
20 * You should have received a copy of the GNU Lesser General Public License
21 * version 3 along with CamiTK. If not, see <http://www.gnu.org/licenses/>.
22 *
23 * $CAMITK_LICENCE_END$
24 ****************************************************************************/
25
26#ifndef DICOMDIALOGENTRY_H
27#define DICOMDIALOGENTRY_H
28
29// Qt includes
30#include <QString>
31#include <QDate>
32
42
43public:
44
46
48 virtual ~DicomDialogEntry() = default;
49
52 bool isSelected();
53 QDate getAcquisitionDate();
54 QTime getAcquisitionTime() const;
55 QString getStudyName();
56 QString getSeriesName();
57 QString getSeriesDescription();
58 QString getPatientName();
60
63 void setSelected(bool value);
64 void setAcquisitionDate(QDate date);
65 void setAcquisitionTime(QTime time);
66 void setStudyName(QString name);
67 void setSeriesDescription(QString name);
68 void setSeriesName(QString name);
69 void setPatientName(QString name);
71
72private:
73
75 bool selected;
76
78 QDate acquisitionDate;
79
81 QTime acquisitionTime;
82
84 QString studyName;
85
87 QString seriesName;
88
90 QString seriesDescription;
91
93 QString patientName;
94
95
96};
97
98#endif // DICOMDIALOGENTRY_H
99
This class represents a line in the Dialog box of the DICOM series the user is prompted to open.
Definition DicomDialogEntry.h:41
void setAcquisitionDate(QDate date)
Definition DicomDialogEntry.cpp:64
void setSeriesDescription(QString name)
Definition DicomDialogEntry.cpp:76
void setSeriesName(QString name)
Definition DicomDialogEntry.cpp:73
void setStudyName(QString name)
Definition DicomDialogEntry.cpp:70
void setSelected(bool value)
Definition DicomDialogEntry.cpp:61
virtual ~DicomDialogEntry()=default
Default Destructor.
QDate getAcquisitionDate()
Definition DicomDialogEntry.cpp:41
QString getPatientName()
Definition DicomDialogEntry.cpp:56
void setPatientName(QString name)
Definition DicomDialogEntry.cpp:79
DicomDialogEntry()
Definition DicomDialogEntry.cpp:30
QString getSeriesDescription()
Definition DicomDialogEntry.cpp:53
QString getSeriesName()
Definition DicomDialogEntry.cpp:50
bool isSelected()
Definition DicomDialogEntry.cpp:38
QTime getAcquisitionTime() const
Definition DicomDialogEntry.cpp:44
QString getStudyName()
Definition DicomDialogEntry.cpp:47
void setAcquisitionTime(QTime time)
Definition DicomDialogEntry.cpp:67