增加遥控器读取

This commit is contained in:
2025-10-10 23:10:21 +08:00
parent e7436bb288
commit ebc440d6d4
92 changed files with 111151 additions and 11136 deletions

View File

@@ -22,8 +22,8 @@ QT_BEGIN_MOC_NAMESPACE
QT_WARNING_PUSH
QT_WARNING_DISABLE_DEPRECATED
struct qt_meta_stringdata_P01_MianPage_t {
QByteArrayData data[4];
char stringdata0[51];
QByteArrayData data[14];
char stringdata0[178];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
@@ -33,13 +33,27 @@ struct qt_meta_stringdata_P01_MianPage_t {
static const qt_meta_stringdata_P01_MianPage_t qt_meta_stringdata_P01_MianPage = {
{
QT_MOC_LITERAL(0, 0, 12), // "P01_MianPage"
QT_MOC_LITERAL(1, 13, 16), // "UIRefreshTimeOut"
QT_MOC_LITERAL(2, 30, 0), // ""
QT_MOC_LITERAL(3, 31, 19) // "TrailRefreshTimeOut"
QT_MOC_LITERAL(1, 13, 18), // "preprocessFinished"
QT_MOC_LITERAL(2, 32, 0), // ""
QT_MOC_LITERAL(3, 33, 10), // "deviceName"
QT_MOC_LITERAL(4, 44, 16), // "allDevicesLoaded"
QT_MOC_LITERAL(5, 61, 16), // "UIRefreshTimeOut"
QT_MOC_LITERAL(6, 78, 19), // "TrailRefreshTimeOut"
QT_MOC_LITERAL(7, 98, 8), // "PageInit"
QT_MOC_LITERAL(8, 107, 6), // "Show3D"
QT_MOC_LITERAL(9, 114, 9), // "RotateDev"
QT_MOC_LITERAL(10, 124, 20), // "onPreprocessFinished"
QT_MOC_LITERAL(11, 145, 18), // "onPreprocessResult"
QT_MOC_LITERAL(12, 164, 6), // "center"
QT_MOC_LITERAL(13, 171, 6) // "radius"
},
"P01_MianPage\0UIRefreshTimeOut\0\0"
"TrailRefreshTimeOut"
"P01_MianPage\0preprocessFinished\0\0"
"deviceName\0allDevicesLoaded\0"
"UIRefreshTimeOut\0TrailRefreshTimeOut\0"
"PageInit\0Show3D\0RotateDev\0"
"onPreprocessFinished\0onPreprocessResult\0"
"center\0radius"
};
#undef QT_MOC_LITERAL
@@ -49,20 +63,38 @@ static const uint qt_meta_data_P01_MianPage[] = {
8, // revision
0, // classname
0, 0, // classinfo
2, 14, // methods
9, 14, // methods
0, 0, // properties
0, 0, // enums/sets
0, 0, // constructors
0, // flags
0, // signalCount
2, // signalCount
// signals: name, argc, parameters, tag, flags
1, 1, 59, 2, 0x06 /* Public */,
4, 0, 62, 2, 0x06 /* Public */,
// slots: name, argc, parameters, tag, flags
1, 0, 24, 2, 0x08 /* Private */,
3, 0, 25, 2, 0x08 /* Private */,
5, 0, 63, 2, 0x08 /* Private */,
6, 0, 64, 2, 0x08 /* Private */,
7, 0, 65, 2, 0x08 /* Private */,
8, 0, 66, 2, 0x08 /* Private */,
9, 0, 67, 2, 0x08 /* Private */,
10, 1, 68, 2, 0x08 /* Private */,
11, 3, 71, 2, 0x08 /* Private */,
// signals: parameters
QMetaType::Void, QMetaType::QString, 3,
QMetaType::Void,
// slots: parameters
QMetaType::Void,
QMetaType::Void,
QMetaType::Void,
QMetaType::Void,
QMetaType::Void,
QMetaType::Void, QMetaType::QString, 3,
QMetaType::Void, QMetaType::QString, QMetaType::QVector3D, QMetaType::Float, 3, 12, 13,
0 // eod
};
@@ -73,12 +105,34 @@ void P01_MianPage::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id
auto *_t = static_cast<P01_MianPage *>(_o);
Q_UNUSED(_t)
switch (_id) {
case 0: _t->UIRefreshTimeOut(); break;
case 1: _t->TrailRefreshTimeOut(); break;
case 0: _t->preprocessFinished((*reinterpret_cast< const QString(*)>(_a[1]))); break;
case 1: _t->allDevicesLoaded(); break;
case 2: _t->UIRefreshTimeOut(); break;
case 3: _t->TrailRefreshTimeOut(); break;
case 4: _t->PageInit(); break;
case 5: _t->Show3D(); break;
case 6: _t->RotateDev(); break;
case 7: _t->onPreprocessFinished((*reinterpret_cast< const QString(*)>(_a[1]))); break;
case 8: _t->onPreprocessResult((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< QVector3D(*)>(_a[2])),(*reinterpret_cast< float(*)>(_a[3]))); break;
default: ;
}
} else if (_c == QMetaObject::IndexOfMethod) {
int *result = reinterpret_cast<int *>(_a[0]);
{
using _t = void (P01_MianPage::*)(const QString & );
if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&P01_MianPage::preprocessFinished)) {
*result = 0;
return;
}
}
{
using _t = void (P01_MianPage::*)();
if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&P01_MianPage::allDevicesLoaded)) {
*result = 1;
return;
}
}
}
Q_UNUSED(_a);
}
QT_INIT_METAOBJECT const QMetaObject P01_MianPage::staticMetaObject = { {
@@ -110,15 +164,28 @@ int P01_MianPage::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
if (_id < 0)
return _id;
if (_c == QMetaObject::InvokeMetaMethod) {
if (_id < 2)
if (_id < 9)
qt_static_metacall(this, _c, _id, _a);
_id -= 2;
_id -= 9;
} else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
if (_id < 2)
if (_id < 9)
*reinterpret_cast<int*>(_a[0]) = -1;
_id -= 2;
_id -= 9;
}
return _id;
}
// SIGNAL 0
void P01_MianPage::preprocessFinished(const QString & _t1)
{
void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
QMetaObject::activate(this, &staticMetaObject, 0, _a);
}
// SIGNAL 1
void P01_MianPage::allDevicesLoaded()
{
QMetaObject::activate(this, &staticMetaObject, 1, nullptr);
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE