Начал реализовывать обмен запросами к БД

This commit is contained in:
krivoshein
2024-12-06 11:15:02 +03:00
parent 53b37240eb
commit 2f48cf3921
107 changed files with 938 additions and 1189 deletions

View File

@@ -23,8 +23,8 @@ QT_BEGIN_MOC_NAMESPACE
QT_WARNING_PUSH
QT_WARNING_DISABLE_DEPRECATED
struct qt_meta_stringdata_InstructorsAndTraineesWidget_t {
QByteArrayData data[25];
char stringdata0[468];
QByteArrayData data[26];
char stringdata0[506];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
@@ -57,7 +57,8 @@ QT_MOC_LITERAL(20, 334, 22), // "ServerDeAuthorization*"
QT_MOC_LITERAL(21, 357, 12), // "serverDeAuth"
QT_MOC_LITERAL(22, 370, 28), // "on_btnConnectionToDB_clicked"
QT_MOC_LITERAL(23, 399, 37), // "on_btnAuthorizationInstructor..."
QT_MOC_LITERAL(24, 437, 30) // "on_btnUpdateStyleSheet_clicked"
QT_MOC_LITERAL(24, 437, 30), // "on_btnUpdateStyleSheet_clicked"
QT_MOC_LITERAL(25, 468, 37) // "on_btnQueryGetListInstructors..."
},
"InstructorsAndTraineesWidget\0"
@@ -73,7 +74,8 @@ QT_MOC_LITERAL(24, 437, 30) // "on_btnUpdateStyleSheet_clicked"
"ServerDeAuthorization*\0serverDeAuth\0"
"on_btnConnectionToDB_clicked\0"
"on_btnAuthorizationInstructor_clicked\0"
"on_btnUpdateStyleSheet_clicked"
"on_btnUpdateStyleSheet_clicked\0"
"on_btnQueryGetListInstructors_clicked"
};
#undef QT_MOC_LITERAL
@@ -83,7 +85,7 @@ static const uint qt_meta_data_InstructorsAndTraineesWidget[] = {
8, // revision
0, // classname
0, 0, // classinfo
12, 14, // methods
13, 14, // methods
0, 0, // properties
0, 0, // enums/sets
0, 0, // constructors
@@ -91,20 +93,21 @@ static const uint qt_meta_data_InstructorsAndTraineesWidget[] = {
6, // signalCount
// signals: name, argc, parameters, tag, flags
1, 1, 74, 2, 0x06 /* Public */,
4, 2, 77, 2, 0x06 /* Public */,
7, 1, 82, 2, 0x06 /* Public */,
9, 1, 85, 2, 0x06 /* Public */,
11, 1, 88, 2, 0x06 /* Public */,
12, 1, 91, 2, 0x06 /* Public */,
1, 1, 79, 2, 0x06 /* Public */,
4, 2, 82, 2, 0x06 /* Public */,
7, 1, 87, 2, 0x06 /* Public */,
9, 1, 90, 2, 0x06 /* Public */,
11, 1, 93, 2, 0x06 /* Public */,
12, 1, 96, 2, 0x06 /* Public */,
// slots: name, argc, parameters, tag, flags
15, 1, 94, 2, 0x0a /* Public */,
16, 1, 97, 2, 0x0a /* Public */,
19, 1, 100, 2, 0x0a /* Public */,
22, 0, 103, 2, 0x08 /* Private */,
23, 0, 104, 2, 0x08 /* Private */,
24, 0, 105, 2, 0x08 /* Private */,
15, 1, 99, 2, 0x0a /* Public */,
16, 1, 102, 2, 0x0a /* Public */,
19, 1, 105, 2, 0x0a /* Public */,
22, 0, 108, 2, 0x08 /* Private */,
23, 0, 109, 2, 0x08 /* Private */,
24, 0, 110, 2, 0x08 /* Private */,
25, 0, 111, 2, 0x08 /* Private */,
// signals: parameters
QMetaType::Void, QMetaType::QString, 3,
@@ -120,6 +123,7 @@ static const uint qt_meta_data_InstructorsAndTraineesWidget[] = {
QMetaType::Void, 0x80000000 | 20, 21,
QMetaType::Void,
QMetaType::Void,
QMetaType::Void,
QMetaType::Void,
0 // eod
@@ -143,6 +147,7 @@ void InstructorsAndTraineesWidget::qt_static_metacall(QObject *_o, QMetaObject::
case 9: _t->on_btnConnectionToDB_clicked(); break;
case 10: _t->on_btnAuthorizationInstructor_clicked(); break;
case 11: _t->on_btnUpdateStyleSheet_clicked(); break;
case 12: _t->on_btnQueryGetListInstructors_clicked(); break;
default: ;
}
} else if (_c == QMetaObject::IndexOfMethod) {
@@ -221,13 +226,13 @@ int InstructorsAndTraineesWidget::qt_metacall(QMetaObject::Call _c, int _id, voi
if (_id < 0)
return _id;
if (_c == QMetaObject::InvokeMetaMethod) {
if (_id < 12)
if (_id < 13)
qt_static_metacall(this, _c, _id, _a);
_id -= 12;
_id -= 13;
} else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
if (_id < 12)
if (_id < 13)
*reinterpret_cast<int*>(_a[0]) = -1;
_id -= 12;
_id -= 13;
}
return _id;
}