mirror of
https://gitea.msk.dinamika-avia.ru/Constanta-Design/RRJClient.git
synced 2026-03-28 05:25:39 +03:00
init commit 2
This commit is contained in:
56
mainwindow.h
Normal file
56
mainwindow.h
Normal file
@@ -0,0 +1,56 @@
|
||||
#ifndef MAINWINDOW_H
|
||||
#define MAINWINDOW_H
|
||||
|
||||
#include <QMainWindow>
|
||||
#include <QDebug>
|
||||
#include <Core/dataparser.h>
|
||||
#include <Core/tcpclient.h>
|
||||
#include <Core/screenchecker.h>
|
||||
#include "Datas.h"
|
||||
|
||||
QT_BEGIN_NAMESPACE
|
||||
namespace Ui { class MainWindow; }
|
||||
QT_END_NAMESPACE
|
||||
|
||||
class TCPClient;
|
||||
class UpdateController;
|
||||
class RecognizeSystem;
|
||||
class ExternalExecuter;
|
||||
|
||||
class MainWindow : public QMainWindow
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
MainWindow(QWidget *parent = nullptr);
|
||||
void DebugLog(QString message);
|
||||
void Initialize();
|
||||
void UpdateProgress(qint64 size,quint64 sended);
|
||||
void LoadComplete();
|
||||
void SetNeedUpdate(bool flag);
|
||||
~MainWindow();
|
||||
|
||||
private slots:
|
||||
void on_loginButton_clicked();
|
||||
|
||||
void on_updateButton_clicked();
|
||||
|
||||
void on_startButton_clicked();
|
||||
|
||||
void on_saveServerButton_clicked();
|
||||
|
||||
void on_settingsButton_clicked();
|
||||
|
||||
void on_checkUpdate_clicked();
|
||||
|
||||
private:
|
||||
Ui::MainWindow *ui;
|
||||
TCPClient *client;
|
||||
DataParser *dataParser;
|
||||
UpdateController *updateController;
|
||||
RecognizeSystem *recognizeSystem;
|
||||
ScreenChecker *screenChecker;
|
||||
ExternalExecuter *externalExecuter;
|
||||
quint64 maxBytesAvailable;
|
||||
};
|
||||
#endif // MAINWINDOW_H
|
||||
Reference in New Issue
Block a user