Computer Assited Medical Intervention Tool Kit  version 5.0
DicomDialog.h
Go to the documentation of this file.
1 /*****************************************************************************
2  * $CAMITK_LICENCE_BEGIN$
3  *
4  * CamiTK - Computer Assisted Medical Intervention ToolKit
5  * (c) 2001-2021 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 DICOMDIALOG_H
27 #define DICOMDIALOG_H
28 
29 // -- CamiTK includes
30 #include "ui_DicomDialog.h"
31 
32 // Camitk forward declaration
33 class DicomDialogEntry;
34 
35 // -- QT includes
36 #include <QDialog>
37 #include <QList>
38 
46 class DicomDialog : public QDialog {
47  Q_OBJECT
48 
49 public:
51  DicomDialog(QList<DicomDialogEntry*>);
53  ~DicomDialog() override = default;
54 
56  QList<DicomDialogEntry*> getSelectedDicomDialogEntries();
57 
58 private:
59  // Qt model designed by QtDesigner (with qt4, nor more inheritance from the ui)
60  Ui::Dialog ui;
61 
63  QList<DicomDialogEntry*> dicomDialogEntries;
64 
65 } ;
66 #endif // DICOMDIALOG_H
67 
68 
DicomDialog::DicomDialog
DicomDialog(QList< DicomDialogEntry * >)
Default Constructor.
Definition: DicomDialog.cpp:34
DicomDialogEntry.h
DicomDialogEntry::getPatientName
QString getPatientName()
Definition: DicomDialogEntry.cpp:56
AbortException.h
DicomDialogEntry::getAcquisitionDate
QDate getAcquisitionDate()
Definition: DicomDialogEntry.cpp:41
DicomDialog::dicomDialogEntries
QList< DicomDialogEntry * > dicomDialogEntries
Elements to display for selection.
Definition: DicomDialog.h:63
DicomDialog::~DicomDialog
~DicomDialog() override=default
Destructor.
DicomDialogEntry::getStudyName
QString getStudyName()
Definition: DicomDialogEntry.cpp:47
Log.h
DicomDialog::getSelectedDicomDialogEntries
QList< DicomDialogEntry * > getSelectedDicomDialogEntries()
Get the list of DicomDialogEntry selected for opening.
Definition: DicomDialog.cpp:72
camitk::AbortException
Exception class to handle abortion in component instantiation. Particularly useful to handle construc...
Definition: AbortException.h:66
DicomDialogEntry::getSeriesName
QString getSeriesName()
Definition: DicomDialogEntry.cpp:50
DicomDialog
Dialog class to select the DICOM series to open, using a GUI.
Definition: DicomDialog.h:46
DicomDialog::ui
Ui::Dialog ui
Definition: DicomDialog.h:60
DicomDialog.h
DicomDialogEntry
This class represents a line in the Dialog box of the DICOM series the user is prompted to open.
Definition: DicomDialogEntry.h:41
DicomDialogEntry::getSeriesDescription
QString getSeriesDescription()
Definition: DicomDialogEntry.cpp:53
DicomDialogEntry::getAcquisitionTime
QTime getAcquisitionTime() const
Definition: DicomDialogEntry.cpp:44