blob: cb6dd345361ab3e057e577e1b04741818d004e00 (
plain) (
blame)
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
|
/*
* console.h
*
* Created on: Jan 31, 2012
* Author: joe
*/
#ifndef CONSOLE_H_
#define CONSOLE_H_
#include "fbgui.h"
#include <QtGui>
extern QString logFilePath;
class console : public QTextEdit
{
Q_OBJECT
public:
console(QMainWindow* parent = 0);
virtual ~console();
private:
QFile* _logFile;
QTextStream* _logFileIn;
private slots:
void toggle();
void refresh(const QString& fileName);
};
#endif /* CONSOLE_H_ */
|