feat: complete ui update

This commit is contained in:
semenov
2024-10-04 10:48:34 +03:00
parent 389d34a701
commit ae49416723
19 changed files with 156 additions and 106 deletions

View File

@@ -120,6 +120,26 @@ void DataParser::createAuthData(ServerAuthorization *serverAuth)
}
void DataParser::createAuthDataOffline(QString username, QString pass)
{
QFile file(authTempName);
file.open(QIODevice::WriteOnly);
QXmlStreamWriter xmlWriter(&file);
xmlWriter.setAutoFormatting(true);
xmlWriter.writeStartDocument();
xmlWriter.writeStartElement("AuthData");
xmlWriter.writeAttribute("Login",username);
xmlWriter.writeAttribute("Password",pass);
xmlWriter.writeAttribute("InstructorName","empty");
xmlWriter.writeAttribute("ClientName","Offline");
xmlWriter.writeAttribute("AccessType","Offline");
xmlWriter.writeEndElement();
file.close();
}
QByteArray DataParser::xmlAnswer_notify(QString code)
{

View File

@@ -22,6 +22,7 @@ public:
void createFileDataList(QList<FileData> fileDataList,QString filename);
void createAuthMessage(ClientAutorization *auth);
void createAuthData(ServerAuthorization *serverAuth);
void createAuthDataOffline(QString username,QString pass);
void addRunData(QList<int> displays);
QByteArray xmlAnswer_notify(QString code);
QByteArray xmlAnswer(QList<SXmlAnswerTag> listTag, QString elemUp1 = "", QString elemUp2 = "");

View File

@@ -1,2 +1,2 @@
<?xml version="1.0" encoding="UTF-8"?>
<AuthData Login="I1" Password="1111" InstructorName="Горинин Г.Г" ClientName="Горинин Г.Г" AccessType="instructor"/>
<AuthData Login="offlineUser" Password="000000" InstructorName="empty" ClientName="Offline" AccessType="Offline"/>

View File

@@ -28,6 +28,7 @@
<FileData Path="/Application/RRJLoader/RRJ_Data/StreamingAssets/RUS" Hash="FOLDER"/>
<FileData Path="/Application/RRJLoader/RRJ_Data/StreamingAssets/Sounds" Hash="FOLDER"/>
<FileData Path="/Application/RRJLoader/RRJ_Data/StreamingAssets/Sounds/UI" Hash="FOLDER"/>
<FileData Path="/Application/RRJLoader/RRJ_Data/Temp" Hash="FOLDER"/>
<FileData Path="/Application/RRJLoader/D3D12/D3D12Core.dll" Hash="7fc05c9a8366d19302dfd13d09d3ebac"/>
<FileData Path="/Application/RRJLoader/MonoBleedingEdge/EmbedRuntime/mono-2.0-bdwgc.dll" Hash="1ce1473bec6862c3445a5697d28c3b7d"/>
<FileData Path="/Application/RRJLoader/MonoBleedingEdge/EmbedRuntime/MonoPosixHelper.dll" Hash="2734ad3f554d1b95d7b04766260175e5"/>

View File

@@ -1,2 +1,2 @@
<DisplayInfo DisplayCount="1"/>
<DisplayInfo DisplayCount="2"/>

View File

@@ -5,13 +5,4 @@
<FileData Path="/Application/RRJLoader/RRJ_Data/StreamingAssets/RUS" Hash="FOLDER"/>
<FileData Path="/Application/RRJLoader/RRJ_Data/StreamingAssets/Sounds" Hash="FOLDER"/>
<FileData Path="/Application/RRJLoader/RRJ_Data/StreamingAssets/Sounds/UI" Hash="FOLDER"/>
<FileData Path="/Application/RRJLoader/RRJ_Data/StreamingAssets/RRJ-95NEW-100/docs.xml" Hash="fcad1626c1ef3851931bf68a1aa054c6"/>
<FileData Path="/Application/RRJLoader/RRJ_Data/StreamingAssets/RUS/024.31.00a.xml" Hash="e730fbd64cd77dd163732cfaf2bd0e75"/>
<FileData Path="/Application/RRJLoader/RRJ_Data/StreamingAssets/Sounds/UI/ir_begin.wav" Hash="2e0057ee08c7b6fa07d28863a40d1cbf"/>
<FileData Path="/Application/RRJLoader/RRJ_Data/StreamingAssets/Sounds/UI/ir_end.wav" Hash="e83345df81f1e577bb53766875efc31d"/>
<FileData Path="/Application/RRJLoader/RRJ_Data/StreamingAssets/Sounds/UI/Menu Command.wav" Hash="822b4c37ce07436e2192785f3274386f"/>
<FileData Path="/Application/RRJLoader/RRJ_Data/StreamingAssets/Sounds/UI/Minimize.wav" Hash="8fb59dad02c94ebc63590b14f4d1de2e"/>
<FileData Path="/Application/RRJLoader/RRJ_Data/StreamingAssets/Sounds/UI/Navigation Start.wav" Hash="b82aa79f496456ffc5b952b484af25f5"/>
<FileData Path="/Application/RRJLoader/RRJ_Data/StreamingAssets/Sounds/UI/Proximity Connection.wav" Hash="00882d550b9389c6183ee3da0b668b2d"/>
<FileData Path="/Application/RRJLoader/RRJ_Data/StreamingAssets/Sounds/UI/Proximity Notification.wav" Hash="e15f0210410a574af39b07840ccbe4cc"/>
</FileDataList>

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@@ -23,8 +23,8 @@ QT_BEGIN_MOC_NAMESPACE
QT_WARNING_PUSH
QT_WARNING_DISABLE_DEPRECATED
struct qt_meta_stringdata_MainWindow_t {
QByteArrayData data[40];
char stringdata0[726];
QByteArrayData data[41];
char stringdata0[756];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
@@ -72,7 +72,8 @@ QT_MOC_LITERAL(35, 599, 4), // "link"
QT_MOC_LITERAL(36, 604, 29), // "on_loadToServerButton_clicked"
QT_MOC_LITERAL(37, 634, 28), // "on_undoChangesButton_clicked"
QT_MOC_LITERAL(38, 663, 40), // "on_startWithCurrentChangesBut..."
QT_MOC_LITERAL(39, 704, 21) // "on_exitButton_clicked"
QT_MOC_LITERAL(39, 704, 21), // "on_exitButton_clicked"
QT_MOC_LITERAL(40, 726, 29) // "on_offlineStartButton_clicked"
},
"MainWindow\0sigInitializeClient\0\0"
@@ -95,7 +96,8 @@ QT_MOC_LITERAL(39, 704, 21) // "on_exitButton_clicked"
"link\0on_loadToServerButton_clicked\0"
"on_undoChangesButton_clicked\0"
"on_startWithCurrentChangesButton_clicked\0"
"on_exitButton_clicked"
"on_exitButton_clicked\0"
"on_offlineStartButton_clicked"
};
#undef QT_MOC_LITERAL
@@ -105,7 +107,7 @@ static const uint qt_meta_data_MainWindow[] = {
8, // revision
0, // classname
0, 0, // classinfo
22, 14, // methods
23, 14, // methods
0, 0, // properties
0, 0, // enums/sets
0, 0, // constructors
@@ -113,30 +115,31 @@ static const uint qt_meta_data_MainWindow[] = {
7, // signalCount
// signals: name, argc, parameters, tag, flags
1, 4, 124, 2, 0x06 /* Public */,
11, 1, 133, 2, 0x06 /* Public */,
14, 2, 136, 2, 0x06 /* Public */,
17, 0, 141, 2, 0x06 /* Public */,
18, 1, 142, 2, 0x06 /* Public */,
20, 0, 145, 2, 0x06 /* Public */,
21, 0, 146, 2, 0x06 /* Public */,
1, 4, 129, 2, 0x06 /* Public */,
11, 1, 138, 2, 0x06 /* Public */,
14, 2, 141, 2, 0x06 /* Public */,
17, 0, 146, 2, 0x06 /* Public */,
18, 1, 147, 2, 0x06 /* Public */,
20, 0, 150, 2, 0x06 /* Public */,
21, 0, 151, 2, 0x06 /* Public */,
// slots: name, argc, parameters, tag, flags
22, 0, 147, 2, 0x08 /* Private */,
23, 0, 148, 2, 0x08 /* Private */,
24, 0, 149, 2, 0x08 /* Private */,
25, 0, 150, 2, 0x08 /* Private */,
26, 0, 151, 2, 0x08 /* Private */,
27, 0, 152, 2, 0x08 /* Private */,
28, 1, 153, 2, 0x08 /* Private */,
30, 0, 156, 2, 0x08 /* Private */,
31, 1, 157, 2, 0x08 /* Private */,
33, 0, 160, 2, 0x08 /* Private */,
34, 1, 161, 2, 0x08 /* Private */,
36, 0, 164, 2, 0x08 /* Private */,
37, 0, 165, 2, 0x08 /* Private */,
38, 0, 166, 2, 0x08 /* Private */,
39, 0, 167, 2, 0x08 /* Private */,
22, 0, 152, 2, 0x08 /* Private */,
23, 0, 153, 2, 0x08 /* Private */,
24, 0, 154, 2, 0x08 /* Private */,
25, 0, 155, 2, 0x08 /* Private */,
26, 0, 156, 2, 0x08 /* Private */,
27, 0, 157, 2, 0x08 /* Private */,
28, 1, 158, 2, 0x08 /* Private */,
30, 0, 161, 2, 0x08 /* Private */,
31, 1, 162, 2, 0x08 /* Private */,
33, 0, 165, 2, 0x08 /* Private */,
34, 1, 166, 2, 0x08 /* Private */,
36, 0, 169, 2, 0x08 /* Private */,
37, 0, 170, 2, 0x08 /* Private */,
38, 0, 171, 2, 0x08 /* Private */,
39, 0, 172, 2, 0x08 /* Private */,
40, 0, 173, 2, 0x08 /* Private */,
// signals: parameters
QMetaType::Void, 0x80000000 | 3, 0x80000000 | 5, 0x80000000 | 7, 0x80000000 | 9, 4, 6, 8, 10,
@@ -162,6 +165,7 @@ static const uint qt_meta_data_MainWindow[] = {
QMetaType::Void,
QMetaType::Void,
QMetaType::Void,
QMetaType::Void,
QMetaType::Void,
0 // eod
@@ -196,6 +200,7 @@ void MainWindow::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id,
case 19: _t->on_undoChangesButton_clicked(); break;
case 20: _t->on_startWithCurrentChangesButton_clicked(); break;
case 21: _t->on_exitButton_clicked(); break;
case 22: _t->on_offlineStartButton_clicked(); break;
default: ;
}
} else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
@@ -305,13 +310,13 @@ int MainWindow::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
if (_id < 0)
return _id;
if (_c == QMetaObject::InvokeMetaMethod) {
if (_id < 22)
if (_id < 23)
qt_static_metacall(this, _c, _id, _a);
_id -= 22;
_id -= 23;
} else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
if (_id < 22)
if (_id < 23)
qt_static_metacall(this, _c, _id, _a);
_id -= 22;
_id -= 23;
}
return _id;
}

Binary file not shown.

View File

@@ -8,49 +8,50 @@
static const unsigned char qt_resource_data[] = {
// E:/Projects/QT/GUIProj/RRJClient/RRJClient/style.css
0x0,0x0,0x2,0x87,
0x0,0x0,0x2,0x99,
0x0,
0x0,0xb,0xa,0x78,0x9c,0xd5,0x56,0x4d,0x6f,0xe2,0x30,0x10,0xbd,0x23,0xf1,0x1f,
0xac,0x72,0xa1,0x12,0x94,0x24,0x40,0x8b,0xd2,0x1b,0xdd,0xd5,0x7e,0xa8,0xac,0x16,
0xb5,0xda,0x9e,0x9d,0xd8,0x24,0x23,0x8c,0x1d,0xd9,0x8e,0x28,0x5a,0xed,0x7f,0xaf,
0x49,0x42,0x36,0x4,0x43,0x43,0x97,0xcb,0x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2,0x2c,0x35,0xd5,0x13,0xc6,0xa6,0xba,0xe6,0xa0,0x19,0x6d,0xc6,0x73,
0x26,0xe7,0xbf,0xb,0xd,0xb,0x8,0xf0,0xbe,0xce,0x2e,0x50,0x5e,0x3b,0x3c,0x52,
0x44,0x7e,0x16,0x31,0xf7,0x6c,0xba,0x65,0x2e,0x4,0x4b,0x67,0x4c,0xc7,0xc,0x54,
0xd3,0x19,0x76,0x3f,0x81,0x6e,0x2a,0xcd,0x7b,0xf8,0x4f,0xcd,0xbb,0x7e,0xcf,0x3b,
0x63,0xb6,0x5e,0x99,0x69,0xcf,0xa6,0x99,0x9e,0x9d,0xfa,0x7b,0x36,0x67,0xe4,0x58,
0xce,0xc3,0xbd,0x49,0x67,0x27,0xf,0xdf,0x69,0xcc,0x6,0x47,0x89,0x1a,0xd0,0x33,
0xf6,0x25,0x8c,0x47,0xf3,0xbb,0x93,0xa9,0x4e,0xc2,0xd1,0xe4,0xec,0x85,0xbb,0xb6,
0x95,0x5c,0x75,0x47,0x9f,0x8e,0xe9,0x92,0xcb,0x8b,0x51,0x1a,0xa6,0x94,0xcf,0xe2,
0x3c,0x6,0x7f,0x0,0xd4,0x31,0x46,0xce,
// E:/Projects/QT/GUIProj/RRJClient/RRJClient/resource/SSJ-100.png
0x0,0xc,0x7c,0xaa,
0x89,
@@ -131983,7 +131984,7 @@ static const unsigned char qt_resource_struct[] = {
0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,
// :/style.css
0x0,0x0,0x0,0x16,0x0,0x1,0x0,0x0,0x0,0x1,0x0,0x0,0x0,0x0,
0x0,0x0,0x1,0x92,0x52,0xc9,0xf,0xc1,
0x0,0x0,0x1,0x92,0x56,0x7e,0x8f,0xe2,
// :/resource
0x0,0x0,0x0,0x0,0x0,0x2,0x0,0x0,0x0,0x4,0x0,0x0,0x0,0x3,
0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,
@@ -131994,43 +131995,43 @@ static const unsigned char qt_resource_struct[] = {
0x0,0x0,0x0,0x6e,0x0,0x2,0x0,0x0,0x0,0x8,0x0,0x0,0x0,0x7,
0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,
// :/resource/SSJ-100Dark.png
0x0,0x0,0x0,0x4a,0x0,0x0,0x0,0x0,0x0,0x1,0x0,0xc,0x7f,0x39,
0x0,0x0,0x0,0x4a,0x0,0x0,0x0,0x0,0x0,0x1,0x0,0xc,0x7f,0x4b,
0x0,0x0,0x1,0x92,0x4d,0x8e,0xd2,0xb0,
// :/resource/SSJ-100.png
0x0,0x0,0x0,0x2e,0x0,0x0,0x0,0x0,0x0,0x1,0x0,0x0,0x2,0x8b,
0x0,0x0,0x0,0x2e,0x0,0x0,0x0,0x0,0x0,0x1,0x0,0x0,0x2,0x9d,
0x0,0x0,0x1,0x92,0x4d,0x0,0xce,0xbb,
// :/resource/Icons/setting.png
0x0,0x0,0x1,0xb0,0x0,0x0,0x0,0x0,0x0,0x1,0x0,0x1f,0xc3,0xb8,
0x0,0x0,0x1,0xb0,0x0,0x0,0x0,0x0,0x0,0x1,0x0,0x1f,0xc3,0xca,
0x0,0x0,0x1,0x92,0x47,0x9,0xdd,0xaa,
// :/resource/Icons/checked.png
0x0,0x0,0x2,0xc,0x0,0x0,0x0,0x0,0x0,0x1,0x0,0x20,0x21,0x25,
0x0,0x0,0x2,0xc,0x0,0x0,0x0,0x0,0x0,0x1,0x0,0x20,0x21,0x37,
0x0,0x0,0x1,0x92,0x51,0xaa,0xfa,0x67,
// :/resource/Icons/settingWhite.png
0x0,0x0,0x1,0x5e,0x0,0x0,0x0,0x0,0x0,0x1,0x0,0x1f,0x77,0xb1,
0x0,0x0,0x1,0x5e,0x0,0x0,0x0,0x0,0x0,0x1,0x0,0x1f,0x77,0xc3,
0x0,0x0,0x1,0x92,0x47,0xc,0xaf,0x4c,
// :/resource/Icons/plane.png
0x0,0x0,0x1,0xcc,0x0,0x0,0x0,0x0,0x0,0x1,0x0,0x1f,0xee,0xca,
0x0,0x0,0x1,0xcc,0x0,0x0,0x0,0x0,0x0,0x1,0x0,0x1f,0xee,0xdc,
0x0,0x0,0x1,0x91,0xb3,0xf,0xc0,0x1f,
// :/resource/Icons/crossInCircle.png
0x0,0x0,0x1,0xe4,0x0,0x0,0x0,0x0,0x0,0x1,0x0,0x1f,0xf3,0x17,
0x0,0x0,0x1,0xe4,0x0,0x0,0x0,0x0,0x0,0x1,0x0,0x1f,0xf3,0x29,
0x0,0x0,0x1,0x92,0x4c,0x9f,0x4d,0xc4,
// :/resource/Icons/whiteCross.png
0x0,0x0,0x1,0x3c,0x0,0x0,0x0,0x0,0x0,0x1,0x0,0x1f,0x61,0x3c,
0x0,0x0,0x1,0x3c,0x0,0x0,0x0,0x0,0x0,0x1,0x0,0x1f,0x61,0x4e,
0x0,0x0,0x1,0x92,0x4c,0x9e,0xfa,0x44,
// :/resource/Icons/monitor-display.png
0x0,0x0,0x1,0x84,0x0,0x0,0x0,0x0,0x0,0x1,0x0,0x1f,0xbd,0xe9,
0x0,0x0,0x1,0x84,0x0,0x0,0x0,0x0,0x0,0x1,0x0,0x1f,0xbd,0xfb,
0x0,0x0,0x1,0x92,0x42,0xfe,0x89,0x26,
// :/resource/Icons/762.gif
0x0,0x0,0x1,0x28,0x0,0x0,0x0,0x0,0x0,0x1,0x0,0x1f,0x3a,0xc6,
0x0,0x0,0x1,0x28,0x0,0x0,0x0,0x0,0x0,0x1,0x0,0x1f,0x3a,0xd8,
0x0,0x0,0x1,0x92,0x4d,0xb,0xea,0x71,
// :/resource/Fonts/HelveticaNeue-Medium.ttf
0x0,0x0,0x0,0x8e,0x0,0x0,0x0,0x0,0x0,0x1,0x0,0x16,0xf1,0x96,
0x0,0x0,0x0,0x8e,0x0,0x0,0x0,0x0,0x0,0x1,0x0,0x16,0xf1,0xa8,
0x0,0x0,0x1,0x92,0x42,0xb4,0xbd,0xcd,
// :/resource/Fonts/LiberationSans-Regular.ttf
0x0,0x0,0x0,0xee,0x0,0x0,0x0,0x0,0x0,0x1,0x0,0x19,0xe2,0xca,
0x0,0x0,0x0,0xee,0x0,0x0,0x0,0x0,0x0,0x1,0x0,0x19,0xe2,0xdc,
0x0,0x0,0x1,0x92,0x42,0x25,0xa7,0xdc,
// :/resource/Fonts/Kanit Cyrillic.ttf
0x0,0x0,0x0,0xc4,0x0,0x0,0x0,0x0,0x0,0x1,0x0,0x19,0x5b,0xa,
0x0,0x0,0x0,0xc4,0x0,0x0,0x0,0x0,0x0,0x1,0x0,0x19,0x5b,0x1c,
0x0,0x0,0x1,0x92,0x42,0x14,0x94,0xcc,
};

Binary file not shown.

View File

@@ -476,6 +476,14 @@ void MainWindow::on_updateListGuideLabel_linkActivated(const QString &link)
updateWidget->show();
}
void MainWindow::on_offlineStartButton_clicked()
{
QString username = "offlineUser";
QString password = "000000";
dataParser->createAuthDataOffline(username,password);
on_startButton_clicked();
}
void MainWindow::on_exitButton_clicked()
{
@@ -607,3 +615,4 @@ MainWindow::~MainWindow()

View File

@@ -70,6 +70,8 @@ private slots:
void on_exitButton_clicked();
void on_offlineStartButton_clicked();
private:
Ui::MainWindow *ui;
MyWinHeader *header;

View File

@@ -48,7 +48,7 @@
<property name="geometry">
<rect>
<x>0</x>
<y>540</y>
<y>541</y>
<width>550</width>
<height>50</height>
</rect>
@@ -804,13 +804,13 @@
</property>
<layout class="QVBoxLayout" name="verticalLayout_5">
<property name="spacing">
<number>8</number>
<number>6</number>
</property>
<property name="leftMargin">
<number>1</number>
</property>
<property name="topMargin">
<number>1</number>
<number>6</number>
</property>
<property name="rightMargin">
<number>1</number>
@@ -823,6 +823,18 @@
<property name="enabled">
<bool>true</bool>
</property>
<property name="sizePolicy">
<sizepolicy hsizetype="Minimum" vsizetype="Minimum">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="minimumSize">
<size>
<width>0</width>
<height>20</height>
</size>
</property>
<property name="text">
<string>Автозапуск</string>
</property>

View File

@@ -76,7 +76,7 @@ QProgressBar::chunk
QCheckBox
{
font-family:"Calibri";
font: 16px;
font: 18px;
color: white;
}
@@ -93,6 +93,12 @@ QLabel
color: white;
}
QLabel#inlineTextDebug
{
font-family: "Calibri";
font: 18px;
}
QWidget#headerWidget
{
background-color:rgb(203,228,255);
@@ -175,6 +181,5 @@ QPushButton#linkButton
background-color: rgba(0,0,0,0);
font-family: "Calibri";
color:blue;
}

View File

@@ -107,7 +107,7 @@ public:
centralwidget->setMaximumSize(QSize(800, 600));
downLayout = new QWidget(centralwidget);
downLayout->setObjectName(QString::fromUtf8("downLayout"));
downLayout->setGeometry(QRect(0, 540, 550, 50));
downLayout->setGeometry(QRect(0, 541, 550, 50));
sizePolicy.setHeightForWidth(downLayout->sizePolicy().hasHeightForWidth());
downLayout->setSizePolicy(sizePolicy);
downLayout->setMinimumSize(QSize(0, 40));
@@ -414,12 +414,15 @@ public:
debugWidget->setObjectName(QString::fromUtf8("debugWidget"));
debugWidget->setGeometry(QRect(10, 500, 561, 51));
verticalLayout_5 = new QVBoxLayout(debugWidget);
verticalLayout_5->setSpacing(8);
verticalLayout_5->setSpacing(6);
verticalLayout_5->setObjectName(QString::fromUtf8("verticalLayout_5"));
verticalLayout_5->setContentsMargins(1, 1, 1, 1);
verticalLayout_5->setContentsMargins(1, 6, 1, 1);
autostartCheckBox = new QCheckBox(debugWidget);
autostartCheckBox->setObjectName(QString::fromUtf8("autostartCheckBox"));
autostartCheckBox->setEnabled(true);
sizePolicy3.setHeightForWidth(autostartCheckBox->sizePolicy().hasHeightForWidth());
autostartCheckBox->setSizePolicy(sizePolicy3);
autostartCheckBox->setMinimumSize(QSize(0, 20));
autostartCheckBox->setChecked(false);
verticalLayout_5->addWidget(autostartCheckBox);