增加遥控器读取
This commit is contained in:
@@ -22,8 +22,8 @@ QT_BEGIN_MOC_NAMESPACE
|
||||
QT_WARNING_PUSH
|
||||
QT_WARNING_DISABLE_DEPRECATED
|
||||
struct qt_meta_stringdata_P501_LoaderPage_t {
|
||||
QByteArrayData data[1];
|
||||
char stringdata0[16];
|
||||
QByteArrayData data[12];
|
||||
char stringdata0[138];
|
||||
};
|
||||
#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_P501_LoaderPage_t {
|
||||
)
|
||||
static const qt_meta_stringdata_P501_LoaderPage_t qt_meta_stringdata_P501_LoaderPage = {
|
||||
{
|
||||
QT_MOC_LITERAL(0, 0, 15) // "P501_LoaderPage"
|
||||
QT_MOC_LITERAL(0, 0, 15), // "P501_LoaderPage"
|
||||
QT_MOC_LITERAL(1, 16, 18), // "preprocessFinished"
|
||||
QT_MOC_LITERAL(2, 35, 0), // ""
|
||||
QT_MOC_LITERAL(3, 36, 6), // "center"
|
||||
QT_MOC_LITERAL(4, 43, 6), // "radius"
|
||||
QT_MOC_LITERAL(5, 50, 16), // "loadModelRequest"
|
||||
QT_MOC_LITERAL(6, 67, 7), // "devName"
|
||||
QT_MOC_LITERAL(7, 75, 8), // "filePath"
|
||||
QT_MOC_LITERAL(8, 84, 16), // "UIRefreshTimeOut"
|
||||
QT_MOC_LITERAL(9, 101, 19), // "TrailRefreshTimeOut"
|
||||
QT_MOC_LITERAL(10, 121, 6), // "Show3D"
|
||||
QT_MOC_LITERAL(11, 128, 9) // "RotateDev"
|
||||
|
||||
},
|
||||
"P501_LoaderPage"
|
||||
"P501_LoaderPage\0preprocessFinished\0\0"
|
||||
"center\0radius\0loadModelRequest\0devName\0"
|
||||
"filePath\0UIRefreshTimeOut\0TrailRefreshTimeOut\0"
|
||||
"Show3D\0RotateDev"
|
||||
};
|
||||
#undef QT_MOC_LITERAL
|
||||
|
||||
@@ -45,22 +59,67 @@ static const uint qt_meta_data_P501_LoaderPage[] = {
|
||||
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 P501_LoaderPage::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<P501_LoaderPage *>(_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 (P501_LoaderPage::*)(QVector3D , float );
|
||||
if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&P501_LoaderPage::preprocessFinished)) {
|
||||
*result = 0;
|
||||
return;
|
||||
}
|
||||
}
|
||||
{
|
||||
using _t = void (P501_LoaderPage::*)(const QString & , const QString & , QVector3D , float );
|
||||
if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&P501_LoaderPage::loadModelRequest)) {
|
||||
*result = 1;
|
||||
return;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
QT_INIT_METAOBJECT const QMetaObject P501_LoaderPage::staticMetaObject = { {
|
||||
@@ -89,7 +148,32 @@ void *P501_LoaderPage::qt_metacast(const char *_clname)
|
||||
int P501_LoaderPage::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 P501_LoaderPage::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 P501_LoaderPage::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
|
||||
|
||||
Reference in New Issue
Block a user