cutter/src/dialogs/AboutDialog.h

46 lines
935 B
C
Raw Normal View History

#ifndef ABOUTDIALOG_H
#define ABOUTDIALOG_H
#include <QDialog>
2017-10-02 09:41:28 +00:00
#include <memory>
#include <QtNetwork/QNetworkReply>
2018-03-21 20:32:32 +00:00
namespace Ui {
class AboutDialog;
}
class AboutDialog : public QDialog
{
Q_OBJECT
public:
explicit AboutDialog(QWidget *parent = nullptr);
~AboutDialog();
private slots:
void on_buttonBox_rejected();
2017-12-15 16:09:04 +00:00
void on_showVersionButton_clicked();
void on_showPluginsButton_clicked();
/**
* @fn AboutDialog::on_checkForUpdatesButton_clicked()
*
* @brief Initiates process of checking for updates.
*/
void on_checkForUpdatesButton_clicked();
/**
* @fn AboutDialog::on_updatesCheckBox_stateChanged(int state)
*
* @brief Changes value of autoUpdateEnabled option in settings.
*/
void on_updatesCheckBox_stateChanged(int state);
private:
2017-10-02 09:41:28 +00:00
std::unique_ptr<Ui::AboutDialog> ui;
2019-07-18 17:56:00 +00:00
QString buildQtVersionString(void);
};
#endif // ABOUTDIALOG_H