mirror of
https://gitea.msk.dinamika-avia.ru/Constanta-Design/RRJClient.git
synced 2026-03-28 05:25:39 +03:00
ref: segregate systems, codestyle, busy message
This commit is contained in:
30
mainwindow.h
30
mainwindow.h
@@ -12,13 +12,14 @@
|
||||
#include <Core/sendsystem.h>
|
||||
#include <Core/hashcomparer.h>
|
||||
#include <Core/versioncontainer.h>
|
||||
#include "Datas.h"
|
||||
#include "commonbuttongroupwidget.h"
|
||||
#include "entrywidget.h"
|
||||
#include "instructorbuttongroupwidget.h"
|
||||
#include <Data/Datas.h>
|
||||
#include <Widgets/commonbuttongroupwidget.h>
|
||||
#include <Widgets/entrywidget.h>
|
||||
#include <Widgets/instructorbuttongroupwidget.h>
|
||||
#include <Widgets/updatenotifywidget.h>
|
||||
#include <Widgets/versionselectwidget.h>
|
||||
#include <UI/resourcemanager.h>
|
||||
#include "mywinheader.h"
|
||||
#include "updatenotifywidget.h"
|
||||
#include "versionselectwidget.h"
|
||||
|
||||
QT_BEGIN_NAMESPACE
|
||||
namespace Ui { class MainWindow; }
|
||||
@@ -55,13 +56,14 @@ public:
|
||||
void startUnityClient();
|
||||
void setCurrentVersionName(StreamingVersionData *version);
|
||||
void disableUnsaveButton(bool flag);
|
||||
void activateLoadingAnimation(bool flag);
|
||||
|
||||
signals:
|
||||
void sigInitializeClient(MainWindow* mainWindow,
|
||||
RecognizeSystem *recognizeSystem,
|
||||
ExternalExecuter *externalExecuter,
|
||||
SendSystem *sendSystem,
|
||||
QThread *thread);
|
||||
ExternalExecuter *externalExecuter,
|
||||
SendSystem *sendSystem,
|
||||
QThread *thread);
|
||||
void sigRecognize(UpdateController* updateController,
|
||||
DataParser* dataParser,
|
||||
MainWindow* mainWindow,
|
||||
@@ -95,11 +97,8 @@ private slots:
|
||||
void on_settingsButton_clicked();
|
||||
void on_languageComboBox_activated(const QString &arg1);
|
||||
void slotDisableNotify();
|
||||
void on_updateListGuideLabel_linkActivated(const QString &link);
|
||||
void on_exitButton_clicked();
|
||||
void on_offlineStartButton_clicked();
|
||||
|
||||
|
||||
void on_unsafeChangingButton_clicked();
|
||||
|
||||
private:
|
||||
@@ -120,10 +119,10 @@ private:
|
||||
SendSystem *sendSystem;
|
||||
HashComparer *hashComparer;
|
||||
VersionContainer *versionContainer;
|
||||
ResourceManager *resourceManager;
|
||||
QThread *workerThread;
|
||||
QThread *animationThread;
|
||||
QTimer *timer;
|
||||
QMovie *movie;
|
||||
QLabel *movieLabel;
|
||||
QList<FileData> *updateList;
|
||||
|
||||
@@ -131,18 +130,15 @@ private:
|
||||
int filesLoaded;
|
||||
bool isRecovery;
|
||||
|
||||
|
||||
void painting();
|
||||
void checkAppAvailable();
|
||||
void checkLanguage(QString language);
|
||||
void autoStart();
|
||||
void loadStaticData();
|
||||
void bindClient();
|
||||
void createObjects();
|
||||
void startLoadingAnim();
|
||||
void stopLoadingMovie();
|
||||
void showConnectionEmpty();
|
||||
void setTitle();
|
||||
void setUpUi();
|
||||
|
||||
protected:
|
||||
virtual void keyPressEvent(QKeyEvent *event);
|
||||
|
||||
Reference in New Issue
Block a user