obs-studio/UI/log-viewer.hpp

24 lines
390 B
C++
Raw Normal View History

2020-05-15 05:34:54 -07:00
#pragma once
#include <QDialog>
#include <QPlainTextEdit>
2020-05-15 05:34:54 -07:00
#include "obs-app.hpp"
class OBSLogViewer : public QDialog {
Q_OBJECT
QPointer<QPlainTextEdit> textArea;
2020-05-15 05:34:54 -07:00
void InitLog();
private slots:
void AddLine(int type, const QString &text);
void ClearText();
void ToggleShowStartup(bool checked);
void OpenFile();
2020-05-15 05:34:54 -07:00
public:
OBSLogViewer(QWidget *parent = 0);
~OBSLogViewer();
};