Medical Imaging Interaction Toolkit
2018.4.99-389bf124
Medical Imaging Interaction Toolkit
|
this is a python text editor with syntax highlightning More...
#include <QmitkPythonTextEditor.h>
Public Slots | |
void | Paste (const QString &command) |
Public Member Functions | |
QmitkPythonTextEditor (QWidget *parent=nullptr) | |
~QmitkPythonTextEditor () override | |
Protected Slots | |
void | on_SaveScript_triggered (bool checked=false) |
void | on_LoadScript_triggered (bool checked=false) |
void | on_RunScript_triggered (bool checked=false) |
Protected Member Functions | |
void | dragEnterEvent (QDragEnterEvent *event) override |
void | dropEvent (QDropEvent *event) override |
QString | ReadFile (const QString &filename) |
this is a python text editor with syntax highlightning
Definition at line 24 of file QmitkPythonTextEditor.h.
QmitkPythonTextEditor::QmitkPythonTextEditor | ( | QWidget * | parent = nullptr | ) |
Definition at line 50 of file QmitkPythonTextEditor.cpp.
References us::GetModuleContext().
|
override |
Definition at line 97 of file QmitkPythonTextEditor.cpp.
References us::GetModuleContext().
|
overrideprotected |
Definition at line 105 of file QmitkPythonTextEditor.cpp.
|
overrideprotected |
Definition at line 110 of file QmitkPythonTextEditor.cpp.
References Paste().
|
protectedslot |
Definition at line 166 of file QmitkPythonTextEditor.cpp.
References ReadFile().
|
protectedslot |
Definition at line 176 of file QmitkPythonTextEditor.cpp.
References MITK_ERROR, and mitk::IPythonService::MULTI_LINE_COMMAND.
|
protectedslot |
Definition at line 154 of file QmitkPythonTextEditor.cpp.
|
slot |
Definition at line 125 of file QmitkPythonTextEditor.cpp.
Referenced by dropEvent().
|
protected |
Definition at line 134 of file QmitkPythonTextEditor.cpp.
References line, and MITK_ERROR.
Referenced by on_LoadScript_triggered().