00001
00002
00003
00004
00005
00006
00007
00008
00009 #include "../Graphics/GraphicsView.h"
00010 #include <QtCore/qbytearray.h>
00011 #include <QtCore/qmetatype.h>
00012 #if !defined(Q_MOC_OUTPUT_REVISION)
00013 #error "The header file 'GraphicsView.h' doesn't include <QObject>."
00014 #elif Q_MOC_OUTPUT_REVISION != 67
00015 #error "This file was generated using the moc from 5.6.1. It"
00016 #error "cannot be used with the include files from this version of Qt."
00017 #error "(The moc has changed too much.)"
00018 #endif
00019
00020 QT_BEGIN_MOC_NAMESPACE
00021 struct qt_meta_stringdata_GraphicsView_t {
00022 QByteArrayData data[17];
00023 char stringdata0[297];
00024 };
00025 #define QT_MOC_LITERAL(idx, ofs, len) \
00026 Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
00027 qptrdiff(offsetof(qt_meta_stringdata_GraphicsView_t, stringdata0) + ofs \
00028 - idx * sizeof(QByteArrayData)) \
00029 )
00030 static const qt_meta_stringdata_GraphicsView_t qt_meta_stringdata_GraphicsView = {
00031 {
00032 QT_MOC_LITERAL(0, 0, 12),
00033 QT_MOC_LITERAL(1, 13, 26),
00034 QT_MOC_LITERAL(2, 40, 0),
00035 QT_MOC_LITERAL(3, 41, 15),
00036 QT_MOC_LITERAL(4, 57, 27),
00037 QT_MOC_LITERAL(5, 85, 16),
00038 QT_MOC_LITERAL(6, 102, 20),
00039 QT_MOC_LITERAL(7, 123, 18),
00040 QT_MOC_LITERAL(8, 142, 21),
00041 QT_MOC_LITERAL(9, 164, 14),
00042 QT_MOC_LITERAL(10, 179, 7),
00043 QT_MOC_LITERAL(11, 187, 22),
00044 QT_MOC_LITERAL(12, 210, 15),
00045 QT_MOC_LITERAL(13, 226, 16),
00046 QT_MOC_LITERAL(14, 243, 18),
00047 QT_MOC_LITERAL(15, 262, 16),
00048 QT_MOC_LITERAL(16, 279, 17)
00049
00050 },
00051 "GraphicsView\0signalContextMenuEventAxis\0"
00052 "\0pointIdentifier\0signalContextMenuEventGraph\0"
00053 "pointIdentifiers\0signalDraggedDigFile\0"
00054 "signalDraggedImage\0signalDraggedImageUrl\0"
00055 "signalKeyPress\0Qt::Key\0atLeastOneSelectedItem\0"
00056 "signalMouseMove\0signalMousePress\0"
00057 "signalMouseRelease\0signalViewZoomIn\0"
00058 "signalViewZoomOut"
00059 };
00060 #undef QT_MOC_LITERAL
00061
00062 static const uint qt_meta_data_GraphicsView[] = {
00063
00064
00065 7,
00066 0,
00067 0, 0,
00068 11, 14,
00069 0, 0,
00070 0, 0,
00071 0, 0,
00072 0,
00073 11,
00074
00075
00076 1, 1, 69, 2, 0x06 ,
00077 4, 1, 72, 2, 0x06 ,
00078 6, 1, 75, 2, 0x06 ,
00079 7, 1, 78, 2, 0x06 ,
00080 8, 1, 81, 2, 0x06 ,
00081 9, 2, 84, 2, 0x06 ,
00082 12, 1, 89, 2, 0x06 ,
00083 13, 1, 92, 2, 0x06 ,
00084 14, 1, 95, 2, 0x06 ,
00085 15, 0, 98, 2, 0x06 ,
00086 16, 0, 99, 2, 0x06 ,
00087
00088
00089 QMetaType::Void, QMetaType::QString, 3,
00090 QMetaType::Void, QMetaType::QStringList, 5,
00091 QMetaType::Void, QMetaType::QString, 2,
00092 QMetaType::Void, QMetaType::QImage, 2,
00093 QMetaType::Void, QMetaType::QUrl, 2,
00094 QMetaType::Void, 0x80000000 | 10, QMetaType::Bool, 2, 11,
00095 QMetaType::Void, QMetaType::QPointF, 2,
00096 QMetaType::Void, QMetaType::QPointF, 2,
00097 QMetaType::Void, QMetaType::QPointF, 2,
00098 QMetaType::Void,
00099 QMetaType::Void,
00100
00101 0
00102 };
00103
00104 void GraphicsView::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
00105 {
00106 if (_c == QMetaObject::InvokeMetaMethod) {
00107 GraphicsView *_t = static_cast<GraphicsView *>(_o);
00108 Q_UNUSED(_t)
00109 switch (_id) {
00110 case 0: _t->signalContextMenuEventAxis((*reinterpret_cast< QString(*)>(_a[1]))); break;
00111 case 1: _t->signalContextMenuEventGraph((*reinterpret_cast< QStringList(*)>(_a[1]))); break;
00112 case 2: _t->signalDraggedDigFile((*reinterpret_cast< QString(*)>(_a[1]))); break;
00113 case 3: _t->signalDraggedImage((*reinterpret_cast< QImage(*)>(_a[1]))); break;
00114 case 4: _t->signalDraggedImageUrl((*reinterpret_cast< QUrl(*)>(_a[1]))); break;
00115 case 5: _t->signalKeyPress((*reinterpret_cast< Qt::Key(*)>(_a[1])),(*reinterpret_cast< bool(*)>(_a[2]))); break;
00116 case 6: _t->signalMouseMove((*reinterpret_cast< QPointF(*)>(_a[1]))); break;
00117 case 7: _t->signalMousePress((*reinterpret_cast< QPointF(*)>(_a[1]))); break;
00118 case 8: _t->signalMouseRelease((*reinterpret_cast< QPointF(*)>(_a[1]))); break;
00119 case 9: _t->signalViewZoomIn(); break;
00120 case 10: _t->signalViewZoomOut(); break;
00121 default: ;
00122 }
00123 } else if (_c == QMetaObject::IndexOfMethod) {
00124 int *result = reinterpret_cast<int *>(_a[0]);
00125 void **func = reinterpret_cast<void **>(_a[1]);
00126 {
00127 typedef void (GraphicsView::*_t)(QString );
00128 if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&GraphicsView::signalContextMenuEventAxis)) {
00129 *result = 0;
00130 return;
00131 }
00132 }
00133 {
00134 typedef void (GraphicsView::*_t)(QStringList );
00135 if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&GraphicsView::signalContextMenuEventGraph)) {
00136 *result = 1;
00137 return;
00138 }
00139 }
00140 {
00141 typedef void (GraphicsView::*_t)(QString );
00142 if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&GraphicsView::signalDraggedDigFile)) {
00143 *result = 2;
00144 return;
00145 }
00146 }
00147 {
00148 typedef void (GraphicsView::*_t)(QImage );
00149 if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&GraphicsView::signalDraggedImage)) {
00150 *result = 3;
00151 return;
00152 }
00153 }
00154 {
00155 typedef void (GraphicsView::*_t)(QUrl );
00156 if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&GraphicsView::signalDraggedImageUrl)) {
00157 *result = 4;
00158 return;
00159 }
00160 }
00161 {
00162 typedef void (GraphicsView::*_t)(Qt::Key , bool );
00163 if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&GraphicsView::signalKeyPress)) {
00164 *result = 5;
00165 return;
00166 }
00167 }
00168 {
00169 typedef void (GraphicsView::*_t)(QPointF );
00170 if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&GraphicsView::signalMouseMove)) {
00171 *result = 6;
00172 return;
00173 }
00174 }
00175 {
00176 typedef void (GraphicsView::*_t)(QPointF );
00177 if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&GraphicsView::signalMousePress)) {
00178 *result = 7;
00179 return;
00180 }
00181 }
00182 {
00183 typedef void (GraphicsView::*_t)(QPointF );
00184 if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&GraphicsView::signalMouseRelease)) {
00185 *result = 8;
00186 return;
00187 }
00188 }
00189 {
00190 typedef void (GraphicsView::*_t)();
00191 if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&GraphicsView::signalViewZoomIn)) {
00192 *result = 9;
00193 return;
00194 }
00195 }
00196 {
00197 typedef void (GraphicsView::*_t)();
00198 if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&GraphicsView::signalViewZoomOut)) {
00199 *result = 10;
00200 return;
00201 }
00202 }
00203 }
00204 }
00205
00206 const QMetaObject GraphicsView::staticMetaObject = {
00207 { &QGraphicsView::staticMetaObject, qt_meta_stringdata_GraphicsView.data,
00208 qt_meta_data_GraphicsView, qt_static_metacall, Q_NULLPTR, Q_NULLPTR}
00209 };
00210
00211
00212 const QMetaObject *GraphicsView::metaObject() const
00213 {
00214 return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
00215 }
00216
00217 void *GraphicsView::qt_metacast(const char *_clname)
00218 {
00219 if (!_clname) return Q_NULLPTR;
00220 if (!strcmp(_clname, qt_meta_stringdata_GraphicsView.stringdata0))
00221 return static_cast<void*>(const_cast< GraphicsView*>(this));
00222 return QGraphicsView::qt_metacast(_clname);
00223 }
00224
00225 int GraphicsView::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
00226 {
00227 _id = QGraphicsView::qt_metacall(_c, _id, _a);
00228 if (_id < 0)
00229 return _id;
00230 if (_c == QMetaObject::InvokeMetaMethod) {
00231 if (_id < 11)
00232 qt_static_metacall(this, _c, _id, _a);
00233 _id -= 11;
00234 } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
00235 if (_id < 11)
00236 *reinterpret_cast<int*>(_a[0]) = -1;
00237 _id -= 11;
00238 }
00239 return _id;
00240 }
00241
00242
00243 void GraphicsView::signalContextMenuEventAxis(QString _t1)
00244 {
00245 void *_a[] = { Q_NULLPTR, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
00246 QMetaObject::activate(this, &staticMetaObject, 0, _a);
00247 }
00248
00249
00250 void GraphicsView::signalContextMenuEventGraph(QStringList _t1)
00251 {
00252 void *_a[] = { Q_NULLPTR, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
00253 QMetaObject::activate(this, &staticMetaObject, 1, _a);
00254 }
00255
00256
00257 void GraphicsView::signalDraggedDigFile(QString _t1)
00258 {
00259 void *_a[] = { Q_NULLPTR, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
00260 QMetaObject::activate(this, &staticMetaObject, 2, _a);
00261 }
00262
00263
00264 void GraphicsView::signalDraggedImage(QImage _t1)
00265 {
00266 void *_a[] = { Q_NULLPTR, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
00267 QMetaObject::activate(this, &staticMetaObject, 3, _a);
00268 }
00269
00270
00271 void GraphicsView::signalDraggedImageUrl(QUrl _t1)
00272 {
00273 void *_a[] = { Q_NULLPTR, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
00274 QMetaObject::activate(this, &staticMetaObject, 4, _a);
00275 }
00276
00277
00278 void GraphicsView::signalKeyPress(Qt::Key _t1, bool _t2)
00279 {
00280 void *_a[] = { Q_NULLPTR, const_cast<void*>(reinterpret_cast<const void*>(&_t1)), const_cast<void*>(reinterpret_cast<const void*>(&_t2)) };
00281 QMetaObject::activate(this, &staticMetaObject, 5, _a);
00282 }
00283
00284
00285 void GraphicsView::signalMouseMove(QPointF _t1)
00286 {
00287 void *_a[] = { Q_NULLPTR, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
00288 QMetaObject::activate(this, &staticMetaObject, 6, _a);
00289 }
00290
00291
00292 void GraphicsView::signalMousePress(QPointF _t1)
00293 {
00294 void *_a[] = { Q_NULLPTR, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
00295 QMetaObject::activate(this, &staticMetaObject, 7, _a);
00296 }
00297
00298
00299 void GraphicsView::signalMouseRelease(QPointF _t1)
00300 {
00301 void *_a[] = { Q_NULLPTR, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
00302 QMetaObject::activate(this, &staticMetaObject, 8, _a);
00303 }
00304
00305
00306 void GraphicsView::signalViewZoomIn()
00307 {
00308 QMetaObject::activate(this, &staticMetaObject, 9, Q_NULLPTR);
00309 }
00310
00311
00312 void GraphicsView::signalViewZoomOut()
00313 {
00314 QMetaObject::activate(this, &staticMetaObject, 10, Q_NULLPTR);
00315 }
00316 QT_END_MOC_NAMESPACE