Medical Imaging Interaction Toolkit  2024.06.00
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=nullptr)
 
 ~QmitkCtkPythonShell () override
 

Protected Member Functions

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

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 33 of file QmitkCtkPythonShell.h.

Constructor & Destructor Documentation

◆ QmitkCtkPythonShell()

QmitkCtkPythonShell::QmitkCtkPythonShell ( QWidget *  parent = nullptr)

◆ ~QmitkCtkPythonShell()

QmitkCtkPythonShell::~QmitkCtkPythonShell ( )
override

Member Function Documentation

◆ canInsertFromMimeData()

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

◆ dragEnterEvent()

void QmitkCtkPythonShell::dragEnterEvent ( QDragEnterEvent *  event)
overrideprotected

◆ dropEvent()

void QmitkCtkPythonShell::dropEvent ( QDropEvent *  event)
overrideprotected

◆ executeCommand()

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

◆ Paste

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

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