mirror of
https://github.com/obsproject/obs-studio.git
synced 2024-09-20 04:42:18 +02:00
25 lines
386 B
C++
25 lines
386 B
C++
|
#pragma once
|
||
|
|
||
|
#include <QDialog>
|
||
|
#include <QTextEdit>
|
||
|
#include "obs-app.hpp"
|
||
|
|
||
|
class OBSLogViewer : public QDialog {
|
||
|
Q_OBJECT
|
||
|
|
||
|
QPointer<QTextEdit> textArea;
|
||
|
|
||
|
void InitLog();
|
||
|
|
||
|
private slots:
|
||
|
void AddLine(int type, const QString &text);
|
||
|
void ClearText();
|
||
|
void ToggleShowStartup(bool checked);
|
||
|
|
||
|
public:
|
||
|
OBSLogViewer(QWidget *parent = 0);
|
||
|
~OBSLogViewer();
|
||
|
|
||
|
bool ShowOnStartup();
|
||
|
};
|