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:
29
mainwindow.h
29
mainwindow.h
@@ -8,8 +8,11 @@
|
||||
#include <Core/dataparser.h>
|
||||
#include <Core/tcpclient.h>
|
||||
#include <Core/screenchecker.h>
|
||||
#include <Core/updatecontroller.h>
|
||||
#include <Core/UpdateController.h>
|
||||
#include <Core/sendsystem.h>
|
||||
#include <Core/hashcomparer.h>
|
||||
#include "Datas.h"
|
||||
#include "updatenotifywidget.h"
|
||||
|
||||
QT_BEGIN_NAMESPACE
|
||||
namespace Ui { class MainWindow; }
|
||||
@@ -19,6 +22,8 @@ class TCPClient;
|
||||
class UpdateController;
|
||||
class RecognizeSystem;
|
||||
class ExternalExecuter;
|
||||
class UpdateNotifyWidget;
|
||||
class HashComparer;
|
||||
|
||||
class MainWindow : public QMainWindow
|
||||
{
|
||||
@@ -26,17 +31,24 @@ class MainWindow : public QMainWindow
|
||||
|
||||
public:
|
||||
MainWindow(QWidget *parent = nullptr);
|
||||
|
||||
void callUpdateList();
|
||||
void bindNotifyWidget(UpdateNotifyWidget *widget);
|
||||
void checkUpdate();
|
||||
~MainWindow();
|
||||
|
||||
void bindConnection();
|
||||
|
||||
signals:
|
||||
void sigInitializeClient(RecognizeSystem *recognizeSystem,
|
||||
ExternalExecuter *externalExecuter);
|
||||
ExternalExecuter *externalExecuter,
|
||||
SendSystem *sendSystem,
|
||||
QThread *thread);
|
||||
|
||||
void sigSetConnect(ServerSettings* serverSettings);
|
||||
void sigSetConnect(ServerSettings* serverSettings,QThread *thread);
|
||||
void sigCalculateHash();
|
||||
void sigSendClientAuthorization();
|
||||
void sigSendMessage(QString message);
|
||||
void sigSendCommand(QString message);
|
||||
void sigSendAutorization();
|
||||
|
||||
|
||||
private slots:
|
||||
void on_loginButton_clicked();
|
||||
@@ -61,6 +73,7 @@ private slots:
|
||||
|
||||
private:
|
||||
Ui::MainWindow *ui;
|
||||
UpdateNotifyWidget *updateWidget;
|
||||
QTranslator translator;
|
||||
TCPClient *client;
|
||||
DataParser *dataParser;
|
||||
@@ -68,8 +81,9 @@ private:
|
||||
RecognizeSystem *recognizeSystem;
|
||||
ScreenChecker *screenChecker;
|
||||
ExternalExecuter *externalExecuter;
|
||||
SendSystem *sendSystem;
|
||||
HashComparer *hashComparer;
|
||||
QThread *connectionThread;
|
||||
QThread *updateControllerThread;
|
||||
quint64 maxBytesAvailable;
|
||||
QTimer *timer;
|
||||
float globalValue;
|
||||
@@ -87,5 +101,6 @@ private:
|
||||
void autoStart();
|
||||
void loadStaticData();
|
||||
void bindClient();
|
||||
void createObjects();
|
||||
};
|
||||
#endif // MAINWINDOW_H
|
||||
|
||||
Reference in New Issue
Block a user