File arrangement

This commit is contained in:
Krad
2022-02-14 11:40:40 +08:00
parent 5dafb1e816
commit 73cd96333d
61 changed files with 32 additions and 32 deletions

View File

@@ -0,0 +1,33 @@
#ifndef GUIMESSAGEDIALOG_H
#define GUIMESSAGEDIALOG_H
#include <QDialog>
#include <QList>
namespace Ui {
class GUIMessageDialog;
}
class GUIMessageDialog : public QDialog
{
Q_OBJECT
public:
explicit GUIMessageDialog(QWidget *parent = nullptr);
~GUIMessageDialog();
void showMessage(QString msg);
void hideMessage();
void showExitButton();
void hideExitButton();
void startLoading();
void stopLoading();
void setOpacity(double);
protected:
void timerEvent(QTimerEvent* event) override ;
private:
Ui::GUIMessageDialog *ui;
QList<QString> frame;
int frameIndex=0;
int timerID = -1;
};
#endif // GUIMESSAGEDIALOG_H