dust3d/application/sources/updates_check_widget.h

30 lines
627 B
C
Raw Normal View History

#ifndef DUST3D_APPLICATION_UPDATES_CHECK_WIDGET_H_
#define DUST3D_APPLICATION_UPDATES_CHECK_WIDGET_H_
2019-07-24 12:41:55 +00:00
#include <QDialog>
#include <QStackedWidget>
#include <QLabel>
#include <QPushButton>
class UpdatesChecker;
class UpdatesCheckWidget : public QDialog
{
Q_OBJECT
public:
UpdatesCheckWidget();
~UpdatesCheckWidget();
public slots:
void check();
void checkFinished();
void viewUpdates();
private:
UpdatesChecker *m_updatesChecker = nullptr;
QStackedWidget *m_stackedWidget = nullptr;
QLabel *m_infoLabel = nullptr;
QPushButton *m_viewButton = nullptr;
QString m_viewUrl;
};
#endif