1 /****************************************************************************
2 ** displaywindow meta object code from reading C++ file 'displaywindow.hpp'
4 ** Created: Sun Feb 11 21:03:19 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 "displaywindow.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 *displaywindow::className() const
24 return "displaywindow";
27 QMetaObject *displaywindow::metaObj = 0;
28 static QMetaObjectCleanUp cleanUp_displaywindow( "displaywindow", &displaywindow::staticMetaObject );
30 #ifndef QT_NO_TRANSLATION
31 QString displaywindow::tr( const char *s, const char *c )
34 return qApp->translate( "displaywindow", s, c, QApplication::DefaultCodec );
36 return QString::fromLatin1( s );
38 #ifndef QT_NO_TRANSLATION_UTF8
39 QString displaywindow::trUtf8( const char *s, const char *c )
42 return qApp->translate( "displaywindow", s, c, QApplication::UnicodeUTF8 );
44 return QString::fromUtf8( s );
46 #endif // QT_NO_TRANSLATION_UTF8
48 #endif // QT_NO_TRANSLATION
50 QMetaObject* displaywindow::staticMetaObject()
54 QMetaObject* parentObject = QWidget::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 QUParameter param_slot_3[] = {
63 { "on", &static_QUType_bool, 0, QUParameter::In }
65 static const QUMethod slot_3 = {"setGlobal", 1, param_slot_3 };
66 static const QUParameter param_slot_4[] = {
67 { "on", &static_QUType_bool, 0, QUParameter::In }
69 static const QUMethod slot_4 = {"setDifference", 1, param_slot_4 };
70 static const QUParameter param_slot_5[] = {
71 { "on", &static_QUType_bool, 0, QUParameter::In }
73 static const QUMethod slot_5 = {"setIntensity", 1, param_slot_5 };
74 static const QUParameter param_slot_6[] = {
75 { 0, &static_QUType_bool, 0, QUParameter::Out }
77 static const QUMethod slot_6 = {"isGlobalthreshs", 1, param_slot_6 };
78 static const QUMethod slot_7 = {"updateGlobalthreshs", 0, 0 };
79 static const QUMethod slot_8 = {"setGlobalthreshs", 0, 0 };
80 static const QUMethod slot_9 = {"updateLowthresh", 0, 0 };
81 static const QUParameter param_slot_10[] = {
82 { 0, &static_QUType_double, 0, QUParameter::Out }
84 static const QUMethod slot_10 = {"getLowthresh", 1, param_slot_10 };
85 static const QUMethod slot_11 = {"updateLowthreshslider", 0, 0 };
86 static const QUMethod slot_12 = {"updateHighthresh", 0, 0 };
87 static const QUParameter param_slot_13[] = {
88 { 0, &static_QUType_double, 0, QUParameter::Out }
90 static const QUMethod slot_13 = {"getHighthresh", 1, param_slot_13 };
91 static const QUMethod slot_14 = {"updateHighthreshslider", 0, 0 };
92 static const QUMethod slot_15 = {"resetImage", 0, 0 };
93 static const QUMethod slot_16 = {"resetDiffImage", 0, 0 };
94 static const QUMethod slot_17 = {"resetImageRange", 0, 0 };
95 static const QUMethod slot_18 = {"callLines", 0, 0 };
96 static const QUMethod slot_19 = {"saveImage", 0, 0 };
97 static const QUMethod slot_20 = {"closeWindow", 0, 0 };
98 static const QMetaData slot_tbl[] = {
99 { "updateClickedPixel(int,int)", &slot_0, QMetaData::Public },
100 { "updateZoom()", &slot_1, QMetaData::Public },
101 { "updateZoomslider()", &slot_2, QMetaData::Public },
102 { "setGlobal(bool)", &slot_3, QMetaData::Public },
103 { "setDifference(bool)", &slot_4, QMetaData::Public },
104 { "setIntensity(bool)", &slot_5, QMetaData::Public },
105 { "isGlobalthreshs()", &slot_6, QMetaData::Public },
106 { "updateGlobalthreshs()", &slot_7, QMetaData::Public },
107 { "setGlobalthreshs()", &slot_8, QMetaData::Public },
108 { "updateLowthresh()", &slot_9, QMetaData::Public },
109 { "getLowthresh()", &slot_10, QMetaData::Public },
110 { "updateLowthreshslider()", &slot_11, QMetaData::Public },
111 { "updateHighthresh()", &slot_12, QMetaData::Public },
112 { "getHighthresh()", &slot_13, QMetaData::Public },
113 { "updateHighthreshslider()", &slot_14, QMetaData::Public },
114 { "resetImage()", &slot_15, QMetaData::Public },
115 { "resetDiffImage()", &slot_16, QMetaData::Public },
116 { "resetImageRange()", &slot_17, QMetaData::Public },
117 { "callLines()", &slot_18, QMetaData::Public },
118 { "saveImage()", &slot_19, QMetaData::Public },
119 { "closeWindow()", &slot_20, QMetaData::Public }
121 metaObj = QMetaObject::new_metaobject(
122 "displaywindow", parentObject,
125 #ifndef QT_NO_PROPERTIES
128 #endif // QT_NO_PROPERTIES
130 cleanUp_displaywindow.setMetaObject( metaObj );
134 void* displaywindow::qt_cast( const char* clname )
136 if ( !qstrcmp( clname, "displaywindow" ) )
138 return QWidget::qt_cast( clname );
141 bool displaywindow::qt_invoke( int _id, QUObject* _o )
143 switch ( _id - staticMetaObject()->slotOffset() ) {
144 case 0: updateClickedPixel((int)static_QUType_int.get(_o+1),(int)static_QUType_int.get(_o+2)); break;
145 case 1: updateZoom(); break;
146 case 2: updateZoomslider(); break;
147 case 3: setGlobal((bool)static_QUType_bool.get(_o+1)); break;
148 case 4: setDifference((bool)static_QUType_bool.get(_o+1)); break;
149 case 5: setIntensity((bool)static_QUType_bool.get(_o+1)); break;
150 case 6: static_QUType_bool.set(_o,isGlobalthreshs()); break;
151 case 7: updateGlobalthreshs(); break;
152 case 8: setGlobalthreshs(); break;
153 case 9: updateLowthresh(); break;
154 case 10: static_QUType_double.set(_o,getLowthresh()); break;
155 case 11: updateLowthreshslider(); break;
156 case 12: updateHighthresh(); break;
157 case 13: static_QUType_double.set(_o,getHighthresh()); break;
158 case 14: updateHighthreshslider(); break;
159 case 15: resetImage(); break;
160 case 16: resetDiffImage(); break;
161 case 17: resetImageRange(); break;
162 case 18: callLines(); break;
163 case 19: saveImage(); break;
164 case 20: closeWindow(); break;
166 return QWidget::qt_invoke( _id, _o );
171 bool displaywindow::qt_emit( int _id, QUObject* _o )
173 return QWidget::qt_emit(_id,_o);
175 #ifndef QT_NO_PROPERTIES
177 bool displaywindow::qt_property( int id, int f, QVariant* v)
179 return QWidget::qt_property( id, f, v);
182 bool displaywindow::qt_static_property( QObject* , int , int , QVariant* ){ return FALSE; }
183 #endif // QT_NO_PROPERTIES