-
Notifications
You must be signed in to change notification settings - Fork 0
/
moc_mainwindow.cpp
230 lines (216 loc) · 7.88 KB
/
moc_mainwindow.cpp
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
/****************************************************************************
** Meta object code from reading C++ file 'mainwindow.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 "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.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_MainWindow_t {
QByteArrayData data[28];
char stringdata0[434];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
qptrdiff(offsetof(qt_meta_stringdata_MainWindow_t, stringdata0) + ofs \
- idx * sizeof(QByteArrayData)) \
)
static const qt_meta_stringdata_MainWindow_t qt_meta_stringdata_MainWindow = {
{
QT_MOC_LITERAL(0, 0, 10), // "MainWindow"
QT_MOC_LITERAL(1, 11, 17), // "updateAspectRatio"
QT_MOC_LITERAL(2, 29, 0), // ""
QT_MOC_LITERAL(3, 30, 15), // "settingsChanged"
QT_MOC_LITERAL(4, 46, 14), // "fileCopy3Dto2D"
QT_MOC_LITERAL(5, 61, 7), // "fileNew"
QT_MOC_LITERAL(6, 69, 8), // "fileOpen"
QT_MOC_LITERAL(7, 78, 8), // "fileSave"
QT_MOC_LITERAL(8, 87, 19), // "checkAllRayFeatures"
QT_MOC_LITERAL(9, 107, 21), // "uncheckAllRayFeatures"
QT_MOC_LITERAL(10, 129, 11), // "filterImage"
QT_MOC_LITERAL(11, 141, 11), // "renderImage"
QT_MOC_LITERAL(12, 153, 10), // "clearImage"
QT_MOC_LITERAL(13, 164, 11), // "revertImage"
QT_MOC_LITERAL(14, 176, 16), // "activateCanvas2D"
QT_MOC_LITERAL(15, 193, 16), // "activateCanvas3D"
QT_MOC_LITERAL(16, 210, 14), // "setCameraAxisX"
QT_MOC_LITERAL(17, 225, 14), // "setCameraAxisY"
QT_MOC_LITERAL(18, 240, 14), // "setCameraAxisZ"
QT_MOC_LITERAL(19, 255, 23), // "updateCameraTranslation"
QT_MOC_LITERAL(20, 279, 21), // "updateCameraRotationN"
QT_MOC_LITERAL(21, 301, 21), // "updateCameraRotationV"
QT_MOC_LITERAL(22, 323, 21), // "updateCameraRotationU"
QT_MOC_LITERAL(23, 345, 13), // "resetUpVector"
QT_MOC_LITERAL(24, 359, 12), // "resetSliders"
QT_MOC_LITERAL(25, 372, 16), // "updateCameraClip"
QT_MOC_LITERAL(26, 389, 23), // "updateCameraHeightAngle"
QT_MOC_LITERAL(27, 413, 20) // "setCameraAxonometric"
},
"MainWindow\0updateAspectRatio\0\0"
"settingsChanged\0fileCopy3Dto2D\0fileNew\0"
"fileOpen\0fileSave\0checkAllRayFeatures\0"
"uncheckAllRayFeatures\0filterImage\0"
"renderImage\0clearImage\0revertImage\0"
"activateCanvas2D\0activateCanvas3D\0"
"setCameraAxisX\0setCameraAxisY\0"
"setCameraAxisZ\0updateCameraTranslation\0"
"updateCameraRotationN\0updateCameraRotationV\0"
"updateCameraRotationU\0resetUpVector\0"
"resetSliders\0updateCameraClip\0"
"updateCameraHeightAngle\0setCameraAxonometric"
};
#undef QT_MOC_LITERAL
static const uint qt_meta_data_MainWindow[] = {
// content:
8, // revision
0, // classname
0, 0, // classinfo
26, 14, // methods
0, 0, // properties
0, 0, // enums/sets
0, 0, // constructors
0, // flags
0, // signalCount
// slots: name, argc, parameters, tag, flags
1, 0, 144, 2, 0x0a /* Public */,
3, 0, 145, 2, 0x0a /* Public */,
4, 0, 146, 2, 0x0a /* Public */,
5, 0, 147, 2, 0x0a /* Public */,
6, 0, 148, 2, 0x0a /* Public */,
7, 0, 149, 2, 0x0a /* Public */,
8, 0, 150, 2, 0x0a /* Public */,
9, 0, 151, 2, 0x0a /* Public */,
10, 0, 152, 2, 0x0a /* Public */,
11, 0, 153, 2, 0x0a /* Public */,
12, 0, 154, 2, 0x0a /* Public */,
13, 0, 155, 2, 0x0a /* Public */,
14, 0, 156, 2, 0x0a /* Public */,
15, 0, 157, 2, 0x0a /* Public */,
16, 0, 158, 2, 0x0a /* Public */,
17, 0, 159, 2, 0x0a /* Public */,
18, 0, 160, 2, 0x0a /* Public */,
19, 0, 161, 2, 0x0a /* Public */,
20, 0, 162, 2, 0x0a /* Public */,
21, 0, 163, 2, 0x0a /* Public */,
22, 0, 164, 2, 0x0a /* Public */,
23, 0, 165, 2, 0x0a /* Public */,
24, 0, 166, 2, 0x0a /* Public */,
25, 0, 167, 2, 0x0a /* Public */,
26, 0, 168, 2, 0x0a /* Public */,
27, 0, 169, 2, 0x0a /* Public */,
// slots: parameters
QMetaType::Void,
QMetaType::Void,
QMetaType::Void,
QMetaType::Void,
QMetaType::Void,
QMetaType::Void,
QMetaType::Void,
QMetaType::Void,
QMetaType::Void,
QMetaType::Void,
QMetaType::Void,
QMetaType::Void,
QMetaType::Void,
QMetaType::Void,
QMetaType::Void,
QMetaType::Void,
QMetaType::Void,
QMetaType::Void,
QMetaType::Void,
QMetaType::Void,
QMetaType::Void,
QMetaType::Void,
QMetaType::Void,
QMetaType::Void,
QMetaType::Void,
QMetaType::Void,
0 // eod
};
void MainWindow::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
if (_c == QMetaObject::InvokeMetaMethod) {
auto *_t = static_cast<MainWindow *>(_o);
Q_UNUSED(_t)
switch (_id) {
case 0: _t->updateAspectRatio(); break;
case 1: _t->settingsChanged(); break;
case 2: _t->fileCopy3Dto2D(); break;
case 3: _t->fileNew(); break;
case 4: _t->fileOpen(); break;
case 5: _t->fileSave(); break;
case 6: _t->checkAllRayFeatures(); break;
case 7: _t->uncheckAllRayFeatures(); break;
case 8: _t->filterImage(); break;
case 9: _t->renderImage(); break;
case 10: _t->clearImage(); break;
case 11: _t->revertImage(); break;
case 12: _t->activateCanvas2D(); break;
case 13: _t->activateCanvas3D(); break;
case 14: _t->setCameraAxisX(); break;
case 15: _t->setCameraAxisY(); break;
case 16: _t->setCameraAxisZ(); break;
case 17: _t->updateCameraTranslation(); break;
case 18: _t->updateCameraRotationN(); break;
case 19: _t->updateCameraRotationV(); break;
case 20: _t->updateCameraRotationU(); break;
case 21: _t->resetUpVector(); break;
case 22: _t->resetSliders(); break;
case 23: _t->updateCameraClip(); break;
case 24: _t->updateCameraHeightAngle(); break;
case 25: _t->setCameraAxonometric(); break;
default: ;
}
}
Q_UNUSED(_a);
}
QT_INIT_METAOBJECT const QMetaObject MainWindow::staticMetaObject = { {
QMetaObject::SuperData::link<QMainWindow::staticMetaObject>(),
qt_meta_stringdata_MainWindow.data,
qt_meta_data_MainWindow,
qt_static_metacall,
nullptr,
nullptr
} };
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 nullptr;
if (!strcmp(_clname, qt_meta_stringdata_MainWindow.stringdata0))
return static_cast<void*>(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 < 26)
qt_static_metacall(this, _c, _id, _a);
_id -= 26;
} else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
if (_id < 26)
*reinterpret_cast<int*>(_a[0]) = -1;
_id -= 26;
}
return _id;
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE