cutter/src/dialogs/AboutDialog.h
optizone8 a40c1ce4bf Add update check(#684) (#704)
* Add update check(#684)
2018-09-13 08:32:14 +02:00

32 lines
598 B
C++

#ifndef ABOUTDIALOG_H
#define ABOUTDIALOG_H
#include <QDialog>
#include <memory>
#include <QtNetwork/QNetworkReply>
namespace Ui {
class AboutDialog;
}
class AboutDialog : public QDialog
{
Q_OBJECT
public:
explicit AboutDialog(QWidget *parent = nullptr);
~AboutDialog();
private slots:
void on_buttonBox_rejected();
void on_showVersionButton_clicked();
void on_showPluginsButton_clicked();
void on_checkForUpdatesButton_clicked();
void serveVersionCheckReply(QNetworkReply *reply);
private:
std::unique_ptr<Ui::AboutDialog> ui;
};
#endif // ABOUTDIALOG_H