mirror of
https://gitea.msk.dinamika-avia.ru/Constanta-Design/RRJClient.git
synced 2026-03-28 05:25:39 +03:00
fead: load without animation
This commit is contained in:
44
updatenotifywidget.h
Normal file
44
updatenotifywidget.h
Normal 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
|
||||
Reference in New Issue
Block a user