mirror of
https://gitea.msk.dinamika-avia.ru/Constanta-Design/RRJClient.git
synced 2026-03-28 05:25:39 +03:00
feat: add instructor updateBehaviour
This commit is contained in:
@@ -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;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user