bugfix/feat: main loading bar, add bar for sender

This commit is contained in:
semenov
2024-09-24 13:23:29 +03:00
parent 95c281dba1
commit ad7fe8ccb6
24 changed files with 1016 additions and 143 deletions

View File

@@ -84,13 +84,14 @@ private:
SendSystem *sendSystem;
HashComparer *hashComparer;
QThread *connectionThread;
quint64 maxBytesAvailable;
QTimer *timer;
float globalValue;
int fileCountForUpdate;
int filesLoaded;
void debugLog(QString message);
void initialize();
void updateProgress(qint64 size,quint64 sended);
void updateProgress();
void loadComplete();
void setNeedUpdate(bool flag,quint64 size,quint64 fileCount);
void lostConnection();