+/****************************************************************************
+** displaywindow meta object code from reading C++ file 'displaywindow.hpp'
+**
+** Created: Sun Feb 11 21:03:19 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 "displaywindow.hpp"
+#include <qmetaobject.h>
+#include <qapplication.h>
+
+#include <private/qucomextra_p.h>
+#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 *displaywindow::className() const
+{
+ return "displaywindow";
+}
+
+QMetaObject *displaywindow::metaObj = 0;
+static QMetaObjectCleanUp cleanUp_displaywindow( "displaywindow", &displaywindow::staticMetaObject );
+
+#ifndef QT_NO_TRANSLATION
+QString displaywindow::tr( const char *s, const char *c )
+{
+ if ( qApp )
+ return qApp->translate( "displaywindow", s, c, QApplication::DefaultCodec );
+ else
+ return QString::fromLatin1( s );
+}
+#ifndef QT_NO_TRANSLATION_UTF8
+QString displaywindow::trUtf8( const char *s, const char *c )
+{
+ if ( qApp )
+ return qApp->translate( "displaywindow", s, c, QApplication::UnicodeUTF8 );
+ else
+ return QString::fromUtf8( s );
+}
+#endif // QT_NO_TRANSLATION_UTF8
+
+#endif // QT_NO_TRANSLATION
+
+QMetaObject* displaywindow::staticMetaObject()
+{
+ if ( metaObj )
+ return metaObj;
+ QMetaObject* parentObject = QWidget::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 QUParameter param_slot_3[] = {
+ { "on", &static_QUType_bool, 0, QUParameter::In }
+ };
+ static const QUMethod slot_3 = {"setGlobal", 1, param_slot_3 };
+ static const QUParameter param_slot_4[] = {
+ { "on", &static_QUType_bool, 0, QUParameter::In }
+ };
+ static const QUMethod slot_4 = {"setDifference", 1, param_slot_4 };
+ static const QUParameter param_slot_5[] = {
+ { "on", &static_QUType_bool, 0, QUParameter::In }
+ };
+ static const QUMethod slot_5 = {"setIntensity", 1, param_slot_5 };
+ static const QUParameter param_slot_6[] = {
+ { 0, &static_QUType_bool, 0, QUParameter::Out }
+ };
+ static const QUMethod slot_6 = {"isGlobalthreshs", 1, param_slot_6 };
+ static const QUMethod slot_7 = {"updateGlobalthreshs", 0, 0 };
+ static const QUMethod slot_8 = {"setGlobalthreshs", 0, 0 };
+ static const QUMethod slot_9 = {"updateLowthresh", 0, 0 };
+ static const QUParameter param_slot_10[] = {
+ { 0, &static_QUType_double, 0, QUParameter::Out }
+ };
+ static const QUMethod slot_10 = {"getLowthresh", 1, param_slot_10 };
+ static const QUMethod slot_11 = {"updateLowthreshslider", 0, 0 };
+ static const QUMethod slot_12 = {"updateHighthresh", 0, 0 };
+ static const QUParameter param_slot_13[] = {
+ { 0, &static_QUType_double, 0, QUParameter::Out }
+ };
+ static const QUMethod slot_13 = {"getHighthresh", 1, param_slot_13 };
+ static const QUMethod slot_14 = {"updateHighthreshslider", 0, 0 };
+ static const QUMethod slot_15 = {"resetImage", 0, 0 };
+ static const QUMethod slot_16 = {"resetDiffImage", 0, 0 };
+ static const QUMethod slot_17 = {"resetImageRange", 0, 0 };
+ static const QUMethod slot_18 = {"callLines", 0, 0 };
+ static const QUMethod slot_19 = {"saveImage", 0, 0 };
+ static const QUMethod slot_20 = {"closeWindow", 0, 0 };
+ static const QMetaData slot_tbl[] = {
+ { "updateClickedPixel(int,int)", &slot_0, QMetaData::Public },
+ { "updateZoom()", &slot_1, QMetaData::Public },
+ { "updateZoomslider()", &slot_2, QMetaData::Public },
+ { "setGlobal(bool)", &slot_3, QMetaData::Public },
+ { "setDifference(bool)", &slot_4, QMetaData::Public },
+ { "setIntensity(bool)", &slot_5, QMetaData::Public },
+ { "isGlobalthreshs()", &slot_6, QMetaData::Public },
+ { "updateGlobalthreshs()", &slot_7, QMetaData::Public },
+ { "setGlobalthreshs()", &slot_8, QMetaData::Public },
+ { "updateLowthresh()", &slot_9, QMetaData::Public },
+ { "getLowthresh()", &slot_10, QMetaData::Public },
+ { "updateLowthreshslider()", &slot_11, QMetaData::Public },
+ { "updateHighthresh()", &slot_12, QMetaData::Public },
+ { "getHighthresh()", &slot_13, QMetaData::Public },
+ { "updateHighthreshslider()", &slot_14, QMetaData::Public },
+ { "resetImage()", &slot_15, QMetaData::Public },
+ { "resetDiffImage()", &slot_16, QMetaData::Public },
+ { "resetImageRange()", &slot_17, QMetaData::Public },
+ { "callLines()", &slot_18, QMetaData::Public },
+ { "saveImage()", &slot_19, QMetaData::Public },
+ { "closeWindow()", &slot_20, QMetaData::Public }
+ };
+ metaObj = QMetaObject::new_metaobject(
+ "displaywindow", parentObject,
+ slot_tbl, 21,
+ 0, 0,
+#ifndef QT_NO_PROPERTIES
+ 0, 0,
+ 0, 0,
+#endif // QT_NO_PROPERTIES
+ 0, 0 );
+ cleanUp_displaywindow.setMetaObject( metaObj );
+ return metaObj;
+}
+
+void* displaywindow::qt_cast( const char* clname )
+{
+ if ( !qstrcmp( clname, "displaywindow" ) )
+ return this;
+ return QWidget::qt_cast( clname );
+}
+
+bool displaywindow::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: setGlobal((bool)static_QUType_bool.get(_o+1)); break;
+ case 4: setDifference((bool)static_QUType_bool.get(_o+1)); break;
+ case 5: setIntensity((bool)static_QUType_bool.get(_o+1)); break;
+ case 6: static_QUType_bool.set(_o,isGlobalthreshs()); break;
+ case 7: updateGlobalthreshs(); break;
+ case 8: setGlobalthreshs(); break;
+ case 9: updateLowthresh(); break;
+ case 10: static_QUType_double.set(_o,getLowthresh()); break;
+ case 11: updateLowthreshslider(); break;
+ case 12: updateHighthresh(); break;
+ case 13: static_QUType_double.set(_o,getHighthresh()); break;
+ case 14: updateHighthreshslider(); break;
+ case 15: resetImage(); break;
+ case 16: resetDiffImage(); break;
+ case 17: resetImageRange(); break;
+ case 18: callLines(); break;
+ case 19: saveImage(); break;
+ case 20: closeWindow(); break;
+ default:
+ return QWidget::qt_invoke( _id, _o );
+ }
+ return TRUE;
+}
+
+bool displaywindow::qt_emit( int _id, QUObject* _o )
+{
+ return QWidget::qt_emit(_id,_o);
+}
+#ifndef QT_NO_PROPERTIES
+
+bool displaywindow::qt_property( int id, int f, QVariant* v)
+{
+ return QWidget::qt_property( id, f, v);
+}
+
+bool displaywindow::qt_static_property( QObject* , int , int , QVariant* ){ return FALSE; }
+#endif // QT_NO_PROPERTIES