28 #define PY_ARRAY_UNIQUE_SYMBOL itom_ARRAY_API //see numpy help ::array api :: Miscellaneous :: Importing the api (this line must bebefore include global.h) 29 #define NO_IMPORT_ARRAY 33 #if (defined _DEBUG) && (defined WIN32) 42 #include "../global.h" 56 static PyMethodDef PythonMethodItom[];
57 static PyModuleDef PythonModuleItom;
62 static PyObject*
PyNewScript(PyObject *pSelf, PyObject *pArgs);
63 static PyObject*
PyOpenScript(PyObject *pSelf, PyObject *pArgs);
64 static PyObject* PyClearCommandLine(PyObject *pSelf);
65 static PyObject* PyShowHelpViewer(PyObject *pSelf, PyObject *pArgs);
67 static PyObject* PyPlotImage(PyObject *pSelf, PyObject *pArgs, PyObject *pKwds);
68 static PyObject* PyLiveImage(PyObject *pSelf, PyObject *pArgs, PyObject *pKwds);
70 static PyObject* PyFilter(PyObject *pSelf, PyObject *pArgs, PyObject *kwds);
71 static PyObject* PyFilterHelp(PyObject* pSelf, PyObject* pArgs, PyObject *pKwds);
72 static PyObject* PyWidgetHelp(PyObject* pSelf, PyObject* pArgs, PyObject *pKwds);
73 static PyObject* PyPluginHelp(PyObject* pSelf, PyObject* pArgs, PyObject *pKwds);
74 static PyObject* PyPlotHelp(PyObject* pSelf, PyObject* pArgs, PyObject *pKwds);
75 static PyObject*
PyITOMVersion(PyObject* pSelf, PyObject* pArgs);
77 static PyObject* PyLoadIDC(PyObject* pSelf, PyObject* pArgs, PyObject *pKwds);
78 static PyObject* PySaveIDC(PyObject* pSelf, PyObject* pArgs, PyObject *pKwds);
80 static PyObject* PyPluginLoaded(PyObject* pSelf, PyObject* pArgs);
81 static PyObject* PyFilterLoaded(PyObject* pSelf, PyObject* pArgs);
82 static PyObject* PyPlotLoaded(PyObject* pSelf, PyObject* pArgs);
84 static PyObject* PySaveDataObject(PyObject* pSelf, PyObject* pArgs, PyObject *pKwds);
85 static PyObject* PyLoadDataObject(PyObject* pSelf, PyObject* pArgs, PyObject *pKwds);
87 static PyObject* PyAddButton(PyObject* pSelf, PyObject* pArgs, PyObject *kwds);
88 static PyObject* PyRemoveButton(PyObject* pSelf, PyObject* pArgs);
90 static PyObject* PyAddMenu(PyObject* pSelf, PyObject* args, PyObject *kwds);
91 static PyObject* PyRemoveMenu(PyObject* pSelf, PyObject* args, PyObject *kwds);
93 static PyObject* PyCheckSignals(PyObject* pSelf);
94 static PyObject* PyProcessEvents(PyObject* pSelf);
96 static PyObject* PySaveMatlabMat(PyObject* pSelf, PyObject* pArgs);
97 static PyObject* PyLoadMatlabMat(PyObject* pSelf, PyObject* pArgs);
100 static PyObject* PyGetDebugger(PyObject* pSelf);
101 static PyObject* PyGCStartTracking(PyObject *pSelf);
102 static PyObject* PyGCEndTracking(PyObject *pSelf);
104 static PyObject* PyAutoReloader(PyObject* pSelf, PyObject *args, PyObject *kwds);
106 static PyObject* PyGetScreenInfo(PyObject* pSelf);
108 static PyObject* getDefaultScaleableUnits(PyObject* pSelf);
109 static PyObject* scaleValueAndUnit(PyObject* pSelf, PyObject* pArgs, PyObject *pKwds);
111 static PyObject* getAppPath(PyObject* pSelf);
112 static PyObject* getQtToolPath(PyObject* pSelf, PyObject* pArgs);
113 static PyObject* getCurrentPath(PyObject* pSelf);
114 static PyObject* setCurrentPath(PyObject* pSelf, PyObject* pArgs);
116 static PyObject* PyGetPalette(PyObject* pSelf, PyObject* pArgs);
117 static PyObject* PySetPalette(PyObject* pSelf, PyObject* pArgs);
118 static PyObject* PyGetPaletteList(PyObject* pSelf, PyObject* pArgs);
120 static PyObject* compressData(PyObject* pSelf, PyObject* pArgs);
121 static PyObject* uncompressData(PyObject* pSelf, PyObject* pArgs);
123 static PyObject* setApplicationCursor(PyObject* pSelf, PyObject* pArgs);
125 static PyObject* userCheckIsAdmin(PyObject* pSelf);
126 static PyObject* userCheckIsDeveloper(PyObject* pSelf);
127 static PyObject* userCheckIsUser(PyObject* pSelf);
128 static PyObject* userGetUserInfo(PyObject* pSelf);
134 static ito::RetVal unhashButtonOrMenuCode(
const size_t &funcID);
Definition: pythonItom.h:52
static PyObject * PyMatlabMatDataObjectConverter(PyObject *element)
returns new reference to element and extracts tags, if possible
Definition: pythonItom.cpp:3147
Class for managing status values (like errors or warning)
Definition: retVal.h:54
static QHash< size_t, QString > m_gcTrackerList
list with objects currently tracked by python garbage collector.
Definition: pythonItom.h:131
static PyObject * PyInitItom(void)
methods of module itom
Definition: pythonItom.cpp:4560
static PyObject * PyNewScript(PyObject *pSelf, PyObject *pArgs)
Definition: pythonItom.cpp:104
Definition: apiFunctionsGraph.cpp:39
static PyObject * PyOpenScript(PyObject *pSelf, PyObject *pArgs)
Definition: pythonItom.cpp:145
static PyObject * PyOpenEmptyScriptEditor(PyObject *pSelf, PyObject *pArgs)
Definition: pythonItom.cpp:72
Definition: pythonEngine.h:106
static PyObject * PyITOMVersion(PyObject *pSelf, PyObject *pArgs)
Definition: pythonItom.cpp:1978