Slicer  4.8
Slicer is a multi-platform, free and open source software package for visualization and medical image computing
qSlicerSubjectHierarchyModuleWidgetsAbstractPlugin.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 __qSlicerSubjectHierarchyModuleWidgetsAbstractPlugin_h
24 #define __qSlicerSubjectHierarchyModuleWidgetsAbstractPlugin_h
25 
26 #include <QtGlobal>
27 #if (QT_VERSION < QT_VERSION_CHECK(5, 0, 0))
28 #include <QDesignerCustomWidgetInterface>
29 #else
30 #include <QtUiPlugin/QDesignerCustomWidgetInterface>
31 #endif
32 
33 #include "qSlicerSubjectHierarchyModuleWidgetsPluginsExport.h"
34 
35 class Q_SLICER_MODULE_SUBJECTHIERARCHY_WIDGETS_PLUGINS_EXPORT qSlicerSubjectHierarchyModuleWidgetsAbstractPlugin
36  : public QDesignerCustomWidgetInterface
37 {
38 #if (QT_VERSION >= QT_VERSION_CHECK(5, 0, 0))
39  Q_PLUGIN_METADATA(IID "org.qt-project.Qt.QDesignerCustomWidgetInterface")
40 #endif
41  Q_INTERFACES(QDesignerCustomWidgetInterface);
42 public:
43 
45  // Don't reimplement this method.
46  QString group() const;
47  // You can reimplement these methods
48  virtual QIcon icon() const;
49  virtual QString toolTip() const;
50  virtual QString whatsThis() const;
51 
52 };
53 
54 #endif