Slicer
4.10
Slicer is a multi-platform, free and open source software package for visualization and medical image computing
Base
QTApp
qSlicerBaseQTAppPythonQtDecorators.h
Go to the documentation of this file.
1
/*=auto=========================================================================
2
3
Portions (c) Copyright 2005 Brigham and Women's Hospital (BWH)
4
All Rights Reserved.
5
6
See COPYRIGHT.txt
7
or http://www.slicer.org/copyright/copyright.txt for details.
8
9
Program: 3D Slicer
10
11
=========================================================================auto=*/
12
13
#ifndef __qSlicerBaseQTAppPythonQtDecorators_h
14
#define __qSlicerBaseQTAppPythonQtDecorators_h
15
16
// PythonQt includes
17
#include <PythonQt.h>
18
19
// SlicerQt includes
20
#include "
qSlicerApplicationHelper.h
"
21
22
#include "qSlicerBaseQTAppExport.h"
23
24
25
// NOTE:
26
//
27
// For decorators it is assumed that the methods will never be called
28
// with the self argument as NULL. The self argument is the first argument
29
// for non-static methods.
30
//
31
32
class
qSlicerBaseQTAppPythonQtDecorators
:
public
QObject
33
{
34
Q_OBJECT
35
36
public
:
37
38
qSlicerBaseQTAppPythonQtDecorators
()
39
{
40
}
41
42
public
slots:
43
44
//----------------------------------------------------------------------------
45
// qSlicerApplicationHelper
46
47
//----------------------------------------------------------------------------
48
void
static_qSlicerApplicationHelper_setupModuleFactoryManager
(
qSlicerModuleFactoryManager
* moduleFactoryManager)
49
{
50
qSlicerApplicationHelper::setupModuleFactoryManager
(moduleFactoryManager);
51
}
52
};
53
54
//-----------------------------------------------------------------------------
55
void
initqSlicerBaseQTAppPythonQtDecorators
()
56
{
57
PythonQt::self()->addDecorators(
new
qSlicerBaseQTAppPythonQtDecorators
);
58
}
59
60
#endif
qSlicerBaseQTAppPythonQtDecorators
Definition:
qSlicerBaseQTAppPythonQtDecorators.h:32
qSlicerApplicationHelper.h
qSlicerBaseQTAppPythonQtDecorators::qSlicerBaseQTAppPythonQtDecorators
qSlicerBaseQTAppPythonQtDecorators()
Definition:
qSlicerBaseQTAppPythonQtDecorators.h:38
qSlicerModuleFactoryManager
Definition:
qSlicerModuleFactoryManager.h:37
qSlicerApplicationHelper::setupModuleFactoryManager
static void setupModuleFactoryManager(qSlicerModuleFactoryManager *moduleFactoryManager)
initqSlicerBaseQTAppPythonQtDecorators
void initqSlicerBaseQTAppPythonQtDecorators()
Definition:
qSlicerBaseQTAppPythonQtDecorators.h:55
qSlicerBaseQTAppPythonQtDecorators::static_qSlicerApplicationHelper_setupModuleFactoryManager
void static_qSlicerApplicationHelper_setupModuleFactoryManager(qSlicerModuleFactoryManager *moduleFactoryManager)
Definition:
qSlicerBaseQTAppPythonQtDecorators.h:48
Generated on Fri May 17 2019 15:20:19 for Slicer by
1.8.14