scidavis  2.3.0
About: SciDAVis is a free application for Scientific Data Analysis and Visualization (a fork off of QtiPlot).
  Fossies Dox: scidavis-2.3.0.tar.gz  ("unofficial" and yet experimental doxygen-generated source code documentation)  

PythonScripting.cpp File Reference
#include <Python.h>
#include <compile.h>
#include <eval.h>
#include <frameobject.h>
#include <traceback.h>
#include <iostream>
#include "PythonScript.h"
#include "PythonScripting.h"
#include "ApplicationWindow.h"
#include <QObject>
#include <QStringList>
#include <QDir>
#include <QDateTime>
#include <QCoreApplication>
#include "sipAPIscidavis.h"
Include dependency graph for PythonScripting.cpp:

Go to the source code of this file.

Classes

struct  _traceback
 

Macros

#define str(x)   xstr(x)
 
#define xstr(x)   #x
 
#define PYUNICODE_AsUTF8   PyString_AsString
 
#define PYUNICODE_FromString   PyString_FromString
 
#define PYLong_AsLong   PyInt_AsLong
 
#define PYCodeObject_cast   (PyCodeObject*)
 
#define PYTHON_UTIL_PATH   "."
 

Typedefs

typedef struct _traceback PyTracebackObject
 

Functions

void initsip ()
 
void initQtCore ()
 
void initQtGui ()
 
void initscidavis ()
 

Macro Definition Documentation

◆ PYCodeObject_cast

#define PYCodeObject_cast   (PyCodeObject*)

Definition at line 77 of file PythonScripting.cpp.

◆ PYLong_AsLong

#define PYLong_AsLong   PyInt_AsLong

Definition at line 76 of file PythonScripting.cpp.

◆ PYTHON_UTIL_PATH

#define PYTHON_UTIL_PATH   "."

Definition at line 329 of file PythonScripting.cpp.

◆ PYUNICODE_AsUTF8

#define PYUNICODE_AsUTF8   PyString_AsString

Definition at line 74 of file PythonScripting.cpp.

◆ PYUNICODE_FromString

#define PYUNICODE_FromString   PyString_FromString

Definition at line 75 of file PythonScripting.cpp.

◆ str

#define str (   x)    xstr(x)

File : PythonScripting.cpp

Project : SciDAVis

Copyright : (C) 2006 by Knut Franke Email (use @ for *) : knut.franke*gmx.de Description : Execute Python code from within SciDAVis

  • This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. *
    • This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. *
    • You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, * Boston, MA 02110-1301 USA *

Definition at line 42 of file PythonScripting.cpp.

◆ xstr

#define xstr (   x)    #x

Definition at line 43 of file PythonScripting.cpp.

Typedef Documentation

◆ PyTracebackObject

typedef struct _traceback PyTracebackObject

Function Documentation

◆ initQtCore()

void initQtCore ( )

Referenced by PythonScripting::PythonScripting().

Here is the caller graph for this function:

◆ initQtGui()

void initQtGui ( )

Referenced by PythonScripting::PythonScripting().

Here is the caller graph for this function:

◆ initscidavis()

void initscidavis ( )

Referenced by PythonScripting::PythonScripting().

Here is the caller graph for this function:

◆ initsip()

void initsip ( )

Referenced by PythonScripting::PythonScripting().

Here is the caller graph for this function: