mirror of
https://github.com/thunderbug1/Spherebot-Host-GUI.git
synced 2026-03-12 04:46:47 +01:00
253 lines
8.9 KiB
C++
253 lines
8.9 KiB
C++
/****************************************************************************
|
|
** Meta object code from reading C++ file 'mainwindow.h'
|
|
**
|
|
** Created by: The Qt Meta Object Compiler version 67 (Qt 5.2.1)
|
|
**
|
|
** WARNING! All changes made in this file will be lost!
|
|
*****************************************************************************/
|
|
|
|
#include "../../Spherebot_UI/mainwindow.h"
|
|
#include <QtCore/qbytearray.h>
|
|
#include <QtCore/qmetatype.h>
|
|
#if !defined(Q_MOC_OUTPUT_REVISION)
|
|
#error "The header file 'mainwindow.h' doesn't include <QObject>."
|
|
#elif Q_MOC_OUTPUT_REVISION != 67
|
|
#error "This file was generated using the moc from 5.2.1. 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
|
|
struct qt_meta_stringdata_MainWindow_t {
|
|
QByteArrayData data[38];
|
|
char stringdata[771];
|
|
};
|
|
#define QT_MOC_LITERAL(idx, ofs, len) \
|
|
Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
|
|
offsetof(qt_meta_stringdata_MainWindow_t, stringdata) + ofs \
|
|
- idx * sizeof(QByteArrayData) \
|
|
)
|
|
static const qt_meta_stringdata_MainWindow_t qt_meta_stringdata_MainWindow = {
|
|
{
|
|
QT_MOC_LITERAL(0, 0, 10),
|
|
QT_MOC_LITERAL(1, 11, 11),
|
|
QT_MOC_LITERAL(2, 23, 0),
|
|
QT_MOC_LITERAL(3, 24, 10),
|
|
QT_MOC_LITERAL(4, 35, 4),
|
|
QT_MOC_LITERAL(5, 40, 20),
|
|
QT_MOC_LITERAL(6, 61, 19),
|
|
QT_MOC_LITERAL(7, 81, 5),
|
|
QT_MOC_LITERAL(8, 87, 15),
|
|
QT_MOC_LITERAL(9, 103, 13),
|
|
QT_MOC_LITERAL(10, 117, 24),
|
|
QT_MOC_LITERAL(11, 142, 13),
|
|
QT_MOC_LITERAL(12, 156, 21),
|
|
QT_MOC_LITERAL(13, 178, 22),
|
|
QT_MOC_LITERAL(14, 201, 29),
|
|
QT_MOC_LITERAL(15, 231, 26),
|
|
QT_MOC_LITERAL(16, 258, 8),
|
|
QT_MOC_LITERAL(17, 267, 28),
|
|
QT_MOC_LITERAL(18, 296, 4),
|
|
QT_MOC_LITERAL(19, 301, 25),
|
|
QT_MOC_LITERAL(20, 327, 25),
|
|
QT_MOC_LITERAL(21, 353, 30),
|
|
QT_MOC_LITERAL(22, 384, 30),
|
|
QT_MOC_LITERAL(23, 415, 25),
|
|
QT_MOC_LITERAL(24, 441, 25),
|
|
QT_MOC_LITERAL(25, 467, 27),
|
|
QT_MOC_LITERAL(26, 495, 25),
|
|
QT_MOC_LITERAL(27, 521, 35),
|
|
QT_MOC_LITERAL(28, 557, 28),
|
|
QT_MOC_LITERAL(29, 586, 21),
|
|
QT_MOC_LITERAL(30, 608, 21),
|
|
QT_MOC_LITERAL(31, 630, 29),
|
|
QT_MOC_LITERAL(32, 660, 1),
|
|
QT_MOC_LITERAL(33, 662, 29),
|
|
QT_MOC_LITERAL(34, 692, 24),
|
|
QT_MOC_LITERAL(35, 717, 19),
|
|
QT_MOC_LITERAL(36, 737, 6),
|
|
QT_MOC_LITERAL(37, 744, 25)
|
|
},
|
|
"MainWindow\0receiveData\0\0sendDataUI\0"
|
|
"data\0finishedTransmission\0refreshSendProgress\0"
|
|
"value\0fitgraphicsView\0finishedLayer\0"
|
|
"on_connectButton_clicked\0resetPortList\0"
|
|
"on_sendButton_clicked\0on_resetButton_clicked\0"
|
|
"on_sendString_editingFinished\0"
|
|
"on_servoSlider_sliderMoved\0position\0"
|
|
"on_servospinBox_valueChanged\0arg1\0"
|
|
"on_penSlider_valueChanged\0"
|
|
"on_eggSlider_valueChanged\0"
|
|
"on_penRotationBox_valueChanged\0"
|
|
"on_eggRotationBox_valueChanged\0"
|
|
"on_loadFileButton_clicked\0"
|
|
"on_saveFileButton_clicked\0"
|
|
"on_fileTextEdit_textChanged\0"
|
|
"on_sendFileButton_clicked\0"
|
|
"on_servoFeedrateSlider_valueChanged\0"
|
|
"on_setDiameterButton_clicked\0"
|
|
"on_undoButton_clicked\0on_redoButton_clicked\0"
|
|
"on_fileTextEdit_undoAvailable\0b\0"
|
|
"on_fileTextEdit_redoAvailable\0"
|
|
"on_restartButton_clicked\0interpretSentString\0"
|
|
"string\0on_sendString_textChanged\0"
|
|
};
|
|
#undef QT_MOC_LITERAL
|
|
|
|
static const uint qt_meta_data_MainWindow[] = {
|
|
|
|
// content:
|
|
7, // revision
|
|
0, // classname
|
|
0, 0, // classinfo
|
|
30, 14, // methods
|
|
0, 0, // properties
|
|
0, 0, // enums/sets
|
|
0, 0, // constructors
|
|
0, // flags
|
|
0, // signalCount
|
|
|
|
// slots: name, argc, parameters, tag, flags
|
|
1, 0, 164, 2, 0x0a,
|
|
3, 1, 165, 2, 0x0a,
|
|
5, 0, 168, 2, 0x0a,
|
|
6, 1, 169, 2, 0x0a,
|
|
8, 0, 172, 2, 0x0a,
|
|
9, 0, 173, 2, 0x0a,
|
|
10, 0, 174, 2, 0x08,
|
|
11, 0, 175, 2, 0x08,
|
|
12, 0, 176, 2, 0x08,
|
|
13, 0, 177, 2, 0x08,
|
|
14, 0, 178, 2, 0x08,
|
|
15, 1, 179, 2, 0x08,
|
|
17, 1, 182, 2, 0x08,
|
|
19, 1, 185, 2, 0x08,
|
|
20, 1, 188, 2, 0x08,
|
|
21, 1, 191, 2, 0x08,
|
|
22, 1, 194, 2, 0x08,
|
|
23, 0, 197, 2, 0x08,
|
|
24, 0, 198, 2, 0x08,
|
|
25, 0, 199, 2, 0x08,
|
|
26, 0, 200, 2, 0x08,
|
|
27, 1, 201, 2, 0x08,
|
|
28, 0, 204, 2, 0x08,
|
|
29, 0, 205, 2, 0x08,
|
|
30, 0, 206, 2, 0x08,
|
|
31, 1, 207, 2, 0x08,
|
|
33, 1, 210, 2, 0x08,
|
|
34, 0, 213, 2, 0x08,
|
|
35, 1, 214, 2, 0x08,
|
|
37, 1, 217, 2, 0x08,
|
|
|
|
// slots: parameters
|
|
QMetaType::Void,
|
|
QMetaType::Void, QMetaType::QString, 4,
|
|
QMetaType::Void,
|
|
QMetaType::Void, QMetaType::Int, 7,
|
|
QMetaType::Void,
|
|
QMetaType::Void,
|
|
QMetaType::Void,
|
|
QMetaType::Void,
|
|
QMetaType::Void,
|
|
QMetaType::Void,
|
|
QMetaType::Void,
|
|
QMetaType::Void, QMetaType::Int, 16,
|
|
QMetaType::Void, QMetaType::Int, 18,
|
|
QMetaType::Void, QMetaType::Int, 7,
|
|
QMetaType::Void, QMetaType::Int, 7,
|
|
QMetaType::Void, QMetaType::Int, 18,
|
|
QMetaType::Void, QMetaType::Int, 18,
|
|
QMetaType::Void,
|
|
QMetaType::Void,
|
|
QMetaType::Void,
|
|
QMetaType::Void,
|
|
QMetaType::Void, QMetaType::Int, 7,
|
|
QMetaType::Void,
|
|
QMetaType::Void,
|
|
QMetaType::Void,
|
|
QMetaType::Void, QMetaType::Bool, 32,
|
|
QMetaType::Void, QMetaType::Bool, 32,
|
|
QMetaType::Void,
|
|
QMetaType::Void, QMetaType::QString, 36,
|
|
QMetaType::Void, QMetaType::QString, 18,
|
|
|
|
0 // eod
|
|
};
|
|
|
|
void MainWindow::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
|
|
{
|
|
if (_c == QMetaObject::InvokeMetaMethod) {
|
|
MainWindow *_t = static_cast<MainWindow *>(_o);
|
|
switch (_id) {
|
|
case 0: _t->receiveData(); break;
|
|
case 1: _t->sendDataUI((*reinterpret_cast< QString(*)>(_a[1]))); break;
|
|
case 2: _t->finishedTransmission(); break;
|
|
case 3: _t->refreshSendProgress((*reinterpret_cast< int(*)>(_a[1]))); break;
|
|
case 4: _t->fitgraphicsView(); break;
|
|
case 5: _t->finishedLayer(); break;
|
|
case 6: _t->on_connectButton_clicked(); break;
|
|
case 7: _t->resetPortList(); break;
|
|
case 8: _t->on_sendButton_clicked(); break;
|
|
case 9: _t->on_resetButton_clicked(); break;
|
|
case 10: _t->on_sendString_editingFinished(); break;
|
|
case 11: _t->on_servoSlider_sliderMoved((*reinterpret_cast< int(*)>(_a[1]))); break;
|
|
case 12: _t->on_servospinBox_valueChanged((*reinterpret_cast< int(*)>(_a[1]))); break;
|
|
case 13: _t->on_penSlider_valueChanged((*reinterpret_cast< int(*)>(_a[1]))); break;
|
|
case 14: _t->on_eggSlider_valueChanged((*reinterpret_cast< int(*)>(_a[1]))); break;
|
|
case 15: _t->on_penRotationBox_valueChanged((*reinterpret_cast< int(*)>(_a[1]))); break;
|
|
case 16: _t->on_eggRotationBox_valueChanged((*reinterpret_cast< int(*)>(_a[1]))); break;
|
|
case 17: _t->on_loadFileButton_clicked(); break;
|
|
case 18: _t->on_saveFileButton_clicked(); break;
|
|
case 19: _t->on_fileTextEdit_textChanged(); break;
|
|
case 20: _t->on_sendFileButton_clicked(); break;
|
|
case 21: _t->on_servoFeedrateSlider_valueChanged((*reinterpret_cast< int(*)>(_a[1]))); break;
|
|
case 22: _t->on_setDiameterButton_clicked(); break;
|
|
case 23: _t->on_undoButton_clicked(); break;
|
|
case 24: _t->on_redoButton_clicked(); break;
|
|
case 25: _t->on_fileTextEdit_undoAvailable((*reinterpret_cast< bool(*)>(_a[1]))); break;
|
|
case 26: _t->on_fileTextEdit_redoAvailable((*reinterpret_cast< bool(*)>(_a[1]))); break;
|
|
case 27: _t->on_restartButton_clicked(); break;
|
|
case 28: _t->interpretSentString((*reinterpret_cast< QString(*)>(_a[1]))); break;
|
|
case 29: _t->on_sendString_textChanged((*reinterpret_cast< const QString(*)>(_a[1]))); break;
|
|
default: ;
|
|
}
|
|
}
|
|
}
|
|
|
|
const QMetaObject MainWindow::staticMetaObject = {
|
|
{ &QMainWindow::staticMetaObject, qt_meta_stringdata_MainWindow.data,
|
|
qt_meta_data_MainWindow, qt_static_metacall, 0, 0}
|
|
};
|
|
|
|
|
|
const QMetaObject *MainWindow::metaObject() const
|
|
{
|
|
return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
|
|
}
|
|
|
|
void *MainWindow::qt_metacast(const char *_clname)
|
|
{
|
|
if (!_clname) return 0;
|
|
if (!strcmp(_clname, qt_meta_stringdata_MainWindow.stringdata))
|
|
return static_cast<void*>(const_cast< MainWindow*>(this));
|
|
return QMainWindow::qt_metacast(_clname);
|
|
}
|
|
|
|
int MainWindow::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
|
|
{
|
|
_id = QMainWindow::qt_metacall(_c, _id, _a);
|
|
if (_id < 0)
|
|
return _id;
|
|
if (_c == QMetaObject::InvokeMetaMethod) {
|
|
if (_id < 30)
|
|
qt_static_metacall(this, _c, _id, _a);
|
|
_id -= 30;
|
|
} else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
|
|
if (_id < 30)
|
|
*reinterpret_cast<int*>(_a[0]) = -1;
|
|
_id -= 30;
|
|
}
|
|
return _id;
|
|
}
|
|
QT_END_MOC_NAMESPACE
|