Slicer  5.1
Slicer is a multi-platform, free and open source software package for visualization and medical image computing
qSlicerSubjectHierarchyModuleWidget.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 __qSlicerSubjectHierarchyModuleWidget_h
24 #define __qSlicerSubjectHierarchyModuleWidget_h
25 
26 // Slicer includes
28 
29 #include "qSlicerSubjectHierarchyModuleExport.h"
30 
31 class qSlicerSubjectHierarchyModuleWidgetPrivate;
35 
37 class Q_SLICER_QTMODULES_SUBJECTHIERARCHY_EXPORT qSlicerSubjectHierarchyModuleWidget :
39 {
40  Q_OBJECT
41 
42 public:
44  qSlicerSubjectHierarchyModuleWidget(QWidget *parent=nullptr);
46 
47  Q_INVOKABLE qSlicerSubjectHierarchyPluginLogic* pluginLogic();
48  Q_INVOKABLE void setPluginLogic(qSlicerSubjectHierarchyPluginLogic* pluginLogic);
49 
50 protected:
51  QScopedPointer<qSlicerSubjectHierarchyModuleWidgetPrivate> d_ptr;
52 
53  void setup() override;
54 
55 private:
56  Q_DECLARE_PRIVATE(qSlicerSubjectHierarchyModuleWidget);
58 };
59 
60 #endif
Abstract plugin for handling Subject Hierarchy items.
Qt-based logic class to exercise Qt-related logic functions. The Subject hierarchy plugin mechanism a...
Item model for subject hierarchy.
QScopedPointer< qSlicerSubjectHierarchyModuleWidgetPrivate > d_ptr