[go: up one dir, main page]

Menu

[4cf102]: / consolewindow.h  Maximize  Restore  History

Download this file

34 lines (25 with data), 492 Bytes

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
#ifndef CONSOLEWINDOW_H
#define CONSOLEWINDOW_H
#include <QFrame>
#include <QString>
QT_BEGIN_NAMESPACE
class QPlainTextEdit;
class QLineEdit;
class QScrollBar;
QT_END_NAMESPACE
class ConsoleWindow: public QFrame
{
Q_OBJECT
public:
ConsoleWindow(QWidget *parent = 0);
private slots:
void log(QString);
void sendCommand();
signals:
void doCommand(QString);
private:
QPlainTextEdit *textEdit;
QLineEdit *commandLine;
QScrollBar *scrollBar;
};
#endif