fead: load without animation

This commit is contained in:
semenov
2024-09-19 11:11:20 +03:00
parent 23982ecd6b
commit 69eeddea5b
65 changed files with 5618 additions and 865 deletions

44
updatenotifywidget.h Normal file
View File

@@ -0,0 +1,44 @@
#ifndef UPDATENOTIFYWIDGET_H
#define UPDATENOTIFYWIDGET_H
#include "mainwindow.h"
#include <QDialog>
#include <QWidget>
#include <Core/FileData.h>
namespace Ui {
class UpdateNotifyWidget;
}
class MainWindow;
class UpdateController;
class UpdateNotifyWidget : public QWidget
{
Q_OBJECT
public:
explicit UpdateNotifyWidget(QWidget *parent = nullptr);
void initialize(MainWindow *mainWindow, UpdateController *updateController);
void addToList(FileData fileData);
void setUpdateList(QList<FileData> *fileDataList);
~UpdateNotifyWidget();
signals:
void sigUpdateFilesOnServer(QList<FileData> *fileSendList);
private slots:
void showCompleteDialogBox(bool flag);
void on_StartLoadButton_clicked();
void on_CancelButton_clicked();
private:
Ui::UpdateNotifyWidget *ui;
MainWindow *mainWindow;
UpdateController *updateController;
QList<FileData> *updateList;
void fillList();
};
#endif // UPDATENOTIFYWIDGET_H