#pragma once #include "ui_OBSLogViewer.h" #include class OBSLogViewer : public QDialog { Q_OBJECT std::unique_ptr ui; void InitLog(); private slots: void AddLine(int type, const QString &text); void on_openButton_clicked(); void on_showStartup_clicked(bool checked); public: OBSLogViewer(QWidget *parent = 0); ~OBSLogViewer(); };