yolobs-studio/UI/log-viewer.hpp

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

24 lines
380 B
C++
Raw Normal View History

2020-10-01 20:15:25 +00:00
#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);
void OpenFile();
public:
OBSLogViewer(QWidget *parent = 0);
~OBSLogViewer();
};