Computer Assited Medical Intervention Tool Kit  version 4.1
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-2018 Univ. Grenoble Alpes, CNRS, TIMC-IMAG UMR 5525 (GMCAO)
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() override=default
Destructor.
QList< DicomDialogEntry * > dicomDialogEntries
Elements to display for selection.
Definition: DicomDialog.h:63
This class represents a line in the Dialog box of the DICOM series the user is prompted to open...
Definition: DicomDialogEntry.h:41
DicomDialog(QList< DicomDialogEntry *>)
Default Constructor.
Definition: DicomDialog.cpp:34
QList< DicomDialogEntry * > getSelectedDicomDialogEntries()
Get the list of DicomDialogEntry selected for opening.
Definition: DicomDialog.cpp:69
Ui::Dialog ui
Definition: DicomDialog.h:60
Dialog class to select the DICOM series to open, using a GUI.
Definition: DicomDialog.h:46