You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
22 lines
365 B
C
22 lines
365 B
C
2 years ago
|
#ifndef GSTERMINAL_H
|
||
|
#define GSTERMINAL_H
|
||
|
|
||
|
#pragma once
|
||
|
#include <QPlainTextEdit>
|
||
|
#include "gs_headers.h"
|
||
|
|
||
|
class GSTerminal : public QPlainTextEdit
|
||
|
{
|
||
|
Q_OBJECT
|
||
|
public:
|
||
|
explicit GSTerminal(QWidget* parent = nullptr);
|
||
|
~GSTerminal();
|
||
|
|
||
|
void putData(const QByteArray &data);
|
||
|
|
||
|
private:
|
||
|
QFile *logPath;
|
||
|
};
|
||
|
|
||
|
#endif // GSTERMINAL_H
|