2017-04-19 19:54:15 +00:00
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#include <QDialog>
|
|
|
|
#include <memory>
|
|
|
|
|
|
|
|
#include "ui_OBSUpdate.h"
|
|
|
|
|
|
|
|
class OBSUpdate : public QDialog {
|
|
|
|
Q_OBJECT
|
|
|
|
|
|
|
|
public:
|
2019-09-22 21:19:10 +00:00
|
|
|
enum ReturnVal { No, Yes, Skip };
|
2017-04-19 19:54:15 +00:00
|
|
|
|
|
|
|
OBSUpdate(QWidget *parent, bool manualUpdate, const QString &text);
|
|
|
|
|
|
|
|
public slots:
|
|
|
|
void on_yes_clicked();
|
|
|
|
void on_no_clicked();
|
|
|
|
void on_skip_clicked();
|
|
|
|
virtual void accept() override;
|
|
|
|
virtual void reject() override;
|
|
|
|
|
|
|
|
private:
|
|
|
|
std::unique_ptr<Ui_OBSUpdate> ui;
|
|
|
|
};
|