Slicer
5.2
Slicer is a multi-platform, free and open source software package for visualization and medical image computing
Libs
MRML
Widgets
DesignerPlugins
qSlicerTablesModuleWidgetsPlugin.h
Go to the documentation of this file.
1
/*==============================================================================
2
3
Program: 3D Slicer
4
5
Portions (c) Copyright 2015 Brigham and Women's Hospital (BWH) All Rights Reserved.
6
7
See COPYRIGHT.txt
8
or http://www.slicer.org/copyright/copyright.txt for details.
9
10
Unless required by applicable law or agreed to in writing, software
11
distributed under the License is distributed on an "AS IS" BASIS,
12
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
See the License for the specific language governing permissions and
14
limitations under the License.
15
16
This file was originally developed by Andras Lasso (PerkLab, Queen's
17
University) and Kevin Wang (Princess Margaret Hospital, Toronto) and was
18
supported through OCAIRO and the Applied Cancer Research Unit program of
19
Cancer Care Ontario.
20
21
==============================================================================*/
22
23
#ifndef __qSlicerTablesModuleWidgetsPlugin_h
24
#define __qSlicerTablesModuleWidgetsPlugin_h
25
26
// Qt includes
27
#include <QtUiPlugin/QDesignerCustomWidgetCollectionInterface>
28
29
// Tables includes
30
#include "
qMRMLTableViewPlugin.h
"
31
32
// \class Group the plugins in one library
33
class
Q_SLICER_MODULE_TABLES_WIDGETS_PLUGINS_EXPORT
qSlicerTablesModuleWidgetsPlugin
34
:
public
QObject
35
,
public
QDesignerCustomWidgetCollectionInterface
36
{
37
Q_OBJECT
38
Q_PLUGIN_METADATA(IID
"org.qt-project.Qt.QDesignerCustomWidgetCollectionInterface"
)
39
Q_INTERFACES(QDesignerCustomWidgetCollectionInterface);
40
41
public
:
42
QList<QDesignerCustomWidgetInterface*>
customWidgets
()
const
43
{
44
QList<QDesignerCustomWidgetInterface *>
plugins;
45
plugins <<
new
qMRMLTableViewPlugin
;
46
47
return
plugins;
48
}
49
};
50
51
#endif
qMRMLTableViewPlugin
Definition:
qMRMLTableViewPlugin.h:28
qSlicerTablesModuleWidgetsPlugin
Definition:
qSlicerTablesModuleWidgetsPlugin.h:33
qSlicerTablesModuleWidgetsPlugin::customWidgets
QList< QDesignerCustomWidgetInterface * > customWidgets() const
Definition:
qSlicerTablesModuleWidgetsPlugin.h:42
qMRMLTableViewPlugin.h
QList
Definition:
qSlicerQListQVariantMapMetaType.h:8
Generated on Thu Nov 24 2022 07:48:28 for Slicer by
1.8.14