mirror of
https://gitea.msk.dinamika-avia.ru/Constanta-Design/RRJClient.git
synced 2026-03-28 05:25:39 +03:00
feat: send xml answer
This commit is contained in:
26
mainwindow.h
26
mainwindow.h
@@ -3,9 +3,11 @@
|
||||
|
||||
#include <QMainWindow>
|
||||
#include <QDebug>
|
||||
#include <QThread>
|
||||
#include <Core/dataparser.h>
|
||||
#include <Core/tcpclient.h>
|
||||
#include <Core/screenchecker.h>
|
||||
#include <Core/updatecontroller.h>
|
||||
#include "Datas.h"
|
||||
|
||||
QT_BEGIN_NAMESPACE
|
||||
@@ -23,13 +25,18 @@ class MainWindow : public QMainWindow
|
||||
|
||||
public:
|
||||
MainWindow(QWidget *parent = nullptr);
|
||||
void DebugLog(QString message);
|
||||
void Initialize();
|
||||
void UpdateProgress(qint64 size,quint64 sended);
|
||||
void LoadComplete();
|
||||
void SetNeedUpdate(bool flag);
|
||||
|
||||
~MainWindow();
|
||||
|
||||
signals:
|
||||
void onInitializeClient(UpdateController *updateController,
|
||||
RecognizeSystem *recognizeSystem,
|
||||
ExternalExecuter *externalExecuter);
|
||||
|
||||
void onSetConnect(ServerSettings* serverSettings);
|
||||
void onCalculateHash();
|
||||
void onSendMessage(QString message);
|
||||
|
||||
private slots:
|
||||
void on_loginButton_clicked();
|
||||
|
||||
@@ -51,6 +58,15 @@ private:
|
||||
RecognizeSystem *recognizeSystem;
|
||||
ScreenChecker *screenChecker;
|
||||
ExternalExecuter *externalExecuter;
|
||||
QThread *connectionThread;
|
||||
QThread *updateControllerThread;
|
||||
quint64 maxBytesAvailable;
|
||||
|
||||
void DebugLog(QString message);
|
||||
void Initialize();
|
||||
void UpdateProgress(qint64 size,quint64 sended);
|
||||
void LoadComplete();
|
||||
void SetNeedUpdate(bool flag);
|
||||
void LostConnection();
|
||||
};
|
||||
#endif // MAINWINDOW_H
|
||||
|
||||
Reference in New Issue
Block a user