]> Shamusworld >> Repos - architektonas/blob - src/consolewidget.h
Added Parallel tool + command processing.
[architektonas] / src / consolewidget.h
1 #ifndef __CONSOLEWIDGET_H__
2 #define __CONSOLEWIDGET_H__
3
4 #include <QtWidgets>
5
6 class PromptLineEdit;
7 class CommandProcessor;
8
9 class ConsoleWidget: public QWidget
10 {
11         Q_OBJECT
12
13         public:
14                 ConsoleWidget(QWidget * parent = NULL);
15                 ~ConsoleWidget();
16                 void SetToolPrompt(void);
17
18         public slots:
19                 void Execute(void);
20                 void MoveScrollBarToBottom(int min, int max);
21
22         public:
23                 PromptLineEdit * cmdLine;
24                 QTextEdit * screen;
25                 CommandProcessor * cmdProc;
26 };
27
28 #endif  // __CONSOLEWIDGET_H__