Back to index

salome-gui  6.5.0
Classes | Defines | Functions | Variables
PyConsole_Editor.cxx File Reference
#include "PyConsole_Interp.h"
#include "PyConsole_Editor.h"
#include <PyInterp_Dispatcher.h>
#include <SUIT_Tools.h>
#include <SUIT_FileDlg.h>
#include <SUIT_MessageBox.h>
#include <SUIT_FileValidator.h>
#include <QApplication>
#include <QClipboard>
#include <QDropEvent>
#include <QEvent>
#include <QKeyEvent>
#include <QMouseEvent>
#include <QScrollBar>
#include <QTextBlock>
#include <QTextCursor>
#include <QTextDocument>
#include <QTextStream>

Go to the source code of this file.

Classes

class  DumpCommandsFileValidator
class  ExecCommand
 Python command execution request. More...
class  PrintEvent
 Python command output backend event. More...

Defines

#define PROMPT_SIZE   myPrompt.length()
#define PRINT_EVENT   65432

Functions

void staticCallback (void *data, char *c)

Variables

static QString READY_PROMPT = ">>> "
static QString DOTS_PROMPT = "... "

Define Documentation

#define PRINT_EVENT   65432

Definition at line 121 of file PyConsole_Editor.cxx.

#define PROMPT_SIZE   myPrompt.length()

Definition at line 119 of file PyConsole_Editor.cxx.


Function Documentation

void staticCallback ( void data,
char *  c 
)

Definition at line 227 of file PyConsole_Editor.cxx.

{
  if(!((PyConsole_Editor*)data)->isSuppressOutput())
    QApplication::postEvent( (PyConsole_Editor*)data, new PrintEvent( c ) ); 
}

Variable Documentation

QString DOTS_PROMPT = "... " [static]

Definition at line 118 of file PyConsole_Editor.cxx.

QString READY_PROMPT = ">>> " [static]

Definition at line 117 of file PyConsole_Editor.cxx.