#define __CONSOLEWIDGET_H__
#include <QtWidgets>
-#include "promptlineedit.h"
+
+class PromptLineEdit;
+class CommandProcessor;
class ConsoleWidget: public QWidget
{
public:
ConsoleWidget(QWidget * parent = NULL);
~ConsoleWidget();
+ void SetToolPrompt(void);
public slots:
void Execute(void);
void MoveScrollBarToBottom(int min, int max);
- protected:
- void paintEvent(QPaintEvent * event);
-
public:
- PromptLineEdit * cmdline;
+ PromptLineEdit * cmdLine;
QTextEdit * screen;
+ CommandProcessor * cmdProc;
};
#endif // __CONSOLEWIDGET_H__