Slicer
5.9
Slicer is a multi-platform, free and open source software package for visualization and medical image computing
Loading...
Searching...
No Matches
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
// Slicer includes
20
#include "
qSlicerApplicationHelper.h
"
21
22
#include "qSlicerBaseQTAppExport.h"
23
24
// NOTE:
25
//
26
// For decorators it is assumed that the methods will never be called
27
// with the self argument as nullptr. The self argument is the first argument
28
// for non-static methods.
29
//
30
31
class
qSlicerBaseQTAppPythonQtDecorators
:
public
QObject
32
{
33
Q_OBJECT
34
35
public
:
36
qSlicerBaseQTAppPythonQtDecorators
() =
default
;
37
38
public
slots:
39
40
//----------------------------------------------------------------------------
41
// qSlicerApplicationHelper
42
43
//----------------------------------------------------------------------------
44
void
static_qSlicerApplicationHelper_setupModuleFactoryManager
(
qSlicerModuleFactoryManager
* moduleFactoryManager)
45
{
46
qSlicerApplicationHelper::setupModuleFactoryManager
(moduleFactoryManager);
47
}
48
};
49
50
//-----------------------------------------------------------------------------
51
void
initqSlicerBaseQTAppPythonQtDecorators
()
52
{
53
PythonQt::self()->addDecorators(
new
qSlicerBaseQTAppPythonQtDecorators
);
54
}
55
56
#endif
qSlicerApplicationHelper::setupModuleFactoryManager
static void setupModuleFactoryManager(qSlicerModuleFactoryManager *moduleFactoryManager)
qSlicerBaseQTAppPythonQtDecorators
Definition
qSlicerBaseQTAppPythonQtDecorators.h:32
qSlicerBaseQTAppPythonQtDecorators::qSlicerBaseQTAppPythonQtDecorators
qSlicerBaseQTAppPythonQtDecorators()=default
qSlicerBaseQTAppPythonQtDecorators::static_qSlicerApplicationHelper_setupModuleFactoryManager
void static_qSlicerApplicationHelper_setupModuleFactoryManager(qSlicerModuleFactoryManager *moduleFactoryManager)
Definition
qSlicerBaseQTAppPythonQtDecorators.h:44
qSlicerModuleFactoryManager
Definition
qSlicerModuleFactoryManager.h:38
qSlicerApplicationHelper.h
initqSlicerBaseQTAppPythonQtDecorators
void initqSlicerBaseQTAppPythonQtDecorators()
Definition
qSlicerBaseQTAppPythonQtDecorators.h:51
Generated on Wed Sep 3 2025 23:51:41 for Slicer by
1.13.0