LogWidget.h 500 Bytes
Newer Older
Thiago Santini's avatar
Thiago Santini committed
1 2 3 4
#ifndef LOGWIDGET_H
#define LOGWIDGET_H

#include <QMainWindow>
5
#include <QKeyEvent>
Thiago Santini's avatar
Thiago Santini committed
6
#include <QScrollBar>
7
#include <QDebug>
Thiago Santini's avatar
Thiago Santini committed
8

9 10
#include "ERWidget.h"

Thiago Santini's avatar
Thiago Santini committed
11 12 13 14
namespace Ui {
class LogWidget;
}

15
class LogWidget : public ERWidget
Thiago Santini's avatar
Thiago Santini committed
16 17 18 19 20
{
    Q_OBJECT

public:
    explicit LogWidget(QWidget *parent = 0);
21 22
	~LogWidget();

Thiago Santini's avatar
Thiago Santini committed
23 24 25
public slots:
    void appendMessage(const QString &msg);

26 27 28 29
private slots:
    void on_usrMsg_returnPressed();
    void on_addMsg_clicked();

Thiago Santini's avatar
Thiago Santini committed
30
private:
31 32
	Ui::LogWidget *ui;

Thiago Santini's avatar
Thiago Santini committed
33 34 35
};

#endif // LOGWIDGET_H