Medical Imaging Interaction Toolkit  2016.11.0
Medical Imaging Interaction Toolkit
QmitkPythonTextEditor Class Reference

this is a python text editor with syntax highlightning More...

#include <QmitkPythonTextEditor.h>

Inheritance diagram for QmitkPythonTextEditor:
Collaboration diagram for QmitkPythonTextEditor:

Public Slots

void Paste (const QString &command)
 

Public Member Functions

 QmitkPythonTextEditor (QWidget *parent=0)
 
virtual ~QmitkPythonTextEditor ()
 

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)
 
void dropEvent (QDropEvent *event)
 
QString ReadFile (const QString &filename)
 

Detailed Description

this is a python text editor with syntax highlightning

Definition at line 28 of file QmitkPythonTextEditor.h.

Constructor & Destructor Documentation

QmitkPythonTextEditor::QmitkPythonTextEditor ( QWidget *  parent = 0)

Definition at line 54 of file QmitkPythonTextEditor.cpp.

References us::GetModuleContext().

QmitkPythonTextEditor::~QmitkPythonTextEditor ( )
virtual

Definition at line 102 of file QmitkPythonTextEditor.cpp.

References us::GetModuleContext().

Member Function Documentation

void QmitkPythonTextEditor::dragEnterEvent ( QDragEnterEvent *  event)
protected

Definition at line 110 of file QmitkPythonTextEditor.cpp.

void QmitkPythonTextEditor::dropEvent ( QDropEvent *  event)
protected

Definition at line 115 of file QmitkPythonTextEditor.cpp.

References Paste().

void QmitkPythonTextEditor::on_LoadScript_triggered ( bool  checked = false)
protectedslot

Definition at line 171 of file QmitkPythonTextEditor.cpp.

References ReadFile().

void QmitkPythonTextEditor::on_RunScript_triggered ( bool  checked = false)
protectedslot
void QmitkPythonTextEditor::on_SaveScript_triggered ( bool  checked = false)
protectedslot

Definition at line 159 of file QmitkPythonTextEditor.cpp.

void QmitkPythonTextEditor::Paste ( const QString &  command)
slot

Definition at line 130 of file QmitkPythonTextEditor.cpp.

Referenced by dropEvent().

QString QmitkPythonTextEditor::ReadFile ( const QString &  filename)
protected

Definition at line 139 of file QmitkPythonTextEditor.cpp.

References line, and MITK_ERROR.

Referenced by on_LoadScript_triggered().


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