Medical Imaging Interaction Toolkit  2016.11.0
Medical Imaging Interaction Toolkit
QmitkCtkPythonShell Class Reference

#include <QmitkCtkPythonShell.h>

Inheritance diagram for QmitkCtkPythonShell:
Collaboration diagram for QmitkCtkPythonShell:

Public Slots

void Paste (const QString &command)
 

Public Member Functions

 QmitkCtkPythonShell (QWidget *parent=0)
 
 ~QmitkCtkPythonShell ()
 

Protected Member Functions

void dragEnterEvent (QDragEnterEvent *event)
 
void dropEvent (QDropEvent *event)
 
bool canInsertFromMimeData (const QMimeData *source) const
 
void executeCommand (const QString &command)
 

Detailed Description

Reimplements the ctkPythonConsole with drag and drop functionality for text Furthermore it calls NotifyObserver() on the IPythonService to inform listeners

Definition at line 37 of file QmitkCtkPythonShell.h.

Constructor & Destructor Documentation

QmitkCtkPythonShell::QmitkCtkPythonShell ( QWidget *  parent = 0)
QmitkCtkPythonShell::~QmitkCtkPythonShell ( )

Definition at line 53 of file QmitkCtkPythonShell.cpp.

References us::GetModuleContext().

Member Function Documentation

bool QmitkCtkPythonShell::canInsertFromMimeData ( const QMimeData *  source) const
protected

Definition at line 73 of file QmitkCtkPythonShell.cpp.

void QmitkCtkPythonShell::dragEnterEvent ( QDragEnterEvent *  event)
protected

Definition at line 60 of file QmitkCtkPythonShell.cpp.

void QmitkCtkPythonShell::dropEvent ( QDropEvent *  event)
protected

Definition at line 64 of file QmitkCtkPythonShell.cpp.

References mitk::IPythonService::SINGLE_LINE_COMMAND.

void QmitkCtkPythonShell::executeCommand ( const QString &  command)
protected

Definition at line 78 of file QmitkCtkPythonShell.cpp.

References MITK_DEBUG, and mitk::IPythonService::MULTI_LINE_COMMAND.

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

Definition at line 85 of file QmitkCtkPythonShell.cpp.


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