1 /****************************************************************************
2 ** displayprojection meta object code from reading C++ file 'displayprojection.hpp'
4 ** Created: Sun Feb 11 21:03:20 2018
5 ** by: The Qt MOC ($Id: qt/moc_yacc.cpp 3.3.8 edited Feb 2 14:59 $)
7 ** WARNING! All changes made in this file will be lost!
8 *****************************************************************************/
11 #include "displayprojection.hpp"
12 #include <qmetaobject.h>
13 #include <qapplication.h>
15 #include <private/qucomextra_p.h>
16 #if !defined(Q_MOC_OUTPUT_REVISION) || (Q_MOC_OUTPUT_REVISION != 26)
17 #error "This file was generated using the moc from 3.3.8b. It"
18 #error "cannot be used with the include files from this version of Qt."
19 #error "(The moc has changed too much.)"
22 const char *displayprojection::className() const
24 return "displayprojection";
27 QMetaObject *displayprojection::metaObj = 0;
28 static QMetaObjectCleanUp cleanUp_displayprojection( "displayprojection", &displayprojection::staticMetaObject );
30 #ifndef QT_NO_TRANSLATION
31 QString displayprojection::tr( const char *s, const char *c )
34 return qApp->translate( "displayprojection", s, c, QApplication::DefaultCodec );
36 return QString::fromLatin1( s );
38 #ifndef QT_NO_TRANSLATION_UTF8
39 QString displayprojection::trUtf8( const char *s, const char *c )
42 return qApp->translate( "displayprojection", s, c, QApplication::UnicodeUTF8 );
44 return QString::fromUtf8( s );
46 #endif // QT_NO_TRANSLATION_UTF8
48 #endif // QT_NO_TRANSLATION
50 QMetaObject* displayprojection::staticMetaObject()
54 QMetaObject* parentObject = QDialog::staticMetaObject();
55 static const QUParameter param_slot_0[] = {
56 { "cx", &static_QUType_int, 0, QUParameter::In },
57 { "cy", &static_QUType_int, 0, QUParameter::In }
59 static const QUMethod slot_0 = {"updateClickedPixel", 2, param_slot_0 };
60 static const QUMethod slot_1 = {"updateZoom", 0, 0 };
61 static const QUMethod slot_2 = {"updateZoomslider", 0, 0 };
62 static const QUMethod slot_3 = {"intensity", 0, 0 };
63 static const QUMethod slot_4 = {"updateLowthresh", 0, 0 };
64 static const QUParameter param_slot_5[] = {
65 { 0, &static_QUType_double, 0, QUParameter::Out }
67 static const QUMethod slot_5 = {"getLowthresh", 1, param_slot_5 };
68 static const QUMethod slot_6 = {"updateLowthreshslider", 0, 0 };
69 static const QUMethod slot_7 = {"updateHighthresh", 0, 0 };
70 static const QUParameter param_slot_8[] = {
71 { 0, &static_QUType_double, 0, QUParameter::Out }
73 static const QUMethod slot_8 = {"getHighthresh", 1, param_slot_8 };
74 static const QUMethod slot_9 = {"updateHighthreshslider", 0, 0 };
75 static const QUMethod slot_10 = {"resetscroll", 0, 0 };
76 static const QUMethod slot_11 = {"resetImage", 0, 0 };
77 static const QUMethod slot_12 = {"resetImageRange", 0, 0 };
78 static const QUMethod slot_13 = {"callLines", 0, 0 };
79 static const QUMethod slot_14 = {"saveImage", 0, 0 };
80 static const QMetaData slot_tbl[] = {
81 { "updateClickedPixel(int,int)", &slot_0, QMetaData::Public },
82 { "updateZoom()", &slot_1, QMetaData::Public },
83 { "updateZoomslider()", &slot_2, QMetaData::Public },
84 { "intensity()", &slot_3, QMetaData::Public },
85 { "updateLowthresh()", &slot_4, QMetaData::Public },
86 { "getLowthresh()", &slot_5, QMetaData::Public },
87 { "updateLowthreshslider()", &slot_6, QMetaData::Public },
88 { "updateHighthresh()", &slot_7, QMetaData::Public },
89 { "getHighthresh()", &slot_8, QMetaData::Public },
90 { "updateHighthreshslider()", &slot_9, QMetaData::Public },
91 { "resetscroll()", &slot_10, QMetaData::Public },
92 { "resetImage()", &slot_11, QMetaData::Public },
93 { "resetImageRange()", &slot_12, QMetaData::Public },
94 { "callLines()", &slot_13, QMetaData::Public },
95 { "saveImage()", &slot_14, QMetaData::Public }
97 metaObj = QMetaObject::new_metaobject(
98 "displayprojection", parentObject,
101 #ifndef QT_NO_PROPERTIES
104 #endif // QT_NO_PROPERTIES
106 cleanUp_displayprojection.setMetaObject( metaObj );
110 void* displayprojection::qt_cast( const char* clname )
112 if ( !qstrcmp( clname, "displayprojection" ) )
114 return QDialog::qt_cast( clname );
117 bool displayprojection::qt_invoke( int _id, QUObject* _o )
119 switch ( _id - staticMetaObject()->slotOffset() ) {
120 case 0: updateClickedPixel((int)static_QUType_int.get(_o+1),(int)static_QUType_int.get(_o+2)); break;
121 case 1: updateZoom(); break;
122 case 2: updateZoomslider(); break;
123 case 3: intensity(); break;
124 case 4: updateLowthresh(); break;
125 case 5: static_QUType_double.set(_o,getLowthresh()); break;
126 case 6: updateLowthreshslider(); break;
127 case 7: updateHighthresh(); break;
128 case 8: static_QUType_double.set(_o,getHighthresh()); break;
129 case 9: updateHighthreshslider(); break;
130 case 10: resetscroll(); break;
131 case 11: resetImage(); break;
132 case 12: resetImageRange(); break;
133 case 13: callLines(); break;
134 case 14: saveImage(); break;
136 return QDialog::qt_invoke( _id, _o );
141 bool displayprojection::qt_emit( int _id, QUObject* _o )
143 return QDialog::qt_emit(_id,_o);
145 #ifndef QT_NO_PROPERTIES
147 bool displayprojection::qt_property( int id, int f, QVariant* v)
149 return QDialog::qt_property( id, f, v);
152 bool displayprojection::qt_static_property( QObject* , int , int , QVariant* ){ return FALSE; }
153 #endif // QT_NO_PROPERTIES