ctkConsoleWidget::pqImplementation Class Reference

Collaboration diagram for ctkConsoleWidget::pqImplementation:
Collaboration graph
[legend]

List of all members.

Public Member Functions

QString & commandBuffer ()
 References the buffer where the current un-executed command is stored.
int documentEnd ()
 Returns the end of the document.
void focusOutEvent (QFocusEvent *e)
void internalExecuteCommand ()
 Implements command-execution.
void keyPressEvent (QKeyEvent *e)
 pqImplementation (ctkConsoleWidget &p)
void replaceCommandBuffer (const QString &Text)
 Replace the contents of the command buffer, updating the display.
void selectCompletion ()
void setCompleter (ctkConsoleWidgetCompleter *completer)
void updateCommandBuffer ()
 Update the contents of the command buffer from the contents of the widget.
void updateCompleter ()
void updateCompleterIfVisible ()

Public Attributes

QStringList CommandHistory
 Stores command-history, plus the current command buffer.
int CommandPosition
 Stores the current position in the command-history.
QPointer
< ctkConsoleWidgetCompleter
Completer
 A custom completer.
int InteractivePosition
ctkConsoleWidgetParent
 Stores a back-reference to our owner.

Detailed Description

Definition at line 70 of file ctkConsoleWidget.cpp.


Constructor & Destructor Documentation

ctkConsoleWidget::pqImplementation::pqImplementation ( ctkConsoleWidget p  )  [inline]

Definition at line 74 of file ctkConsoleWidget.cpp.


Member Function Documentation

QString& ctkConsoleWidget::pqImplementation::commandBuffer (  )  [inline]

References the buffer where the current un-executed command is stored.

Definition at line 347 of file ctkConsoleWidget.cpp.

int ctkConsoleWidget::pqImplementation::documentEnd (  )  [inline]

Returns the end of the document.

Definition at line 260 of file ctkConsoleWidget.cpp.

void ctkConsoleWidget::pqImplementation::focusOutEvent ( QFocusEvent *  e  )  [inline]

Definition at line 267 of file ctkConsoleWidget.cpp.

void ctkConsoleWidget::pqImplementation::internalExecuteCommand (  )  [inline]

Implements command-execution.

Definition at line 353 of file ctkConsoleWidget.cpp.

void ctkConsoleWidget::pqImplementation::keyPressEvent ( QKeyEvent *  e  )  [inline]

Definition at line 98 of file ctkConsoleWidget.cpp.

void ctkConsoleWidget::pqImplementation::replaceCommandBuffer ( const QString &  Text  )  [inline]

Replace the contents of the command buffer, updating the display.

Definition at line 335 of file ctkConsoleWidget.cpp.

void ctkConsoleWidget::pqImplementation::selectCompletion (  )  [inline]

If there is exactly 1 completion, insert it and hide the completer, else do nothing.

Definition at line 286 of file ctkConsoleWidget.cpp.

void ctkConsoleWidget::pqImplementation::setCompleter ( ctkConsoleWidgetCompleter completer  )  [inline]

Definition at line 372 of file ctkConsoleWidget.cpp.

void ctkConsoleWidget::pqImplementation::updateCommandBuffer (  )  [inline]

Update the contents of the command buffer from the contents of the widget.

Definition at line 329 of file ctkConsoleWidget.cpp.

void ctkConsoleWidget::pqImplementation::updateCompleter (  )  [inline]

Definition at line 295 of file ctkConsoleWidget.cpp.

void ctkConsoleWidget::pqImplementation::updateCompleterIfVisible (  )  [inline]

Definition at line 276 of file ctkConsoleWidget.cpp.


Member Data Documentation

Stores command-history, plus the current command buffer.

Definition at line 400 of file ctkConsoleWidget.cpp.

Stores the current position in the command-history.

Definition at line 402 of file ctkConsoleWidget.cpp.

A custom completer.

Definition at line 394 of file ctkConsoleWidget.cpp.

Stores the beginning of the area of interactive input, outside which changes can't be made to the text edit contents

Definition at line 398 of file ctkConsoleWidget.cpp.

Stores a back-reference to our owner.

Definition at line 391 of file ctkConsoleWidget.cpp.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Defines

Generated on 21 May 2010 for CTK by  doxygen 1.6.1