feat: first UI update

This commit is contained in:
semenov
2024-10-03 10:13:14 +03:00
parent 85c0105aed
commit 1d7e6a4622
44 changed files with 97798 additions and 34084 deletions

View File

@@ -12,6 +12,7 @@
#include <Core/sendsystem.h>
#include <Core/hashcomparer.h>
#include "Datas.h"
#include "mywinheader.h"
#include "updatenotifywidget.h"
QT_BEGIN_NAMESPACE
@@ -67,8 +68,11 @@ private slots:
void on_undoChangesButton_clicked();
void on_startWithCurrentChangesButton_clicked();
void on_exitButton_clicked();
private:
Ui::MainWindow *ui;
MyWinHeader *header;
UpdateNotifyWidget *updateWidget;
QTranslator translator;
TCPClient *client;
@@ -80,7 +84,10 @@ private:
SendSystem *sendSystem;
HashComparer *hashComparer;
QThread *connectionThread;
QThread *animationThread;
QTimer *timer;
QMovie *movie;
QLabel *movieLabel;
QList<FileData> *updateList;
int fileCountForUpdate;
@@ -101,6 +108,8 @@ private:
void bindClient();
void createObjects();
void showUpdateInfo();
void startLoadingAnim();
void stopLoadingMovie();
void showCompleteDialogBox(bool flag);
protected: