X-Git-Url: http://git.kpe.io/?a=blobdiff_plain;f=tools%2FDisplay%2Fmoc_displayprojection.cpp;fp=tools%2FDisplay%2Fmoc_displayprojection.cpp;h=06b1ed75c97641448c6138b6853b0c499d6c5cee;hb=aff4da5c7170bbd2b7f082ed351e6af97ae22752;hp=0000000000000000000000000000000000000000;hpb=7c0fe756b3cae52731d20e5f76d157a37a833792;p=snark14.git diff --git a/tools/Display/moc_displayprojection.cpp b/tools/Display/moc_displayprojection.cpp new file mode 100644 index 0000000..06b1ed7 --- /dev/null +++ b/tools/Display/moc_displayprojection.cpp @@ -0,0 +1,153 @@ +/**************************************************************************** +** displayprojection meta object code from reading C++ file 'displayprojection.hpp' +** +** Created: Sun Feb 11 21:03:20 2018 +** by: The Qt MOC ($Id: qt/moc_yacc.cpp 3.3.8 edited Feb 2 14:59 $) +** +** WARNING! All changes made in this file will be lost! +*****************************************************************************/ + +#undef QT_NO_COMPAT +#include "displayprojection.hpp" +#include +#include + +#include +#if !defined(Q_MOC_OUTPUT_REVISION) || (Q_MOC_OUTPUT_REVISION != 26) +#error "This file was generated using the moc from 3.3.8b. It" +#error "cannot be used with the include files from this version of Qt." +#error "(The moc has changed too much.)" +#endif + +const char *displayprojection::className() const +{ + return "displayprojection"; +} + +QMetaObject *displayprojection::metaObj = 0; +static QMetaObjectCleanUp cleanUp_displayprojection( "displayprojection", &displayprojection::staticMetaObject ); + +#ifndef QT_NO_TRANSLATION +QString displayprojection::tr( const char *s, const char *c ) +{ + if ( qApp ) + return qApp->translate( "displayprojection", s, c, QApplication::DefaultCodec ); + else + return QString::fromLatin1( s ); +} +#ifndef QT_NO_TRANSLATION_UTF8 +QString displayprojection::trUtf8( const char *s, const char *c ) +{ + if ( qApp ) + return qApp->translate( "displayprojection", s, c, QApplication::UnicodeUTF8 ); + else + return QString::fromUtf8( s ); +} +#endif // QT_NO_TRANSLATION_UTF8 + +#endif // QT_NO_TRANSLATION + +QMetaObject* displayprojection::staticMetaObject() +{ + if ( metaObj ) + return metaObj; + QMetaObject* parentObject = QDialog::staticMetaObject(); + static const QUParameter param_slot_0[] = { + { "cx", &static_QUType_int, 0, QUParameter::In }, + { "cy", &static_QUType_int, 0, QUParameter::In } + }; + static const QUMethod slot_0 = {"updateClickedPixel", 2, param_slot_0 }; + static const QUMethod slot_1 = {"updateZoom", 0, 0 }; + static const QUMethod slot_2 = {"updateZoomslider", 0, 0 }; + static const QUMethod slot_3 = {"intensity", 0, 0 }; + static const QUMethod slot_4 = {"updateLowthresh", 0, 0 }; + static const QUParameter param_slot_5[] = { + { 0, &static_QUType_double, 0, QUParameter::Out } + }; + static const QUMethod slot_5 = {"getLowthresh", 1, param_slot_5 }; + static const QUMethod slot_6 = {"updateLowthreshslider", 0, 0 }; + static const QUMethod slot_7 = {"updateHighthresh", 0, 0 }; + static const QUParameter param_slot_8[] = { + { 0, &static_QUType_double, 0, QUParameter::Out } + }; + static const QUMethod slot_8 = {"getHighthresh", 1, param_slot_8 }; + static const QUMethod slot_9 = {"updateHighthreshslider", 0, 0 }; + static const QUMethod slot_10 = {"resetscroll", 0, 0 }; + static const QUMethod slot_11 = {"resetImage", 0, 0 }; + static const QUMethod slot_12 = {"resetImageRange", 0, 0 }; + static const QUMethod slot_13 = {"callLines", 0, 0 }; + static const QUMethod slot_14 = {"saveImage", 0, 0 }; + static const QMetaData slot_tbl[] = { + { "updateClickedPixel(int,int)", &slot_0, QMetaData::Public }, + { "updateZoom()", &slot_1, QMetaData::Public }, + { "updateZoomslider()", &slot_2, QMetaData::Public }, + { "intensity()", &slot_3, QMetaData::Public }, + { "updateLowthresh()", &slot_4, QMetaData::Public }, + { "getLowthresh()", &slot_5, QMetaData::Public }, + { "updateLowthreshslider()", &slot_6, QMetaData::Public }, + { "updateHighthresh()", &slot_7, QMetaData::Public }, + { "getHighthresh()", &slot_8, QMetaData::Public }, + { "updateHighthreshslider()", &slot_9, QMetaData::Public }, + { "resetscroll()", &slot_10, QMetaData::Public }, + { "resetImage()", &slot_11, QMetaData::Public }, + { "resetImageRange()", &slot_12, QMetaData::Public }, + { "callLines()", &slot_13, QMetaData::Public }, + { "saveImage()", &slot_14, QMetaData::Public } + }; + metaObj = QMetaObject::new_metaobject( + "displayprojection", parentObject, + slot_tbl, 15, + 0, 0, +#ifndef QT_NO_PROPERTIES + 0, 0, + 0, 0, +#endif // QT_NO_PROPERTIES + 0, 0 ); + cleanUp_displayprojection.setMetaObject( metaObj ); + return metaObj; +} + +void* displayprojection::qt_cast( const char* clname ) +{ + if ( !qstrcmp( clname, "displayprojection" ) ) + return this; + return QDialog::qt_cast( clname ); +} + +bool displayprojection::qt_invoke( int _id, QUObject* _o ) +{ + switch ( _id - staticMetaObject()->slotOffset() ) { + case 0: updateClickedPixel((int)static_QUType_int.get(_o+1),(int)static_QUType_int.get(_o+2)); break; + case 1: updateZoom(); break; + case 2: updateZoomslider(); break; + case 3: intensity(); break; + case 4: updateLowthresh(); break; + case 5: static_QUType_double.set(_o,getLowthresh()); break; + case 6: updateLowthreshslider(); break; + case 7: updateHighthresh(); break; + case 8: static_QUType_double.set(_o,getHighthresh()); break; + case 9: updateHighthreshslider(); break; + case 10: resetscroll(); break; + case 11: resetImage(); break; + case 12: resetImageRange(); break; + case 13: callLines(); break; + case 14: saveImage(); break; + default: + return QDialog::qt_invoke( _id, _o ); + } + return TRUE; +} + +bool displayprojection::qt_emit( int _id, QUObject* _o ) +{ + return QDialog::qt_emit(_id,_o); +} +#ifndef QT_NO_PROPERTIES + +bool displayprojection::qt_property( int id, int f, QVariant* v) +{ + return QDialog::qt_property( id, f, v); +} + +bool displayprojection::qt_static_property( QObject* , int , int , QVariant* ){ return FALSE; } +#endif // QT_NO_PROPERTIES