0
0
mirror of https://github.com/obsproject/obs-studio.git synced 2024-09-20 04:42:18 +02:00
obs-studio/UI/log-viewer.hpp

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

25 lines
386 B
C++
Raw Normal View History

2020-05-15 14:34:54 +02: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);
public:
OBSLogViewer(QWidget *parent = 0);
~OBSLogViewer();
bool ShowOnStartup();
};