OBSLogViewer.hpp 373 B

12345678910111213141516171819202122
  1. #pragma once
  2. #include "ui_OBSLogViewer.h"
  3. #include <QDialog>
  4. class OBSLogViewer : public QDialog {
  5. Q_OBJECT
  6. std::unique_ptr<Ui::OBSLogViewer> ui;
  7. void InitLog();
  8. private slots:
  9. void AddLine(int type, const QString &text);
  10. void on_openButton_clicked();
  11. void on_showStartup_clicked(bool checked);
  12. public:
  13. OBSLogViewer(QWidget *parent = 0);
  14. ~OBSLogViewer();
  15. };