|
Tulip Plugins
|
#include "PythonInterpreter.h"#include "PythonScriptView.h"#include "PythonCodeEditor.h"#include "PluginCreationDialog.h"#include <QtGui/QMessageBox>#include <QtGui/QFileDialog>#include <QtCore/QTime>#include <QtCore/QTextStream>#include <QtCore/QRegExp>#include <QtGui/QInputDialog>#include <tulip/Graph.h>#include <tulip/DoubleProperty.h>#include <tulip/LayoutProperty.h>#include <tulip/ColorProperty.h>#include <tulip/StringProperty.h>#include <tulip/SizeProperty.h>#include <tulip/BooleanProperty.h>#include <tulip/IntegerProperty.h>#include <tulip/GraphProperty.h>#include <tulip/SGHierarchyWidget.h>#include <tulip/MainController.h>#include <tulip/Algorithm.h>#include <tulip/ImportModule.h>#include <tulip/ExportModule.h>#include <sstream>
Functions | |
| std::string | cleanPropertyName (const std::string &propertyName) |
| std::string | getDefaultScriptCode (const string &pythonVersion, Graph *graph) |
| QString | getTulipPythonPluginSkeleton (const QString &pluginClassName, const QString &pluginType, const QString &pluginName, const QString &pluginAuthor, const QString &pluginDate, const QString &pluginInfos, const QString &pluginRelease, const QString &pluginGroup) |
| VIEWPLUGIN (PythonScriptView,"Python Script view","Antoine Lambert","04/2010","Python Script View","0.7") | |
| string & | replaceAll (string &context, const string &from, const string &to) |
| int | tracefunc (PyObject *, PyFrameObject *, int what, PyObject *) |
| template<typename T > | |
| static bool | pluginExists (std::string pluginName) |
| template<typename T > | |
| static void | removePlugin (std::string pluginName) |
| static void | removePluginAndUpdateGui (const string &pluginName, const string &pluginType) |
Variables | |
| const string | updateVisualizationFunc = "\n" |
| QTime | timer |
| std::string cleanPropertyName | ( | const std::string & | propertyName | ) |
| std::string getDefaultScriptCode | ( | const string & | pythonVersion, |
| Graph * | graph | ||
| ) |
| QString getTulipPythonPluginSkeleton | ( | const QString & | pluginClassName, |
| const QString & | pluginType, | ||
| const QString & | pluginName, | ||
| const QString & | pluginAuthor, | ||
| const QString & | pluginDate, | ||
| const QString & | pluginInfos, | ||
| const QString & | pluginRelease, | ||
| const QString & | pluginGroup | ||
| ) |
| static bool pluginExists | ( | std::string | pluginName | ) | [static] |
| static void removePlugin | ( | std::string | pluginName | ) | [static] |
| static void removePluginAndUpdateGui | ( | const string & | pluginName, |
| const string & | pluginType | ||
| ) | [static] |
| string& replaceAll | ( | string & | context, |
| const string & | from, | ||
| const string & | to | ||
| ) |
| int tracefunc | ( | PyObject * | , |
| PyFrameObject * | , | ||
| int | what, | ||
| PyObject * | |||
| ) |
| VIEWPLUGIN | ( | PythonScriptView | , |
| "Python Script view" | , | ||
| "Antoine Lambert" | , | ||
| "04/2010" | , | ||
| "Python Script View" | , | ||
| "0.7" | |||
| ) |
| QTime timer |
| const string updateVisualizationFunc = "\n" |
1.7.4