Slicer
4.11
Slicer is a multi-platform, free and open source software package for visualization and medical image computing
Base
QTGUI
qSlicerWebPythonProxy.h
Go to the documentation of this file.
1
/*==============================================================================
2
3
Program: 3D Slicer
4
5
Copyright (c) Kitware Inc.
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 Steve Pieper, Isomics, Inc.
17
and was partially funded by NIH grant 3P41RR013218-12S1
18
19
==============================================================================*/
20
21
#ifndef __qSlicerWebPythonProxy_h
22
#define __qSlicerWebPythonProxy_h
23
24
// Qt includes
25
#include <QObject>
26
27
// QtGUI includes
28
#include "qSlicerBaseQTGUIExport.h"
29
30
31
class
Q_SLICER_BASE_QTGUI_EXPORT
qSlicerWebPythonProxy
32
:
public
QObject
33
{
34
Q_OBJECT
35
36
public
:
37
39
explicit
qSlicerWebPythonProxy
(QObject *parent =
nullptr
);
40
41
public
slots:
42
55
QString evalPython(
const
QString &python);
56
57
private
:
59
bool
isPythonEvaluationAllowed();
60
bool
pythonEvaluationAllowed;
61
62
};
63
64
#endif
qSlicerWebPythonProxy
Definition:
qSlicerWebPythonProxy.h:31
Generated on Mon May 2 2022 16:14:13 for Slicer by
1.8.14