#include <EditorView.h>
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 () | |
Definition at line 102 of file EditorView.h.
| PythonEditorView::PythonEditorView | ( | QPlainTextEdit * | editor, | |
| QWidget * | parent | |||
| ) |
Definition at line 491 of file EditorView.cpp.
References Gui::MacroManager::debugger(), Gui::Application::Instance, and Gui::Application::macroManager().
| PythonEditorView::~PythonEditorView | ( | ) |
Definition at line 499 of file EditorView.cpp.
| void PythonEditorView::drawMarker | ( | int | line, | |
| int | x, | |||
| int | y, | |||
| QPainter * | p | |||
| ) | [virtual] |
Reimplemented from Gui::EditorView.
Definition at line 535 of file EditorView.cpp.
References Gui::Breakpoint::checkLine(), Gui::EditorView::fileName(), and Gui::PythonDebugger::getBreakpoint().
| 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] |
Definition at line 555 of file EditorView.cpp.
References Gui::EditorView::fileName(), Gui::PythonDebugger::runFile(), Gui::PythonDebugger::start(), and Gui::PythonDebugger::stop().
Referenced by onMsg().
| void PythonEditorView::toggleBreakpoint | ( | ) | [slot] |
Definition at line 563 of file EditorView.cpp.
References Gui::EditorView::fileName(), Gui::EditorView::getEditor(), and Gui::PythonDebugger::toggleBreakpoint().
Referenced by onMsg().
1.6.1