00001
00002
00003
00004
00005
00006
00007
00008
00009
00010 #include "MainWindow.h"
00011 #if !defined(Q_MOC_OUTPUT_REVISION)
00012 #error "The header file 'MainWindow.h' doesn't include <QObject>."
00013 #elif Q_MOC_OUTPUT_REVISION != 59
00014 #error "This file was generated using the moc from 4.1.4. It"
00015 #error "cannot be used with the include files from this version of Qt."
00016 #error "(The moc has changed too much.)"
00017 #endif
00018
00019 static const uint qt_meta_data_MainWindow[] = {
00020
00021
00022 1,
00023 0,
00024 0, 0,
00025 15, 10,
00026 0, 0,
00027 0, 0,
00028
00029
00030 12, 11, 11, 11, 0x05,
00031 39, 11, 11, 11, 0x05,
00032 59, 11, 11, 11, 0x05,
00033 85, 11, 11, 11, 0x05,
00034 103, 11, 11, 11, 0x05,
00035 123, 11, 11, 11, 0x05,
00036 144, 11, 11, 11, 0x05,
00037
00038
00039 166, 11, 11, 11, 0x08,
00040 177, 11, 11, 11, 0x08,
00041 194, 11, 11, 11, 0x08,
00042 219, 11, 11, 11, 0x08,
00043 243, 11, 11, 11, 0x08,
00044 272, 11, 11, 11, 0x08,
00045 290, 11, 11, 11, 0x08,
00046 309, 11, 11, 11, 0x08,
00047
00048 0
00049 };
00050
00051 static const char qt_meta_stringdata_MainWindow[] = {
00052 "MainWindow\0\0signalSnakeButtonPressed()\0signalImageOpened()\0"
00053 "signalDemoButtonPressed()\0signalInitCurve()\0signalIterationOn()\0"
00054 "signalIterationOff()\0signalIterationStep()\0slotOpen()\0"
00055 "slotZoomNormal()\0slotSnakeButtonPressed()\0slotDemoButtonPressed()\0"
00056 "slotInitCurveButtonPressed()\0slotIterationOn()\0slotIterationOff()\0"
00057 "slotIterationStep()\0"
00058 };
00059
00060 const QMetaObject MainWindow::staticMetaObject = {
00061 { &QMainWindow::staticMetaObject, qt_meta_stringdata_MainWindow,
00062 qt_meta_data_MainWindow, 0 }
00063 };
00064
00065 const QMetaObject *MainWindow::metaObject() const
00066 {
00067 return &staticMetaObject;
00068 }
00069
00070 void *MainWindow::qt_metacast(const char *_clname)
00071 {
00072 if (!_clname) return 0;
00073 if (!strcmp(_clname, qt_meta_stringdata_MainWindow))
00074 return static_cast<void*>(const_cast<MainWindow*>(this));
00075 if (!strcmp(_clname, "Ui_MainWindow"))
00076 return static_cast<Ui_MainWindow*>(const_cast<MainWindow*>(this));
00077 return QMainWindow::qt_metacast(_clname);
00078 }
00079
00080 int MainWindow::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
00081 {
00082 _id = QMainWindow::qt_metacall(_c, _id, _a);
00083 if (_id < 0)
00084 return _id;
00085 if (_c == QMetaObject::InvokeMetaMethod) {
00086 switch (_id) {
00087 case 0: signalSnakeButtonPressed(); break;
00088 case 1: signalImageOpened(); break;
00089 case 2: signalDemoButtonPressed(); break;
00090 case 3: signalInitCurve(); break;
00091 case 4: signalIterationOn(); break;
00092 case 5: signalIterationOff(); break;
00093 case 6: signalIterationStep(); break;
00094 case 7: slotOpen(); break;
00095 case 8: slotZoomNormal(); break;
00096 case 9: slotSnakeButtonPressed(); break;
00097 case 10: slotDemoButtonPressed(); break;
00098 case 11: slotInitCurveButtonPressed(); break;
00099 case 12: slotIterationOn(); break;
00100 case 13: slotIterationOff(); break;
00101 case 14: slotIterationStep(); break;
00102 }
00103 _id -= 15;
00104 }
00105 return _id;
00106 }
00107
00108
00109 void MainWindow::signalSnakeButtonPressed()
00110 {
00111 QMetaObject::activate(this, &staticMetaObject, 0, 0);
00112 }
00113
00114
00115 void MainWindow::signalImageOpened()
00116 {
00117 QMetaObject::activate(this, &staticMetaObject, 1, 0);
00118 }
00119
00120
00121 void MainWindow::signalDemoButtonPressed()
00122 {
00123 QMetaObject::activate(this, &staticMetaObject, 2, 0);
00124 }
00125
00126
00127 void MainWindow::signalInitCurve()
00128 {
00129 QMetaObject::activate(this, &staticMetaObject, 3, 0);
00130 }
00131
00132
00133 void MainWindow::signalIterationOn()
00134 {
00135 QMetaObject::activate(this, &staticMetaObject, 4, 0);
00136 }
00137
00138
00139 void MainWindow::signalIterationOff()
00140 {
00141 QMetaObject::activate(this, &staticMetaObject, 5, 0);
00142 }
00143
00144
00145 void MainWindow::signalIterationStep()
00146 {
00147 QMetaObject::activate(this, &staticMetaObject, 6, 0);
00148 }