5 #ifndef pqConsoleWidget_h 6 #define pqConsoleWidget_h 11 #include <QTextCharFormat> 32 QTextCharFormat getFormat();
36 void setFormat(
const QTextCharFormat& Format);
43 QPoint getCursorPosition();
48 void setFontSize(
int size);
54 void executeCommand(
const QString& Command);
59 void consoleFocusInEvent();
65 void printString(
const QString&
Text);
71 void printCommand(
const QString& cmd);
89 void prompt(
const QString& text);
96 void insertCompletion(
const QString& text);
107 void internalExecuteCommand(
const QString& Command);
109 class pqImplementation;
110 pqImplementation*
const Implementation;
111 friend class pqImplementation;
121 void printAndExecuteCommand(
const QString& text);
124 #endif // pqConsoleWidget_h