Slicer  4.10
Slicer is a multi-platform, free and open source software package for visualization and medical image computing
qSlicerSubjectHierarchySettingsPanel.h
Go to the documentation of this file.
1 /*==============================================================================
2 
3  Program: 3D Slicer
4 
5  Copyright (c) Laboratory for Percutaneous Surgery (PerkLab)
6  Queen's University, Kingston, ON, Canada. All Rights Reserved.
7 
8  See COPYRIGHT.txt
9  or http://www.slicer.org/copyright/copyright.txt for details.
10 
11  Unless required by applicable law or agreed to in writing, software
12  distributed under the License is distributed on an "AS IS" BASIS,
13  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14  See the License for the specific language governing permissions and
15  limitations under the License.
16 
17  This file was originally developed by Csaba Pinter, PerkLab, Queen's University
18  and was supported through the Applied Cancer Research Unit program of Cancer Care
19  Ontario with funds provided by the Ontario Ministry of Health and Long-Term Care
20 
21 ==============================================================================*/
22 
23 #ifndef __qSlicerSubjectHierarchySettingsPanel_h
24 #define __qSlicerSubjectHierarchySettingsPanel_h
25 
26 // Qt includes
27 #include <QWidget>
28 
29 // CTK includes
30 #include <ctkSettingsPanel.h>
31 
32 #include "qSlicerSubjectHierarchyModuleExport.h"
33 
34 class QSettings;
35 class qSlicerSubjectHierarchySettingsPanelPrivate;
36 
37 class Q_SLICER_QTMODULES_SUBJECTHIERARCHY_EXPORT qSlicerSubjectHierarchySettingsPanel
38  : public ctkSettingsPanel
39 {
40  Q_OBJECT
41 public:
43  typedef ctkSettingsPanel Superclass;
44 
46  explicit qSlicerSubjectHierarchySettingsPanel(QWidget* parent = 0);
47 
50 
51 public slots:
52 
53 protected slots:
54  void setAutoDeleteSubjectHierarchyChildrenEnabled(bool on);
55  void setDisplayPatientIDEnabled(bool on);
56  void setDisplayPatientBirthDateEnabled(bool on);
57  void setDisplayStudyIDEnabled(bool on);
58  void setDisplayStudyDateEnabled(bool on);
59 
60 protected:
61  QScopedPointer<qSlicerSubjectHierarchySettingsPanelPrivate> d_ptr;
62 
63 private:
64  Q_DECLARE_PRIVATE(qSlicerSubjectHierarchySettingsPanel);
66 };
67 
68 #endif
QScopedPointer< qSlicerSubjectHierarchySettingsPanelPrivate > d_ptr