Public Types | Signals | Public Member Functions | Public Attributes | Protected Slots | Protected Member Functions | Protected Attributes
Aseba::AeslEditor Class Reference

#include <AeslEditor.h>

List of all members.

Public Types

enum  CommentOperation { CommentSelection, UncommentSelection }

Signals

void breakpointCleared (unsigned line)
void breakpointClearedAll ()
void breakpointSet (unsigned line)
void refreshModelRequest (LocalContext context)

Public Member Functions

 AeslEditor (const ScriptTab *tab)
void clearAllBreakpoints ()
void clearBreakpoint ()
void clearBreakpoint (QTextBlock block)
void commentAndUncommentSelection (CommentOperation commentOperation)
virtual void contextMenuEvent (QContextMenuEvent *e)
bool isBreakpoint ()
bool isBreakpoint (QTextBlock block)
bool isBreakpoint (int line)
void setBreakpoint ()
void setBreakpoint (QTextBlock block)
void setCompleterModel (QAbstractItemModel *model)
void toggleBreakpoint ()
void toggleBreakpoint (QTextBlock block)
virtual ~AeslEditor ()

Public Attributes

bool debugging
QWidget * dropSourceWidget
const ScriptTabtab

Protected Slots

void insertCompletion (const QString &completion)

Protected Member Functions

QString currentLine () const
virtual void detectLocalContextChange (QKeyEvent *event)
virtual void doCompletion (QKeyEvent *event)
virtual void dropEvent (QDropEvent *event)
virtual bool handleCompleter (QKeyEvent *event)
virtual bool handleNewLine (QKeyEvent *event)
virtual bool handleTab (QKeyEvent *event)
virtual void insertFromMimeData (const QMimeData *source)
virtual void keyPressEvent (QKeyEvent *event)
QString previousWord () const
QString textUnderCursor () const

Protected Attributes

QCompleter * completer
bool editingLeftValue
const QRegExp leftValueRegexp
LocalContext previousContext
const QRegExp vardefRegexp

Detailed Description

Definition at line 153 of file AeslEditor.h.


Member Enumeration Documentation

Enumerator:
CommentSelection 
UncommentSelection 

Definition at line 182 of file AeslEditor.h.


Constructor & Destructor Documentation

virtual Aseba::AeslEditor::~AeslEditor ( ) [inline, virtual]

Definition at line 166 of file AeslEditor.h.


Member Function Documentation

void Aseba::AeslEditor::breakpointCleared ( unsigned  line) [signal]
void Aseba::AeslEditor::breakpointSet ( unsigned  line) [signal]

Member Data Documentation

QCompleter* Aseba::AeslEditor::completer [protected]

Definition at line 212 of file AeslEditor.h.

Definition at line 190 of file AeslEditor.h.

Definition at line 191 of file AeslEditor.h.

Definition at line 216 of file AeslEditor.h.

const QRegExp Aseba::AeslEditor::leftValueRegexp [protected]

Definition at line 214 of file AeslEditor.h.

Definition at line 215 of file AeslEditor.h.

Definition at line 189 of file AeslEditor.h.

const QRegExp Aseba::AeslEditor::vardefRegexp [protected]

Definition at line 213 of file AeslEditor.h.


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


aseba
Author(s): Stéphane Magnenat
autogenerated on Thu Jan 2 2014 11:17:17