feat: add instructor updateBehaviour

This commit is contained in:
semenov
2024-10-02 11:19:38 +03:00
parent 5f457e3ac6
commit 0b8a384d58
27 changed files with 382 additions and 2361 deletions

View File

@@ -20,28 +20,19 @@ class UpdateNotifyWidget : public QWidget
public:
explicit UpdateNotifyWidget(QWidget *parent = nullptr);
void initialize(MainWindow *mainWindow, UpdateController *updateController);
void initialize(MainWindow *mainWindow);
void addToList(FileData fileData);
void setUpdateList(QList<FileData> *fileDataList);
void updateCount();
~UpdateNotifyWidget();
signals:
void sigUpdateFilesOnServer(QList<FileData> *fileSendList);
private slots:
void showCompleteDialogBox(bool flag);
void on_StartLoadButton_clicked();
void on_CancelButton_clicked();
void on_closeButton_clicked();
private:
Ui::UpdateNotifyWidget *ui;
MainWindow *mainWindow;
UpdateController *updateController;
QList<FileData> *updateList;
void fillList();
int currentLoadingCount;
};