files: renamed LoadSaveDialog to ProgressDialog
This commit is contained in:
@@ -0,0 +1,24 @@
|
||||
#ifndef PROGRESSDIALOG_H
|
||||
#define PROGRESSDIALOG_H
|
||||
|
||||
#include <QDialog>
|
||||
#include <QProgressBar>
|
||||
|
||||
class ProgressDialog : public QDialog
|
||||
{
|
||||
Q_OBJECT
|
||||
public:
|
||||
ProgressDialog(const QString &message, const QString &title, QWidget* parent = nullptr);
|
||||
|
||||
public slots:
|
||||
void SetProgress(int value);
|
||||
|
||||
signals:
|
||||
void Cancelled();
|
||||
|
||||
private:
|
||||
QProgressBar* bar_;
|
||||
|
||||
};
|
||||
|
||||
#endif // PROGRESSDIALOG_H
|
||||
Reference in New Issue
Block a user