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:
Binary file not shown.
Binary file not shown.
BIN
debug/entrywidget.o
Normal file
BIN
debug/entrywidget.o
Normal file
Binary file not shown.
BIN
debug/main.o
BIN
debug/main.o
Binary file not shown.
Binary file not shown.
Binary file not shown.
124
debug/moc_entrywidget.cpp
Normal file
124
debug/moc_entrywidget.cpp
Normal file
@@ -0,0 +1,124 @@
|
||||
/****************************************************************************
|
||||
** Meta object code from reading C++ file 'entrywidget.h'
|
||||
**
|
||||
** Created by: The Qt Meta Object Compiler version 67 (Qt 5.14.2)
|
||||
**
|
||||
** WARNING! All changes made in this file will be lost!
|
||||
*****************************************************************************/
|
||||
|
||||
#include <memory>
|
||||
#include "../entrywidget.h"
|
||||
#include <QtCore/qbytearray.h>
|
||||
#include <QtCore/qmetatype.h>
|
||||
#if !defined(Q_MOC_OUTPUT_REVISION)
|
||||
#error "The header file 'entrywidget.h' doesn't include <QObject>."
|
||||
#elif Q_MOC_OUTPUT_REVISION != 67
|
||||
#error "This file was generated using the moc from 5.14.2. It"
|
||||
#error "cannot be used with the include files from this version of Qt."
|
||||
#error "(The moc has changed too much.)"
|
||||
#endif
|
||||
|
||||
QT_BEGIN_MOC_NAMESPACE
|
||||
QT_WARNING_PUSH
|
||||
QT_WARNING_DISABLE_DEPRECATED
|
||||
struct qt_meta_stringdata_EntryWidget_t {
|
||||
QByteArrayData data[4];
|
||||
char stringdata0[64];
|
||||
};
|
||||
#define QT_MOC_LITERAL(idx, ofs, len) \
|
||||
Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
|
||||
qptrdiff(offsetof(qt_meta_stringdata_EntryWidget_t, stringdata0) + ofs \
|
||||
- idx * sizeof(QByteArrayData)) \
|
||||
)
|
||||
static const qt_meta_stringdata_EntryWidget_t qt_meta_stringdata_EntryWidget = {
|
||||
{
|
||||
QT_MOC_LITERAL(0, 0, 11), // "EntryWidget"
|
||||
QT_MOC_LITERAL(1, 12, 22), // "on_loginButton_clicked"
|
||||
QT_MOC_LITERAL(2, 35, 0), // ""
|
||||
QT_MOC_LITERAL(3, 36, 27) // "on_saveServerButton_clicked"
|
||||
|
||||
},
|
||||
"EntryWidget\0on_loginButton_clicked\0\0"
|
||||
"on_saveServerButton_clicked"
|
||||
};
|
||||
#undef QT_MOC_LITERAL
|
||||
|
||||
static const uint qt_meta_data_EntryWidget[] = {
|
||||
|
||||
// content:
|
||||
8, // revision
|
||||
0, // classname
|
||||
0, 0, // classinfo
|
||||
2, 14, // methods
|
||||
0, 0, // properties
|
||||
0, 0, // enums/sets
|
||||
0, 0, // constructors
|
||||
0, // flags
|
||||
0, // signalCount
|
||||
|
||||
// slots: name, argc, parameters, tag, flags
|
||||
1, 0, 24, 2, 0x08 /* Private */,
|
||||
3, 0, 25, 2, 0x08 /* Private */,
|
||||
|
||||
// slots: parameters
|
||||
QMetaType::Void,
|
||||
QMetaType::Void,
|
||||
|
||||
0 // eod
|
||||
};
|
||||
|
||||
void EntryWidget::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
|
||||
{
|
||||
if (_c == QMetaObject::InvokeMetaMethod) {
|
||||
auto *_t = static_cast<EntryWidget *>(_o);
|
||||
Q_UNUSED(_t)
|
||||
switch (_id) {
|
||||
case 0: _t->on_loginButton_clicked(); break;
|
||||
case 1: _t->on_saveServerButton_clicked(); break;
|
||||
default: ;
|
||||
}
|
||||
}
|
||||
Q_UNUSED(_a);
|
||||
}
|
||||
|
||||
QT_INIT_METAOBJECT const QMetaObject EntryWidget::staticMetaObject = { {
|
||||
QMetaObject::SuperData::link<QWidget::staticMetaObject>(),
|
||||
qt_meta_stringdata_EntryWidget.data,
|
||||
qt_meta_data_EntryWidget,
|
||||
qt_static_metacall,
|
||||
nullptr,
|
||||
nullptr
|
||||
} };
|
||||
|
||||
|
||||
const QMetaObject *EntryWidget::metaObject() const
|
||||
{
|
||||
return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
|
||||
}
|
||||
|
||||
void *EntryWidget::qt_metacast(const char *_clname)
|
||||
{
|
||||
if (!_clname) return nullptr;
|
||||
if (!strcmp(_clname, qt_meta_stringdata_EntryWidget.stringdata0))
|
||||
return static_cast<void*>(this);
|
||||
return QWidget::qt_metacast(_clname);
|
||||
}
|
||||
|
||||
int EntryWidget::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
|
||||
{
|
||||
_id = QWidget::qt_metacall(_c, _id, _a);
|
||||
if (_id < 0)
|
||||
return _id;
|
||||
if (_c == QMetaObject::InvokeMetaMethod) {
|
||||
if (_id < 2)
|
||||
qt_static_metacall(this, _c, _id, _a);
|
||||
_id -= 2;
|
||||
} else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
|
||||
if (_id < 2)
|
||||
*reinterpret_cast<int*>(_a[0]) = -1;
|
||||
_id -= 2;
|
||||
}
|
||||
return _id;
|
||||
}
|
||||
QT_WARNING_POP
|
||||
QT_END_MOC_NAMESPACE
|
||||
BIN
debug/moc_entrywidget.o
Normal file
BIN
debug/moc_entrywidget.o
Normal file
Binary file not shown.
@@ -23,8 +23,8 @@ QT_BEGIN_MOC_NAMESPACE
|
||||
QT_WARNING_PUSH
|
||||
QT_WARNING_DISABLE_DEPRECATED
|
||||
struct qt_meta_stringdata_MainWindow_t {
|
||||
QByteArrayData data[45];
|
||||
char stringdata0[719];
|
||||
QByteArrayData data[43];
|
||||
char stringdata0[668];
|
||||
};
|
||||
#define QT_MOC_LITERAL(idx, ofs, len) \
|
||||
Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
|
||||
@@ -66,18 +66,16 @@ QT_MOC_LITERAL(29, 419, 13), // "setNeedUpdate"
|
||||
QT_MOC_LITERAL(30, 433, 4), // "flag"
|
||||
QT_MOC_LITERAL(31, 438, 4), // "size"
|
||||
QT_MOC_LITERAL(32, 443, 9), // "fileCount"
|
||||
QT_MOC_LITERAL(33, 453, 22), // "on_loginButton_clicked"
|
||||
QT_MOC_LITERAL(34, 476, 27), // "on_saveServerButton_clicked"
|
||||
QT_MOC_LITERAL(35, 504, 25), // "on_settingsButton_clicked"
|
||||
QT_MOC_LITERAL(36, 530, 29), // "on_languageComboBox_activated"
|
||||
QT_MOC_LITERAL(37, 560, 4), // "arg1"
|
||||
QT_MOC_LITERAL(38, 565, 17), // "slotDisableNotify"
|
||||
QT_MOC_LITERAL(39, 583, 19), // "slotConnectionState"
|
||||
QT_MOC_LITERAL(40, 603, 20), // "slotServerDisconnect"
|
||||
QT_MOC_LITERAL(41, 624, 37), // "on_updateListGuideLabel_linkA..."
|
||||
QT_MOC_LITERAL(42, 662, 4), // "link"
|
||||
QT_MOC_LITERAL(43, 667, 21), // "on_exitButton_clicked"
|
||||
QT_MOC_LITERAL(44, 689, 29) // "on_offlineStartButton_clicked"
|
||||
QT_MOC_LITERAL(33, 453, 25), // "on_settingsButton_clicked"
|
||||
QT_MOC_LITERAL(34, 479, 29), // "on_languageComboBox_activated"
|
||||
QT_MOC_LITERAL(35, 509, 4), // "arg1"
|
||||
QT_MOC_LITERAL(36, 514, 17), // "slotDisableNotify"
|
||||
QT_MOC_LITERAL(37, 532, 19), // "slotConnectionState"
|
||||
QT_MOC_LITERAL(38, 552, 20), // "slotServerDisconnect"
|
||||
QT_MOC_LITERAL(39, 573, 37), // "on_updateListGuideLabel_linkA..."
|
||||
QT_MOC_LITERAL(40, 611, 4), // "link"
|
||||
QT_MOC_LITERAL(41, 616, 21), // "on_exitButton_clicked"
|
||||
QT_MOC_LITERAL(42, 638, 29) // "on_offlineStartButton_clicked"
|
||||
|
||||
},
|
||||
"MainWindow\0sigInitializeClient\0\0"
|
||||
@@ -93,8 +91,6 @@ QT_MOC_LITERAL(44, 689, 29) // "on_offlineStartButton_clicked"
|
||||
"serverBlocked\0checkLoginResult\0"
|
||||
"ServerAuthorization*\0serverAuth\0"
|
||||
"setNeedUpdate\0flag\0size\0fileCount\0"
|
||||
"on_loginButton_clicked\0"
|
||||
"on_saveServerButton_clicked\0"
|
||||
"on_settingsButton_clicked\0"
|
||||
"on_languageComboBox_activated\0arg1\0"
|
||||
"slotDisableNotify\0slotConnectionState\0"
|
||||
@@ -111,7 +107,7 @@ static const uint qt_meta_data_MainWindow[] = {
|
||||
8, // revision
|
||||
0, // classname
|
||||
0, 0, // classinfo
|
||||
23, 14, // methods
|
||||
21, 14, // methods
|
||||
0, 0, // properties
|
||||
0, 0, // enums/sets
|
||||
0, 0, // constructors
|
||||
@@ -119,31 +115,29 @@ static const uint qt_meta_data_MainWindow[] = {
|
||||
7, // signalCount
|
||||
|
||||
// signals: name, argc, parameters, tag, flags
|
||||
1, 4, 129, 2, 0x06 /* Public */,
|
||||
11, 1, 138, 2, 0x06 /* Public */,
|
||||
13, 1, 141, 2, 0x06 /* Public */,
|
||||
16, 2, 144, 2, 0x06 /* Public */,
|
||||
19, 0, 149, 2, 0x06 /* Public */,
|
||||
20, 0, 150, 2, 0x06 /* Public */,
|
||||
21, 0, 151, 2, 0x06 /* Public */,
|
||||
1, 4, 119, 2, 0x06 /* Public */,
|
||||
11, 1, 128, 2, 0x06 /* Public */,
|
||||
13, 1, 131, 2, 0x06 /* Public */,
|
||||
16, 2, 134, 2, 0x06 /* Public */,
|
||||
19, 0, 139, 2, 0x06 /* Public */,
|
||||
20, 0, 140, 2, 0x06 /* Public */,
|
||||
21, 0, 141, 2, 0x06 /* Public */,
|
||||
|
||||
// slots: name, argc, parameters, tag, flags
|
||||
22, 0, 152, 2, 0x0a /* Public */,
|
||||
23, 0, 153, 2, 0x0a /* Public */,
|
||||
24, 0, 154, 2, 0x0a /* Public */,
|
||||
25, 0, 155, 2, 0x0a /* Public */,
|
||||
26, 1, 156, 2, 0x0a /* Public */,
|
||||
29, 3, 159, 2, 0x0a /* Public */,
|
||||
33, 0, 166, 2, 0x08 /* Private */,
|
||||
34, 0, 167, 2, 0x08 /* Private */,
|
||||
35, 0, 168, 2, 0x08 /* Private */,
|
||||
36, 1, 169, 2, 0x08 /* Private */,
|
||||
38, 0, 172, 2, 0x08 /* Private */,
|
||||
39, 1, 173, 2, 0x08 /* Private */,
|
||||
40, 0, 176, 2, 0x08 /* Private */,
|
||||
41, 1, 177, 2, 0x08 /* Private */,
|
||||
43, 0, 180, 2, 0x08 /* Private */,
|
||||
44, 0, 181, 2, 0x08 /* Private */,
|
||||
22, 0, 142, 2, 0x0a /* Public */,
|
||||
23, 0, 143, 2, 0x0a /* Public */,
|
||||
24, 0, 144, 2, 0x0a /* Public */,
|
||||
25, 0, 145, 2, 0x0a /* Public */,
|
||||
26, 1, 146, 2, 0x0a /* Public */,
|
||||
29, 3, 149, 2, 0x0a /* Public */,
|
||||
33, 0, 156, 2, 0x08 /* Private */,
|
||||
34, 1, 157, 2, 0x08 /* Private */,
|
||||
36, 0, 160, 2, 0x08 /* Private */,
|
||||
37, 1, 161, 2, 0x08 /* Private */,
|
||||
38, 0, 164, 2, 0x08 /* Private */,
|
||||
39, 1, 165, 2, 0x08 /* Private */,
|
||||
41, 0, 168, 2, 0x08 /* Private */,
|
||||
42, 0, 169, 2, 0x08 /* Private */,
|
||||
|
||||
// signals: parameters
|
||||
QMetaType::Void, 0x80000000 | 3, 0x80000000 | 5, 0x80000000 | 7, 0x80000000 | 9, 4, 6, 8, 10,
|
||||
@@ -162,13 +156,11 @@ static const uint qt_meta_data_MainWindow[] = {
|
||||
QMetaType::Void, 0x80000000 | 27, 28,
|
||||
QMetaType::Void, QMetaType::Bool, QMetaType::ULongLong, QMetaType::ULongLong, 30, 31, 32,
|
||||
QMetaType::Void,
|
||||
QMetaType::Void,
|
||||
QMetaType::Void,
|
||||
QMetaType::Void, QMetaType::QString, 37,
|
||||
QMetaType::Void, QMetaType::QString, 35,
|
||||
QMetaType::Void,
|
||||
QMetaType::Void, QMetaType::Bool, 30,
|
||||
QMetaType::Void,
|
||||
QMetaType::Void, QMetaType::QString, 42,
|
||||
QMetaType::Void, QMetaType::QString, 40,
|
||||
QMetaType::Void,
|
||||
QMetaType::Void,
|
||||
|
||||
@@ -195,16 +187,14 @@ void MainWindow::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id,
|
||||
case 10: _t->serverBlocked(); break;
|
||||
case 11: _t->checkLoginResult((*reinterpret_cast< ServerAuthorization*(*)>(_a[1]))); break;
|
||||
case 12: _t->setNeedUpdate((*reinterpret_cast< bool(*)>(_a[1])),(*reinterpret_cast< quint64(*)>(_a[2])),(*reinterpret_cast< quint64(*)>(_a[3]))); break;
|
||||
case 13: _t->on_loginButton_clicked(); break;
|
||||
case 14: _t->on_saveServerButton_clicked(); break;
|
||||
case 15: _t->on_settingsButton_clicked(); break;
|
||||
case 16: _t->on_languageComboBox_activated((*reinterpret_cast< const QString(*)>(_a[1]))); break;
|
||||
case 17: _t->slotDisableNotify(); break;
|
||||
case 18: _t->slotConnectionState((*reinterpret_cast< bool(*)>(_a[1]))); break;
|
||||
case 19: _t->slotServerDisconnect(); break;
|
||||
case 20: _t->on_updateListGuideLabel_linkActivated((*reinterpret_cast< const QString(*)>(_a[1]))); break;
|
||||
case 21: _t->on_exitButton_clicked(); break;
|
||||
case 22: _t->on_offlineStartButton_clicked(); break;
|
||||
case 13: _t->on_settingsButton_clicked(); break;
|
||||
case 14: _t->on_languageComboBox_activated((*reinterpret_cast< const QString(*)>(_a[1]))); break;
|
||||
case 15: _t->slotDisableNotify(); break;
|
||||
case 16: _t->slotConnectionState((*reinterpret_cast< bool(*)>(_a[1]))); break;
|
||||
case 17: _t->slotServerDisconnect(); break;
|
||||
case 18: _t->on_updateListGuideLabel_linkActivated((*reinterpret_cast< const QString(*)>(_a[1]))); break;
|
||||
case 19: _t->on_exitButton_clicked(); break;
|
||||
case 20: _t->on_offlineStartButton_clicked(); break;
|
||||
default: ;
|
||||
}
|
||||
} else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
|
||||
@@ -314,13 +304,13 @@ int MainWindow::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
|
||||
if (_id < 0)
|
||||
return _id;
|
||||
if (_c == QMetaObject::InvokeMetaMethod) {
|
||||
if (_id < 23)
|
||||
if (_id < 21)
|
||||
qt_static_metacall(this, _c, _id, _a);
|
||||
_id -= 23;
|
||||
_id -= 21;
|
||||
} else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
|
||||
if (_id < 23)
|
||||
if (_id < 21)
|
||||
qt_static_metacall(this, _c, _id, _a);
|
||||
_id -= 23;
|
||||
_id -= 21;
|
||||
}
|
||||
return _id;
|
||||
}
|
||||
|
||||
Binary file not shown.
95
debug/moc_updatewidget.cpp
Normal file
95
debug/moc_updatewidget.cpp
Normal file
@@ -0,0 +1,95 @@
|
||||
/****************************************************************************
|
||||
** Meta object code from reading C++ file 'updatewidget.h'
|
||||
**
|
||||
** Created by: The Qt Meta Object Compiler version 67 (Qt 5.14.2)
|
||||
**
|
||||
** WARNING! All changes made in this file will be lost!
|
||||
*****************************************************************************/
|
||||
|
||||
#include <memory>
|
||||
#include "../updatewidget.h"
|
||||
#include <QtCore/qbytearray.h>
|
||||
#include <QtCore/qmetatype.h>
|
||||
#if !defined(Q_MOC_OUTPUT_REVISION)
|
||||
#error "The header file 'updatewidget.h' doesn't include <QObject>."
|
||||
#elif Q_MOC_OUTPUT_REVISION != 67
|
||||
#error "This file was generated using the moc from 5.14.2. It"
|
||||
#error "cannot be used with the include files from this version of Qt."
|
||||
#error "(The moc has changed too much.)"
|
||||
#endif
|
||||
|
||||
QT_BEGIN_MOC_NAMESPACE
|
||||
QT_WARNING_PUSH
|
||||
QT_WARNING_DISABLE_DEPRECATED
|
||||
struct qt_meta_stringdata_UpdateWidget_t {
|
||||
QByteArrayData data[1];
|
||||
char stringdata0[13];
|
||||
};
|
||||
#define QT_MOC_LITERAL(idx, ofs, len) \
|
||||
Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
|
||||
qptrdiff(offsetof(qt_meta_stringdata_UpdateWidget_t, stringdata0) + ofs \
|
||||
- idx * sizeof(QByteArrayData)) \
|
||||
)
|
||||
static const qt_meta_stringdata_UpdateWidget_t qt_meta_stringdata_UpdateWidget = {
|
||||
{
|
||||
QT_MOC_LITERAL(0, 0, 12) // "UpdateWidget"
|
||||
|
||||
},
|
||||
"UpdateWidget"
|
||||
};
|
||||
#undef QT_MOC_LITERAL
|
||||
|
||||
static const uint qt_meta_data_UpdateWidget[] = {
|
||||
|
||||
// content:
|
||||
8, // revision
|
||||
0, // classname
|
||||
0, 0, // classinfo
|
||||
0, 0, // methods
|
||||
0, 0, // properties
|
||||
0, 0, // enums/sets
|
||||
0, 0, // constructors
|
||||
0, // flags
|
||||
0, // signalCount
|
||||
|
||||
0 // eod
|
||||
};
|
||||
|
||||
void UpdateWidget::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
|
||||
{
|
||||
Q_UNUSED(_o);
|
||||
Q_UNUSED(_id);
|
||||
Q_UNUSED(_c);
|
||||
Q_UNUSED(_a);
|
||||
}
|
||||
|
||||
QT_INIT_METAOBJECT const QMetaObject UpdateWidget::staticMetaObject = { {
|
||||
QMetaObject::SuperData::link<QWidget::staticMetaObject>(),
|
||||
qt_meta_stringdata_UpdateWidget.data,
|
||||
qt_meta_data_UpdateWidget,
|
||||
qt_static_metacall,
|
||||
nullptr,
|
||||
nullptr
|
||||
} };
|
||||
|
||||
|
||||
const QMetaObject *UpdateWidget::metaObject() const
|
||||
{
|
||||
return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
|
||||
}
|
||||
|
||||
void *UpdateWidget::qt_metacast(const char *_clname)
|
||||
{
|
||||
if (!_clname) return nullptr;
|
||||
if (!strcmp(_clname, qt_meta_stringdata_UpdateWidget.stringdata0))
|
||||
return static_cast<void*>(this);
|
||||
return QWidget::qt_metacast(_clname);
|
||||
}
|
||||
|
||||
int UpdateWidget::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
|
||||
{
|
||||
_id = QWidget::qt_metacall(_c, _id, _a);
|
||||
return _id;
|
||||
}
|
||||
QT_WARNING_POP
|
||||
QT_END_MOC_NAMESPACE
|
||||
BIN
debug/moc_updatewidget.o
Normal file
BIN
debug/moc_updatewidget.o
Normal file
Binary file not shown.
BIN
debug/updatewidget.o
Normal file
BIN
debug/updatewidget.o
Normal file
Binary file not shown.
Reference in New Issue
Block a user