Gui::PythonEditorView Class Reference

#include <EditorView.h>

Inheritance diagram for Gui::PythonEditorView:
Gui::EditorView Gui::MDIView Gui::WindowParameter Gui::BaseView Base::BaseClass

List of all members.

Public Slots

void executeScript ()
 Runs the opened script in the macro manager.
void hideDebugMarker ()
void showDebugMarker (int line)
void startDebug ()
void toggleBreakpoint ()

Public Member Functions

void drawMarker (int line, int x, int y, QPainter *)
bool onHasMsg (const char *pMsg) const
 Checks if the action pMsg is available.
bool onMsg (const char *pMsg, const char **ppReturn)
 Runs the action specified by pMsg.
 PythonEditorView (QPlainTextEdit *editor, QWidget *parent)
 ~PythonEditorView ()

Detailed Description

Definition at line 102 of file EditorView.h.


Constructor & Destructor Documentation

PythonEditorView::PythonEditorView ( QPlainTextEdit *  editor,
QWidget *  parent 
)
PythonEditorView::~PythonEditorView (  ) 

Definition at line 499 of file EditorView.cpp.


Member Function Documentation

void PythonEditorView::drawMarker ( int  line,
int  x,
int  y,
QPainter *  p 
) [virtual]
void PythonEditorView::executeScript (  )  [slot]

Runs the opened script in the macro manager.

Definition at line 550 of file EditorView.cpp.

References Gui::MacroManager::File, Gui::EditorView::fileName(), Gui::Application::Instance, Gui::Application::macroManager(), and Gui::MacroManager::run().

Referenced by onMsg().

void PythonEditorView::hideDebugMarker (  )  [slot]

Definition at line 589 of file EditorView.cpp.

Referenced by Gui::PythonDebugger::hideDebugMarker().

bool PythonEditorView::onHasMsg ( const char *  pMsg  )  const [virtual]

Checks if the action pMsg is available.

This is for enabling/disabling the corresponding buttons or menu items for this action.

Reimplemented from Gui::EditorView.

Definition at line 527 of file EditorView.cpp.

bool PythonEditorView::onMsg ( const char *  pMsg,
const char **  ppReturn 
) [virtual]

Runs the action specified by pMsg.

Reimplemented from Gui::EditorView.

Definition at line 506 of file EditorView.cpp.

References executeScript(), startDebug(), and toggleBreakpoint().

void PythonEditorView::showDebugMarker ( int  line  )  [slot]

Definition at line 571 of file EditorView.cpp.

References Gui::EditorView::getEditor().

Referenced by Gui::PythonDebugger::showDebugMarker().

void PythonEditorView::startDebug (  )  [slot]
void PythonEditorView::toggleBreakpoint (  )  [slot]

The documentation for this class was generated from the following files:

Generated on Wed Nov 23 19:02:01 2011 for FreeCAD by  doxygen 1.6.1