32 #ifndef _pqPythonScriptEditor_h 33 #define _pqPythonScriptEditor_h 35 #include "pqPythonModule.h" 36 #include <QMainWindow> 53 void setSaveDialogDefaultDirectory(
const QString& dir);
58 void open(
const QString& filename);
59 void setText(
const QString& text);
70 void closeEvent(QCloseEvent* event);
77 void documentWasModified();
82 void createStatusBar();
86 void loadFile(
const QString& fileName);
87 bool saveFile(
const QString& fileName);
88 void setCurrentFile(
const QString& fileName);
89 QString strippedName(
const QString& fullFileName);
93 QString DefaultSaveDirectory;
102 QAction* saveAsMacroAct;
pqPythonManager is a class to facilitate the use of a python interpreter by various paraview GUI comp...
This class is a helper object to attach to a QTextEdit to add Python syntax highlighting to the text ...