feat: change UI for send to server

This commit is contained in:
semenov
2024-10-01 16:25:54 +03:00
parent 920916ce69
commit 5f457e3ac6
34 changed files with 5562 additions and 917 deletions

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@@ -22,8 +22,8 @@ QT_BEGIN_MOC_NAMESPACE
QT_WARNING_PUSH
QT_WARNING_DISABLE_DEPRECATED
struct qt_meta_stringdata_HashComparer_t {
QByteArrayData data[3];
char stringdata0[27];
QByteArrayData data[4];
char stringdata0[40];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
@@ -34,10 +34,11 @@ static const qt_meta_stringdata_HashComparer_t qt_meta_stringdata_HashComparer =
{
QT_MOC_LITERAL(0, 0, 12), // "HashComparer"
QT_MOC_LITERAL(1, 13, 12), // "sigCallCheck"
QT_MOC_LITERAL(2, 26, 0) // ""
QT_MOC_LITERAL(2, 26, 0), // ""
QT_MOC_LITERAL(3, 27, 12) // "sigHaveDelta"
},
"HashComparer\0sigCallCheck\0"
"HashComparer\0sigCallCheck\0\0sigHaveDelta"
};
#undef QT_MOC_LITERAL
@@ -47,17 +48,19 @@ static const uint qt_meta_data_HashComparer[] = {
8, // revision
0, // classname
0, 0, // classinfo
1, 14, // methods
2, 14, // methods
0, 0, // properties
0, 0, // enums/sets
0, 0, // constructors
0, // flags
1, // signalCount
2, // signalCount
// signals: name, argc, parameters, tag, flags
1, 0, 19, 2, 0x06 /* Public */,
1, 0, 24, 2, 0x06 /* Public */,
3, 0, 25, 2, 0x06 /* Public */,
// signals: parameters
QMetaType::Void,
QMetaType::Void,
0 // eod
@@ -70,6 +73,7 @@ void HashComparer::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id
Q_UNUSED(_t)
switch (_id) {
case 0: _t->sigCallCheck(); break;
case 1: _t->sigHaveDelta(); break;
default: ;
}
} else if (_c == QMetaObject::IndexOfMethod) {
@@ -81,6 +85,13 @@ void HashComparer::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id
return;
}
}
{
using _t = void (HashComparer::*)();
if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&HashComparer::sigHaveDelta)) {
*result = 1;
return;
}
}
}
Q_UNUSED(_a);
}
@@ -114,13 +125,13 @@ int HashComparer::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
if (_id < 0)
return _id;
if (_c == QMetaObject::InvokeMetaMethod) {
if (_id < 1)
if (_id < 2)
qt_static_metacall(this, _c, _id, _a);
_id -= 1;
_id -= 2;
} else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
if (_id < 1)
if (_id < 2)
*reinterpret_cast<int*>(_a[0]) = -1;
_id -= 1;
_id -= 2;
}
return _id;
}
@@ -130,5 +141,11 @@ void HashComparer::sigCallCheck()
{
QMetaObject::activate(this, &staticMetaObject, 0, nullptr);
}
// SIGNAL 1
void HashComparer::sigHaveDelta()
{
QMetaObject::activate(this, &staticMetaObject, 1, nullptr);
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE

Binary file not shown.

View File

@@ -22,8 +22,8 @@ QT_BEGIN_MOC_NAMESPACE
QT_WARNING_PUSH
QT_WARNING_DISABLE_DEPRECATED
struct qt_meta_stringdata_MainWindow_t {
QByteArrayData data[31];
char stringdata0[508];
QByteArrayData data[33];
char stringdata0[551];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
@@ -62,7 +62,9 @@ QT_MOC_LITERAL(26, 439, 4), // "arg1"
QT_MOC_LITERAL(27, 444, 17), // "slotDisableNotify"
QT_MOC_LITERAL(28, 462, 19), // "slotConnectionState"
QT_MOC_LITERAL(29, 482, 4), // "flag"
QT_MOC_LITERAL(30, 487, 20) // "slotServerDisconnect"
QT_MOC_LITERAL(30, 487, 20), // "slotServerDisconnect"
QT_MOC_LITERAL(31, 508, 37), // "on_updateListGuideLabel_linkA..."
QT_MOC_LITERAL(32, 546, 4) // "link"
},
"MainWindow\0sigInitializeClient\0\0"
@@ -79,7 +81,9 @@ QT_MOC_LITERAL(30, 487, 20) // "slotServerDisconnect"
"on_connectButton_clicked\0"
"on_languageComboBox_activated\0arg1\0"
"slotDisableNotify\0slotConnectionState\0"
"flag\0slotServerDisconnect"
"flag\0slotServerDisconnect\0"
"on_updateListGuideLabel_linkActivated\0"
"link"
};
#undef QT_MOC_LITERAL
@@ -89,7 +93,7 @@ static const uint qt_meta_data_MainWindow[] = {
8, // revision
0, // classname
0, 0, // classinfo
16, 14, // methods
17, 14, // methods
0, 0, // properties
0, 0, // enums/sets
0, 0, // constructors
@@ -97,24 +101,25 @@ static const uint qt_meta_data_MainWindow[] = {
6, // signalCount
// signals: name, argc, parameters, tag, flags
1, 4, 94, 2, 0x06 /* Public */,
11, 2, 103, 2, 0x06 /* Public */,
14, 0, 108, 2, 0x06 /* Public */,
15, 1, 109, 2, 0x06 /* Public */,
17, 0, 112, 2, 0x06 /* Public */,
18, 0, 113, 2, 0x06 /* Public */,
1, 4, 99, 2, 0x06 /* Public */,
11, 2, 108, 2, 0x06 /* Public */,
14, 0, 113, 2, 0x06 /* Public */,
15, 1, 114, 2, 0x06 /* Public */,
17, 0, 117, 2, 0x06 /* Public */,
18, 0, 118, 2, 0x06 /* Public */,
// slots: name, argc, parameters, tag, flags
19, 0, 114, 2, 0x08 /* Private */,
20, 0, 115, 2, 0x08 /* Private */,
21, 0, 116, 2, 0x08 /* Private */,
22, 0, 117, 2, 0x08 /* Private */,
23, 0, 118, 2, 0x08 /* Private */,
24, 0, 119, 2, 0x08 /* Private */,
25, 1, 120, 2, 0x08 /* Private */,
27, 0, 123, 2, 0x08 /* Private */,
28, 1, 124, 2, 0x08 /* Private */,
30, 0, 127, 2, 0x08 /* Private */,
19, 0, 119, 2, 0x08 /* Private */,
20, 0, 120, 2, 0x08 /* Private */,
21, 0, 121, 2, 0x08 /* Private */,
22, 0, 122, 2, 0x08 /* Private */,
23, 0, 123, 2, 0x08 /* Private */,
24, 0, 124, 2, 0x08 /* Private */,
25, 1, 125, 2, 0x08 /* Private */,
27, 0, 128, 2, 0x08 /* Private */,
28, 1, 129, 2, 0x08 /* Private */,
30, 0, 132, 2, 0x08 /* Private */,
31, 1, 133, 2, 0x08 /* Private */,
// signals: parameters
QMetaType::Void, 0x80000000 | 3, 0x80000000 | 5, 0x80000000 | 7, 0x80000000 | 9, 4, 6, 8, 10,
@@ -135,6 +140,7 @@ static const uint qt_meta_data_MainWindow[] = {
QMetaType::Void,
QMetaType::Void, QMetaType::Bool, 29,
QMetaType::Void,
QMetaType::Void, QMetaType::QString, 32,
0 // eod
};
@@ -162,6 +168,7 @@ void MainWindow::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id,
case 13: _t->slotDisableNotify(); break;
case 14: _t->slotConnectionState((*reinterpret_cast< bool(*)>(_a[1]))); break;
case 15: _t->slotServerDisconnect(); break;
case 16: _t->on_updateListGuideLabel_linkActivated((*reinterpret_cast< const QString(*)>(_a[1]))); break;
default: ;
}
} else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
@@ -264,13 +271,13 @@ int MainWindow::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
if (_id < 0)
return _id;
if (_c == QMetaObject::InvokeMetaMethod) {
if (_id < 16)
if (_id < 17)
qt_static_metacall(this, _c, _id, _a);
_id -= 16;
_id -= 17;
} else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
if (_id < 16)
if (_id < 17)
qt_static_metacall(this, _c, _id, _a);
_id -= 16;
_id -= 17;
}
return _id;
}

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_UpdateNotifyWidget_t {
QByteArrayData data[9];
char stringdata0[151];
QByteArrayData data[10];
char stringdata0[174];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
@@ -41,14 +41,15 @@ QT_MOC_LITERAL(4, 60, 12), // "fileSendList"
QT_MOC_LITERAL(5, 73, 21), // "showCompleteDialogBox"
QT_MOC_LITERAL(6, 95, 4), // "flag"
QT_MOC_LITERAL(7, 100, 26), // "on_StartLoadButton_clicked"
QT_MOC_LITERAL(8, 127, 23) // "on_CancelButton_clicked"
QT_MOC_LITERAL(8, 127, 23), // "on_CancelButton_clicked"
QT_MOC_LITERAL(9, 151, 22) // "on_closeButton_clicked"
},
"UpdateNotifyWidget\0sigUpdateFilesOnServer\0"
"\0QList<FileData>*\0fileSendList\0"
"showCompleteDialogBox\0flag\0"
"on_StartLoadButton_clicked\0"
"on_CancelButton_clicked"
"on_CancelButton_clicked\0on_closeButton_clicked"
};
#undef QT_MOC_LITERAL
@@ -58,7 +59,7 @@ static const uint qt_meta_data_UpdateNotifyWidget[] = {
8, // revision
0, // classname
0, 0, // classinfo
4, 14, // methods
5, 14, // methods
0, 0, // properties
0, 0, // enums/sets
0, 0, // constructors
@@ -66,12 +67,13 @@ static const uint qt_meta_data_UpdateNotifyWidget[] = {
1, // signalCount
// signals: name, argc, parameters, tag, flags
1, 1, 34, 2, 0x06 /* Public */,
1, 1, 39, 2, 0x06 /* Public */,
// slots: name, argc, parameters, tag, flags
5, 1, 37, 2, 0x08 /* Private */,
7, 0, 40, 2, 0x08 /* Private */,
8, 0, 41, 2, 0x08 /* Private */,
5, 1, 42, 2, 0x08 /* Private */,
7, 0, 45, 2, 0x08 /* Private */,
8, 0, 46, 2, 0x08 /* Private */,
9, 0, 47, 2, 0x08 /* Private */,
// signals: parameters
QMetaType::Void, 0x80000000 | 3, 4,
@@ -79,6 +81,7 @@ static const uint qt_meta_data_UpdateNotifyWidget[] = {
// slots: parameters
QMetaType::Void, QMetaType::Bool, 6,
QMetaType::Void,
QMetaType::Void,
QMetaType::Void,
0 // eod
@@ -94,6 +97,7 @@ void UpdateNotifyWidget::qt_static_metacall(QObject *_o, QMetaObject::Call _c, i
case 1: _t->showCompleteDialogBox((*reinterpret_cast< bool(*)>(_a[1]))); break;
case 2: _t->on_StartLoadButton_clicked(); break;
case 3: _t->on_CancelButton_clicked(); break;
case 4: _t->on_closeButton_clicked(); break;
default: ;
}
} else if (_c == QMetaObject::IndexOfMethod) {
@@ -137,13 +141,13 @@ int UpdateNotifyWidget::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
if (_id < 0)
return _id;
if (_c == QMetaObject::InvokeMetaMethod) {
if (_id < 4)
if (_id < 5)
qt_static_metacall(this, _c, _id, _a);
_id -= 4;
_id -= 5;
} else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
if (_id < 4)
if (_id < 5)
*reinterpret_cast<int*>(_a[0]) = -1;
_id -= 4;
_id -= 5;
}
return _id;
}

Binary file not shown.

File diff suppressed because it is too large Load Diff

Binary file not shown.

Binary file not shown.