obs-studio/UI/log-viewer.hpp

25 lines
422 B
C++
Raw Permalink 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"
#include "ui_OBSLogViewer.h"
2020-05-15 05:34:54 -07:00
class OBSLogViewer : public QDialog {
Q_OBJECT
std::unique_ptr<Ui::OBSLogViewer> ui;
2020-05-15 05:34:54 -07:00
void InitLog();
private slots:
void AddLine(int type, const QString &text);
void on_openButton_clicked();
void on_showStartup_clicked(bool checked);
2020-05-15 05:34:54 -07:00
public:
OBSLogViewer(QWidget *parent = 0);
~OBSLogViewer();
};