mirror of
https://gitea.msk.dinamika-avia.ru/Constanta-Design/RRJClient.git
synced 2026-03-28 05:25:39 +03:00
ref: add entry widget and list of changes
This commit is contained in:
12
mainwindow.h
12
mainwindow.h
@@ -13,9 +13,11 @@
|
||||
#include <Core/hashcomparer.h>
|
||||
#include "Datas.h"
|
||||
#include "commonbuttongroupwidget.h"
|
||||
#include "entrywidget.h"
|
||||
#include "instructorbuttongroupwidget.h"
|
||||
#include "mywinheader.h"
|
||||
#include "updatenotifywidget.h"
|
||||
#include "updatewidget.h"
|
||||
|
||||
QT_BEGIN_NAMESPACE
|
||||
namespace Ui { class MainWindow; }
|
||||
@@ -29,6 +31,7 @@ class UpdateNotifyWidget;
|
||||
class HashComparer;
|
||||
class CommonButtonGroupWidget;
|
||||
class InstructorButtonGroupWidget;
|
||||
class EntryWidget;
|
||||
|
||||
class MainWindow : public QMainWindow
|
||||
{
|
||||
@@ -37,8 +40,6 @@ class MainWindow : public QMainWindow
|
||||
public:
|
||||
MainWindow(QWidget *parent = nullptr);
|
||||
void callUpdateList();
|
||||
void bindWidgets(UpdateNotifyWidget *widget,CommonButtonGroupWidget *commonButtonGroup,
|
||||
InstructorButtonGroupWidget *instructorButtonGroup);
|
||||
void checkUpdate();
|
||||
~MainWindow();
|
||||
|
||||
@@ -67,8 +68,6 @@ public slots:
|
||||
|
||||
|
||||
private slots:
|
||||
void on_loginButton_clicked();
|
||||
void on_saveServerButton_clicked();
|
||||
void on_settingsButton_clicked();
|
||||
void on_languageComboBox_activated(const QString &arg1);
|
||||
void slotDisableNotify();
|
||||
@@ -85,6 +84,8 @@ private:
|
||||
UpdateNotifyWidget *updateWidget;
|
||||
CommonButtonGroupWidget *commonButtonGroupWidget;
|
||||
InstructorButtonGroupWidget *instructorButtonGroupWidget;
|
||||
EntryWidget *entryWidget;
|
||||
UpdateWidget *updateTextWidget;
|
||||
QTranslator translator;
|
||||
TCPClient *client;
|
||||
DataParser *dataParser;
|
||||
@@ -105,6 +106,7 @@ private:
|
||||
int filesLoaded;
|
||||
bool isRecovery;
|
||||
|
||||
|
||||
void painting();
|
||||
void checkAppAvailable();
|
||||
void checkLanguage(QString language);
|
||||
@@ -120,6 +122,8 @@ private:
|
||||
|
||||
public:
|
||||
void initialize();
|
||||
void login();
|
||||
void saveServerSettingsWithConnect();
|
||||
void loadToServer();
|
||||
void undoCurrentChanges();
|
||||
void startUnityClient();
|
||||
|
||||
Reference in New Issue
Block a user