Public Member Functions | Public Attributes

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 68 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 341 of file ctkConsoleWidget.cpp.

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

Returns the end of the document.

Definition at line 254 of file ctkConsoleWidget.cpp.

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

Definition at line 261 of file ctkConsoleWidget.cpp.

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

Implements command-execution.

Definition at line 347 of file ctkConsoleWidget.cpp.

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

Definition at line 92 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 329 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 280 of file ctkConsoleWidget.cpp.

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

Definition at line 366 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 323 of file ctkConsoleWidget.cpp.

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

Definition at line 289 of file ctkConsoleWidget.cpp.

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

Definition at line 270 of file ctkConsoleWidget.cpp.


Member Data Documentation

Stores command-history, plus the current command buffer.

Definition at line 394 of file ctkConsoleWidget.cpp.

Stores the current position in the command-history.

Definition at line 396 of file ctkConsoleWidget.cpp.

A custom completer.

Definition at line 388 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 392 of file ctkConsoleWidget.cpp.

Stores a back-reference to our owner.

Definition at line 385 of file ctkConsoleWidget.cpp.


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