增加遥控器读取

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_P401_CuttingPage_t {
QByteArrayData data[1];
char stringdata0[17];
QByteArrayData data[12];
char stringdata0[139];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
@@ -32,10 +32,24 @@ struct qt_meta_stringdata_P401_CuttingPage_t {
)
static const qt_meta_stringdata_P401_CuttingPage_t qt_meta_stringdata_P401_CuttingPage = {
{
QT_MOC_LITERAL(0, 0, 16) // "P401_CuttingPage"
QT_MOC_LITERAL(0, 0, 16), // "P401_CuttingPage"
QT_MOC_LITERAL(1, 17, 18), // "preprocessFinished"
QT_MOC_LITERAL(2, 36, 0), // ""
QT_MOC_LITERAL(3, 37, 6), // "center"
QT_MOC_LITERAL(4, 44, 6), // "radius"
QT_MOC_LITERAL(5, 51, 16), // "loadModelRequest"
QT_MOC_LITERAL(6, 68, 7), // "devName"
QT_MOC_LITERAL(7, 76, 8), // "filePath"
QT_MOC_LITERAL(8, 85, 16), // "UIRefreshTimeOut"
QT_MOC_LITERAL(9, 102, 19), // "TrailRefreshTimeOut"
QT_MOC_LITERAL(10, 122, 6), // "Show3D"
QT_MOC_LITERAL(11, 129, 9) // "RotateDev"
},
"P401_CuttingPage"
"P401_CuttingPage\0preprocessFinished\0"
"\0center\0radius\0loadModelRequest\0devName\0"
"filePath\0UIRefreshTimeOut\0TrailRefreshTimeOut\0"
"Show3D\0RotateDev"
};
#undef QT_MOC_LITERAL
@@ -45,22 +59,67 @@ static const uint qt_meta_data_P401_CuttingPage[] = {
8, // revision
0, // classname
0, 0, // classinfo
0, 0, // methods
6, 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, 2, 44, 2, 0x06 /* Public */,
5, 4, 49, 2, 0x06 /* Public */,
// slots: name, argc, parameters, tag, flags
8, 0, 58, 2, 0x08 /* Private */,
9, 0, 59, 2, 0x08 /* Private */,
10, 0, 60, 2, 0x08 /* Private */,
11, 0, 61, 2, 0x08 /* Private */,
// signals: parameters
QMetaType::Void, QMetaType::QVector3D, QMetaType::Float, 3, 4,
QMetaType::Void, QMetaType::QString, QMetaType::QString, QMetaType::QVector3D, QMetaType::Float, 6, 7, 3, 4,
// slots: parameters
QMetaType::Void,
QMetaType::Void,
QMetaType::Void,
QMetaType::Void,
0 // eod
};
void P401_CuttingPage::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
Q_UNUSED(_o);
Q_UNUSED(_id);
Q_UNUSED(_c);
Q_UNUSED(_a);
if (_c == QMetaObject::InvokeMetaMethod) {
auto *_t = static_cast<P401_CuttingPage *>(_o);
Q_UNUSED(_t)
switch (_id) {
case 0: _t->preprocessFinished((*reinterpret_cast< QVector3D(*)>(_a[1])),(*reinterpret_cast< float(*)>(_a[2]))); break;
case 1: _t->loadModelRequest((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2])),(*reinterpret_cast< QVector3D(*)>(_a[3])),(*reinterpret_cast< float(*)>(_a[4]))); break;
case 2: _t->UIRefreshTimeOut(); break;
case 3: _t->TrailRefreshTimeOut(); break;
case 4: _t->Show3D(); break;
case 5: _t->RotateDev(); break;
default: ;
}
} else if (_c == QMetaObject::IndexOfMethod) {
int *result = reinterpret_cast<int *>(_a[0]);
{
using _t = void (P401_CuttingPage::*)(QVector3D , float );
if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&P401_CuttingPage::preprocessFinished)) {
*result = 0;
return;
}
}
{
using _t = void (P401_CuttingPage::*)(const QString & , const QString & , QVector3D , float );
if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&P401_CuttingPage::loadModelRequest)) {
*result = 1;
return;
}
}
}
}
QT_INIT_METAOBJECT const QMetaObject P401_CuttingPage::staticMetaObject = { {
@@ -89,7 +148,32 @@ void *P401_CuttingPage::qt_metacast(const char *_clname)
int P401_CuttingPage::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 < 6)
qt_static_metacall(this, _c, _id, _a);
_id -= 6;
} else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
if (_id < 6)
*reinterpret_cast<int*>(_a[0]) = -1;
_id -= 6;
}
return _id;
}
// SIGNAL 0
void P401_CuttingPage::preprocessFinished(QVector3D _t1, float _t2)
{
void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))), const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t2))) };
QMetaObject::activate(this, &staticMetaObject, 0, _a);
}
// SIGNAL 1
void P401_CuttingPage::loadModelRequest(const QString & _t1, const QString & _t2, QVector3D _t3, float _t4)
{
void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))), const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t2))), const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t3))), const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t4))) };
QMetaObject::activate(this, &staticMetaObject, 1, _a);
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE