diff --git a/src/main_window.cpp b/src/main_window.cpp index 1e8a077..e432518 100644 --- a/src/main_window.cpp +++ b/src/main_window.cpp @@ -641,7 +641,6 @@ void AC_MainWindow::clear_subfilter() { playback->setVector(v); Log(tr("Cleared SubFilter")); } - playback->setSubFilter_(-1); } void AC_MainWindow::clear_img() { diff --git a/src/moc_chroma_window.cpp b/src/moc_chroma_window.cpp new file mode 100644 index 0000000..6fed4cb --- /dev/null +++ b/src/moc_chroma_window.cpp @@ -0,0 +1,184 @@ +/**************************************************************************** +** Meta object code from reading C++ file 'chroma_window.h' +** +** Created by: The Qt Meta Object Compiler version 68 (Qt 6.1.2) +** +** WARNING! All changes made in this file will be lost! +*****************************************************************************/ + +#include +#include "chroma_window.h" +#include +#include +#include +#if !defined(Q_MOC_OUTPUT_REVISION) +#error "The header file 'chroma_window.h' doesn't include ." +#elif Q_MOC_OUTPUT_REVISION != 68 +#error "This file was generated using the moc from 6.1.2. It" +#error "cannot be used with the include files from this version of Qt." +#error "(The moc has changed too much.)" +#endif + +QT_BEGIN_MOC_NAMESPACE +QT_WARNING_PUSH +QT_WARNING_DISABLE_DEPRECATED +struct qt_meta_stringdata_ChromaWindow_t { + const uint offsetsAndSize[36]; + char stringdata0[214]; +}; +#define QT_MOC_LITERAL(ofs, len) \ + uint(offsetof(qt_meta_stringdata_ChromaWindow_t, stringdata0) + ofs), len +static const qt_meta_stringdata_ChromaWindow_t qt_meta_stringdata_ChromaWindow = { + { +QT_MOC_LITERAL(0, 12), // "ChromaWindow" +QT_MOC_LITERAL(13, 20), // "openColorSelectRange" +QT_MOC_LITERAL(34, 0), // "" +QT_MOC_LITERAL(35, 24), // "openColorSelectTolerance" +QT_MOC_LITERAL(60, 8), // "colorAdd" +QT_MOC_LITERAL(69, 11), // "colorRemove" +QT_MOC_LITERAL(81, 8), // "colorSet" +QT_MOC_LITERAL(90, 11), // "setColorLow" +QT_MOC_LITERAL(102, 12), // "setColorHigh" +QT_MOC_LITERAL(115, 8), // "setImage" +QT_MOC_LITERAL(124, 9), // "toggleKey" +QT_MOC_LITERAL(134, 11), // "editSetLowB" +QT_MOC_LITERAL(146, 4), // "text" +QT_MOC_LITERAL(151, 11), // "editSetLowG" +QT_MOC_LITERAL(163, 11), // "editSetLowR" +QT_MOC_LITERAL(175, 12), // "editSetHighB" +QT_MOC_LITERAL(188, 12), // "editSetHighG" +QT_MOC_LITERAL(201, 12) // "editSetHighR" + + }, + "ChromaWindow\0openColorSelectRange\0\0" + "openColorSelectTolerance\0colorAdd\0" + "colorRemove\0colorSet\0setColorLow\0" + "setColorHigh\0setImage\0toggleKey\0" + "editSetLowB\0text\0editSetLowG\0editSetLowR\0" + "editSetHighB\0editSetHighG\0editSetHighR" +}; +#undef QT_MOC_LITERAL + +static const uint qt_meta_data_ChromaWindow[] = { + + // content: + 9, // revision + 0, // classname + 0, 0, // classinfo + 15, 14, // methods + 0, 0, // properties + 0, 0, // enums/sets + 0, 0, // constructors + 0, // flags + 0, // signalCount + + // slots: name, argc, parameters, tag, flags, initial metatype offsets + 1, 0, 104, 2, 0x0a, 0 /* Public */, + 3, 0, 105, 2, 0x0a, 1 /* Public */, + 4, 0, 106, 2, 0x0a, 2 /* Public */, + 5, 0, 107, 2, 0x0a, 3 /* Public */, + 6, 0, 108, 2, 0x0a, 4 /* Public */, + 7, 0, 109, 2, 0x0a, 5 /* Public */, + 8, 0, 110, 2, 0x0a, 6 /* Public */, + 9, 0, 111, 2, 0x0a, 7 /* Public */, + 10, 0, 112, 2, 0x0a, 8 /* Public */, + 11, 1, 113, 2, 0x0a, 9 /* Public */, + 13, 1, 116, 2, 0x0a, 11 /* Public */, + 14, 1, 119, 2, 0x0a, 13 /* Public */, + 15, 1, 122, 2, 0x0a, 15 /* Public */, + 16, 1, 125, 2, 0x0a, 17 /* Public */, + 17, 1, 128, 2, 0x0a, 19 /* Public */, + + // slots: parameters + QMetaType::Void, + QMetaType::Void, + QMetaType::Void, + QMetaType::Void, + QMetaType::Void, + QMetaType::Void, + QMetaType::Void, + QMetaType::Void, + QMetaType::Void, + QMetaType::Void, QMetaType::QString, 12, + QMetaType::Void, QMetaType::QString, 12, + QMetaType::Void, QMetaType::QString, 12, + QMetaType::Void, QMetaType::QString, 12, + QMetaType::Void, QMetaType::QString, 12, + QMetaType::Void, QMetaType::QString, 12, + + 0 // eod +}; + +void ChromaWindow::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a) +{ + if (_c == QMetaObject::InvokeMetaMethod) { + auto *_t = static_cast(_o); + (void)_t; + switch (_id) { + case 0: _t->openColorSelectRange(); break; + case 1: _t->openColorSelectTolerance(); break; + case 2: _t->colorAdd(); break; + case 3: _t->colorRemove(); break; + case 4: _t->colorSet(); break; + case 5: _t->setColorLow(); break; + case 6: _t->setColorHigh(); break; + case 7: _t->setImage(); break; + case 8: _t->toggleKey(); break; + case 9: _t->editSetLowB((*reinterpret_cast< const QString(*)>(_a[1]))); break; + case 10: _t->editSetLowG((*reinterpret_cast< const QString(*)>(_a[1]))); break; + case 11: _t->editSetLowR((*reinterpret_cast< const QString(*)>(_a[1]))); break; + case 12: _t->editSetHighB((*reinterpret_cast< const QString(*)>(_a[1]))); break; + case 13: _t->editSetHighG((*reinterpret_cast< const QString(*)>(_a[1]))); break; + case 14: _t->editSetHighR((*reinterpret_cast< const QString(*)>(_a[1]))); break; + default: ; + } + } +} + +const QMetaObject ChromaWindow::staticMetaObject = { { + QMetaObject::SuperData::link(), + qt_meta_stringdata_ChromaWindow.offsetsAndSize, + qt_meta_data_ChromaWindow, + qt_static_metacall, + nullptr, +qt_incomplete_metaTypeArray, QtPrivate::TypeAndForceComplete, QtPrivate::TypeAndForceComplete, QtPrivate::TypeAndForceComplete, QtPrivate::TypeAndForceComplete, QtPrivate::TypeAndForceComplete, QtPrivate::TypeAndForceComplete, QtPrivate::TypeAndForceComplete, QtPrivate::TypeAndForceComplete, QtPrivate::TypeAndForceComplete, QtPrivate::TypeAndForceComplete, QtPrivate::TypeAndForceComplete, QtPrivate::TypeAndForceComplete, QtPrivate::TypeAndForceComplete, QtPrivate::TypeAndForceComplete, QtPrivate::TypeAndForceComplete, QtPrivate::TypeAndForceComplete, QtPrivate::TypeAndForceComplete, QtPrivate::TypeAndForceComplete, QtPrivate::TypeAndForceComplete, QtPrivate::TypeAndForceComplete + + +>, + nullptr +} }; + + +const QMetaObject *ChromaWindow::metaObject() const +{ + return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject; +} + +void *ChromaWindow::qt_metacast(const char *_clname) +{ + if (!_clname) return nullptr; + if (!strcmp(_clname, qt_meta_stringdata_ChromaWindow.stringdata0)) + return static_cast(this); + return QDialog::qt_metacast(_clname); +} + +int ChromaWindow::qt_metacall(QMetaObject::Call _c, int _id, void **_a) +{ + _id = QDialog::qt_metacall(_c, _id, _a); + if (_id < 0) + return _id; + if (_c == QMetaObject::InvokeMetaMethod) { + if (_id < 15) + qt_static_metacall(this, _c, _id, _a); + _id -= 15; + } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) { + if (_id < 15) + *reinterpret_cast(_a[0]) = QMetaType(); + _id -= 15; + } + return _id; +} +QT_WARNING_POP +QT_END_MOC_NAMESPACE diff --git a/src/moc_color_range.cpp b/src/moc_color_range.cpp new file mode 100644 index 0000000..812b36b --- /dev/null +++ b/src/moc_color_range.cpp @@ -0,0 +1,132 @@ +/**************************************************************************** +** Meta object code from reading C++ file 'color_range.h' +** +** Created by: The Qt Meta Object Compiler version 68 (Qt 6.1.2) +** +** WARNING! All changes made in this file will be lost! +*****************************************************************************/ + +#include +#include "color_range.h" +#include +#include +#include +#if !defined(Q_MOC_OUTPUT_REVISION) +#error "The header file 'color_range.h' doesn't include ." +#elif Q_MOC_OUTPUT_REVISION != 68 +#error "This file was generated using the moc from 6.1.2. It" +#error "cannot be used with the include files from this version of Qt." +#error "(The moc has changed too much.)" +#endif + +QT_BEGIN_MOC_NAMESPACE +QT_WARNING_PUSH +QT_WARNING_DISABLE_DEPRECATED +struct qt_meta_stringdata_ColorRangeWindow_t { + const uint offsetsAndSize[10]; + char stringdata0[54]; +}; +#define QT_MOC_LITERAL(ofs, len) \ + uint(offsetof(qt_meta_stringdata_ColorRangeWindow_t, stringdata0) + ofs), len +static const qt_meta_stringdata_ColorRangeWindow_t qt_meta_stringdata_ColorRangeWindow = { + { +QT_MOC_LITERAL(0, 16), // "ColorRangeWindow" +QT_MOC_LITERAL(17, 12), // "selectColor1" +QT_MOC_LITERAL(30, 0), // "" +QT_MOC_LITERAL(31, 12), // "selectColor2" +QT_MOC_LITERAL(44, 9) // "setValues" + + }, + "ColorRangeWindow\0selectColor1\0\0" + "selectColor2\0setValues" +}; +#undef QT_MOC_LITERAL + +static const uint qt_meta_data_ColorRangeWindow[] = { + + // content: + 9, // revision + 0, // classname + 0, 0, // classinfo + 3, 14, // methods + 0, 0, // properties + 0, 0, // enums/sets + 0, 0, // constructors + 0, // flags + 0, // signalCount + + // slots: name, argc, parameters, tag, flags, initial metatype offsets + 1, 0, 32, 2, 0x0a, 0 /* Public */, + 3, 0, 33, 2, 0x0a, 1 /* Public */, + 4, 0, 34, 2, 0x0a, 2 /* Public */, + + // slots: parameters + QMetaType::Void, + QMetaType::Void, + QMetaType::Void, + + 0 // eod +}; + +void ColorRangeWindow::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a) +{ + if (_c == QMetaObject::InvokeMetaMethod) { + auto *_t = static_cast(_o); + (void)_t; + switch (_id) { + case 0: _t->selectColor1(); break; + case 1: _t->selectColor2(); break; + case 2: _t->setValues(); break; + default: ; + } + } + (void)_a; +} + +const QMetaObject ColorRangeWindow::staticMetaObject = { { + QMetaObject::SuperData::link(), + qt_meta_stringdata_ColorRangeWindow.offsetsAndSize, + qt_meta_data_ColorRangeWindow, + qt_static_metacall, + nullptr, +qt_incomplete_metaTypeArray, QtPrivate::TypeAndForceComplete, QtPrivate::TypeAndForceComplete + + +>, + nullptr +} }; + + +const QMetaObject *ColorRangeWindow::metaObject() const +{ + return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject; +} + +void *ColorRangeWindow::qt_metacast(const char *_clname) +{ + if (!_clname) return nullptr; + if (!strcmp(_clname, qt_meta_stringdata_ColorRangeWindow.stringdata0)) + return static_cast(this); + return QDialog::qt_metacast(_clname); +} + +int ColorRangeWindow::qt_metacall(QMetaObject::Call _c, int _id, void **_a) +{ + _id = QDialog::qt_metacall(_c, _id, _a); + if (_id < 0) + return _id; + if (_c == QMetaObject::InvokeMetaMethod) { + if (_id < 3) + qt_static_metacall(this, _c, _id, _a); + _id -= 3; + } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) { + if (_id < 3) + *reinterpret_cast(_a[0]) = QMetaType(); + _id -= 3; + } + return _id; +} +QT_WARNING_POP +QT_END_MOC_NAMESPACE diff --git a/src/moc_display_window.cpp b/src/moc_display_window.cpp new file mode 100644 index 0000000..f6b1451 --- /dev/null +++ b/src/moc_display_window.cpp @@ -0,0 +1,94 @@ +/**************************************************************************** +** Meta object code from reading C++ file 'display_window.h' +** +** Created by: The Qt Meta Object Compiler version 68 (Qt 6.1.2) +** +** WARNING! All changes made in this file will be lost! +*****************************************************************************/ + +#include +#include "display_window.h" +#include +#include +#include +#if !defined(Q_MOC_OUTPUT_REVISION) +#error "The header file 'display_window.h' doesn't include ." +#elif Q_MOC_OUTPUT_REVISION != 68 +#error "This file was generated using the moc from 6.1.2. It" +#error "cannot be used with the include files from this version of Qt." +#error "(The moc has changed too much.)" +#endif + +QT_BEGIN_MOC_NAMESPACE +QT_WARNING_PUSH +QT_WARNING_DISABLE_DEPRECATED +struct qt_meta_stringdata_DisplayWindow_t { + const uint offsetsAndSize[2]; + char stringdata0[14]; +}; +#define QT_MOC_LITERAL(ofs, len) \ + uint(offsetof(qt_meta_stringdata_DisplayWindow_t, stringdata0) + ofs), len +static const qt_meta_stringdata_DisplayWindow_t qt_meta_stringdata_DisplayWindow = { + { +QT_MOC_LITERAL(0, 13) // "DisplayWindow" + + }, + "DisplayWindow" +}; +#undef QT_MOC_LITERAL + +static const uint qt_meta_data_DisplayWindow[] = { + + // content: + 9, // revision + 0, // classname + 0, 0, // classinfo + 0, 0, // methods + 0, 0, // properties + 0, 0, // enums/sets + 0, 0, // constructors + 0, // flags + 0, // signalCount + + 0 // eod +}; + +void DisplayWindow::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a) +{ + (void)_o; + (void)_id; + (void)_c; + (void)_a; +} + +const QMetaObject DisplayWindow::staticMetaObject = { { + QMetaObject::SuperData::link(), + qt_meta_stringdata_DisplayWindow.offsetsAndSize, + qt_meta_data_DisplayWindow, + qt_static_metacall, + nullptr, + nullptr, + nullptr +} }; + + +const QMetaObject *DisplayWindow::metaObject() const +{ + return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject; +} + +void *DisplayWindow::qt_metacast(const char *_clname) +{ + if (!_clname) return nullptr; + if (!strcmp(_clname, qt_meta_stringdata_DisplayWindow.stringdata0)) + return static_cast(this); + return QDialog::qt_metacast(_clname); +} + +int DisplayWindow::qt_metacall(QMetaObject::Call _c, int _id, void **_a) +{ + _id = QDialog::qt_metacall(_c, _id, _a); + return _id; +} +QT_WARNING_POP +QT_END_MOC_NAMESPACE diff --git a/src/moc_dl-man.cpp b/src/moc_dl-man.cpp new file mode 100644 index 0000000..3706112 --- /dev/null +++ b/src/moc_dl-man.cpp @@ -0,0 +1,155 @@ +/**************************************************************************** +** Meta object code from reading C++ file 'dl-man.h' +** +** Created by: The Qt Meta Object Compiler version 68 (Qt 6.1.2) +** +** WARNING! All changes made in this file will be lost! +*****************************************************************************/ + +#include +#include "dl-man.h" +#include +#include +#include +#include +#if !defined(Q_MOC_OUTPUT_REVISION) +#error "The header file 'dl-man.h' doesn't include ." +#elif Q_MOC_OUTPUT_REVISION != 68 +#error "This file was generated using the moc from 6.1.2. It" +#error "cannot be used with the include files from this version of Qt." +#error "(The moc has changed too much.)" +#endif + +QT_BEGIN_MOC_NAMESPACE +QT_WARNING_PUSH +QT_WARNING_DISABLE_DEPRECATED +struct qt_meta_stringdata_DownloadManager_t { + const uint offsetsAndSize[18]; + char stringdata0[97]; +}; +#define QT_MOC_LITERAL(ofs, len) \ + uint(offsetof(qt_meta_stringdata_DownloadManager_t, stringdata0) + ofs), len +static const qt_meta_stringdata_DownloadManager_t qt_meta_stringdata_DownloadManager = { + { +QT_MOC_LITERAL(0, 15), // "DownloadManager" +QT_MOC_LITERAL(16, 7), // "execute" +QT_MOC_LITERAL(24, 0), // "" +QT_MOC_LITERAL(25, 16), // "downloadFinished" +QT_MOC_LITERAL(42, 14), // "QNetworkReply*" +QT_MOC_LITERAL(57, 5), // "reply" +QT_MOC_LITERAL(63, 9), // "sslErrors" +QT_MOC_LITERAL(73, 16), // "QList" +QT_MOC_LITERAL(90, 6) // "errors" + + }, + "DownloadManager\0execute\0\0downloadFinished\0" + "QNetworkReply*\0reply\0sslErrors\0" + "QList\0errors" +}; +#undef QT_MOC_LITERAL + +static const uint qt_meta_data_DownloadManager[] = { + + // content: + 9, // revision + 0, // classname + 0, 0, // classinfo + 3, 14, // methods + 0, 0, // properties + 0, 0, // enums/sets + 0, 0, // constructors + 0, // flags + 0, // signalCount + + // slots: name, argc, parameters, tag, flags, initial metatype offsets + 1, 0, 32, 2, 0x0a, 0 /* Public */, + 3, 1, 33, 2, 0x0a, 1 /* Public */, + 6, 1, 36, 2, 0x0a, 3 /* Public */, + + // slots: parameters + QMetaType::Void, + QMetaType::Void, 0x80000000 | 4, 5, + QMetaType::Void, 0x80000000 | 7, 8, + + 0 // eod +}; + +void DownloadManager::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a) +{ + if (_c == QMetaObject::InvokeMetaMethod) { + auto *_t = static_cast(_o); + (void)_t; + switch (_id) { + case 0: _t->execute(); break; + case 1: _t->downloadFinished((*reinterpret_cast< QNetworkReply*(*)>(_a[1]))); break; + case 2: _t->sslErrors((*reinterpret_cast< const QList(*)>(_a[1]))); break; + default: ; + } + } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) { + switch (_id) { + default: *reinterpret_cast(_a[0]) = QMetaType(); break; + case 1: + switch (*reinterpret_cast(_a[1])) { + default: *reinterpret_cast(_a[0]) = QMetaType(); break; + case 0: + *reinterpret_cast(_a[0]) = QMetaType::fromType< QNetworkReply* >(); break; + } + break; + case 2: + switch (*reinterpret_cast(_a[1])) { + default: *reinterpret_cast(_a[0]) = QMetaType(); break; + case 0: + *reinterpret_cast(_a[0]) = QMetaType::fromType< QList >(); break; + } + break; + } + } +} + +const QMetaObject DownloadManager::staticMetaObject = { { + QMetaObject::SuperData::link(), + qt_meta_stringdata_DownloadManager.offsetsAndSize, + qt_meta_data_DownloadManager, + qt_static_metacall, + nullptr, +qt_incomplete_metaTypeArray, QtPrivate::TypeAndForceComplete, QtPrivate::TypeAndForceComplete, QtPrivate::TypeAndForceComplete, QtPrivate::TypeAndForceComplete &, std::false_type> + + +>, + nullptr +} }; + + +const QMetaObject *DownloadManager::metaObject() const +{ + return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject; +} + +void *DownloadManager::qt_metacast(const char *_clname) +{ + if (!_clname) return nullptr; + if (!strcmp(_clname, qt_meta_stringdata_DownloadManager.stringdata0)) + return static_cast(this); + return QObject::qt_metacast(_clname); +} + +int DownloadManager::qt_metacall(QMetaObject::Call _c, int _id, void **_a) +{ + _id = QObject::qt_metacall(_c, _id, _a); + if (_id < 0) + return _id; + if (_c == QMetaObject::InvokeMetaMethod) { + if (_id < 3) + qt_static_metacall(this, _c, _id, _a); + _id -= 3; + } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) { + if (_id < 3) + qt_static_metacall(this, _c, _id, _a); + _id -= 3; + } + return _id; +} +QT_WARNING_POP +QT_END_MOC_NAMESPACE diff --git a/src/moc_goto_window.cpp b/src/moc_goto_window.cpp new file mode 100644 index 0000000..9a82ea3 --- /dev/null +++ b/src/moc_goto_window.cpp @@ -0,0 +1,128 @@ +/**************************************************************************** +** Meta object code from reading C++ file 'goto_window.h' +** +** Created by: The Qt Meta Object Compiler version 68 (Qt 6.1.2) +** +** WARNING! All changes made in this file will be lost! +*****************************************************************************/ + +#include +#include "goto_window.h" +#include +#include +#include +#if !defined(Q_MOC_OUTPUT_REVISION) +#error "The header file 'goto_window.h' doesn't include ." +#elif Q_MOC_OUTPUT_REVISION != 68 +#error "This file was generated using the moc from 6.1.2. It" +#error "cannot be used with the include files from this version of Qt." +#error "(The moc has changed too much.)" +#endif + +QT_BEGIN_MOC_NAMESPACE +QT_WARNING_PUSH +QT_WARNING_DISABLE_DEPRECATED +struct qt_meta_stringdata_GotoWindow_t { + const uint offsetsAndSize[10]; + char stringdata0[39]; +}; +#define QT_MOC_LITERAL(ofs, len) \ + uint(offsetof(qt_meta_stringdata_GotoWindow_t, stringdata0) + ofs), len +static const qt_meta_stringdata_GotoWindow_t qt_meta_stringdata_GotoWindow = { + { +QT_MOC_LITERAL(0, 10), // "GotoWindow" +QT_MOC_LITERAL(11, 9), // "pressedGo" +QT_MOC_LITERAL(21, 0), // "" +QT_MOC_LITERAL(22, 12), // "slideChanged" +QT_MOC_LITERAL(35, 3) // "pos" + + }, + "GotoWindow\0pressedGo\0\0slideChanged\0" + "pos" +}; +#undef QT_MOC_LITERAL + +static const uint qt_meta_data_GotoWindow[] = { + + // content: + 9, // revision + 0, // classname + 0, 0, // classinfo + 2, 14, // methods + 0, 0, // properties + 0, 0, // enums/sets + 0, 0, // constructors + 0, // flags + 0, // signalCount + + // slots: name, argc, parameters, tag, flags, initial metatype offsets + 1, 0, 26, 2, 0x0a, 0 /* Public */, + 3, 1, 27, 2, 0x0a, 1 /* Public */, + + // slots: parameters + QMetaType::Void, + QMetaType::Void, QMetaType::Int, 4, + + 0 // eod +}; + +void GotoWindow::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a) +{ + if (_c == QMetaObject::InvokeMetaMethod) { + auto *_t = static_cast(_o); + (void)_t; + switch (_id) { + case 0: _t->pressedGo(); break; + case 1: _t->slideChanged((*reinterpret_cast< int(*)>(_a[1]))); break; + default: ; + } + } +} + +const QMetaObject GotoWindow::staticMetaObject = { { + QMetaObject::SuperData::link(), + qt_meta_stringdata_GotoWindow.offsetsAndSize, + qt_meta_data_GotoWindow, + qt_static_metacall, + nullptr, +qt_incomplete_metaTypeArray, QtPrivate::TypeAndForceComplete, QtPrivate::TypeAndForceComplete + + +>, + nullptr +} }; + + +const QMetaObject *GotoWindow::metaObject() const +{ + return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject; +} + +void *GotoWindow::qt_metacast(const char *_clname) +{ + if (!_clname) return nullptr; + if (!strcmp(_clname, qt_meta_stringdata_GotoWindow.stringdata0)) + return static_cast(this); + return QDialog::qt_metacast(_clname); +} + +int GotoWindow::qt_metacall(QMetaObject::Call _c, int _id, void **_a) +{ + _id = QDialog::qt_metacall(_c, _id, _a); + if (_id < 0) + return _id; + if (_c == QMetaObject::InvokeMetaMethod) { + if (_id < 2) + qt_static_metacall(this, _c, _id, _a); + _id -= 2; + } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) { + if (_id < 2) + *reinterpret_cast(_a[0]) = QMetaType(); + _id -= 2; + } + return _id; +} +QT_WARNING_POP +QT_END_MOC_NAMESPACE diff --git a/src/moc_image_window.cpp b/src/moc_image_window.cpp new file mode 100644 index 0000000..d8de6dd --- /dev/null +++ b/src/moc_image_window.cpp @@ -0,0 +1,149 @@ +/**************************************************************************** +** Meta object code from reading C++ file 'image_window.h' +** +** Created by: The Qt Meta Object Compiler version 68 (Qt 6.1.2) +** +** WARNING! All changes made in this file will be lost! +*****************************************************************************/ + +#include +#include "image_window.h" +#include +#include +#include +#if !defined(Q_MOC_OUTPUT_REVISION) +#error "The header file 'image_window.h' doesn't include ." +#elif Q_MOC_OUTPUT_REVISION != 68 +#error "This file was generated using the moc from 6.1.2. It" +#error "cannot be used with the include files from this version of Qt." +#error "(The moc has changed too much.)" +#endif + +QT_BEGIN_MOC_NAMESPACE +QT_WARNING_PUSH +QT_WARNING_DISABLE_DEPRECATED +struct qt_meta_stringdata_ImageWindow_t { + const uint offsetsAndSize[20]; + char stringdata0[114]; +}; +#define QT_MOC_LITERAL(ofs, len) \ + uint(offsetof(qt_meta_stringdata_ImageWindow_t, stringdata0) + ofs), len +static const qt_meta_stringdata_ImageWindow_t qt_meta_stringdata_ImageWindow = { + { +QT_MOC_LITERAL(0, 11), // "ImageWindow" +QT_MOC_LITERAL(12, 14), // "image_AddFiles" +QT_MOC_LITERAL(27, 0), // "" +QT_MOC_LITERAL(28, 13), // "image_RmvFile" +QT_MOC_LITERAL(42, 13), // "image_SetFile" +QT_MOC_LITERAL(56, 16), // "image_RowChanged" +QT_MOC_LITERAL(73, 5), // "index" +QT_MOC_LITERAL(79, 14), // "image_SetCycle" +QT_MOC_LITERAL(94, 9), // "video_Set" +QT_MOC_LITERAL(104, 9) // "video_Clr" + + }, + "ImageWindow\0image_AddFiles\0\0image_RmvFile\0" + "image_SetFile\0image_RowChanged\0index\0" + "image_SetCycle\0video_Set\0video_Clr" +}; +#undef QT_MOC_LITERAL + +static const uint qt_meta_data_ImageWindow[] = { + + // content: + 9, // revision + 0, // classname + 0, 0, // classinfo + 7, 14, // methods + 0, 0, // properties + 0, 0, // enums/sets + 0, 0, // constructors + 0, // flags + 0, // signalCount + + // slots: name, argc, parameters, tag, flags, initial metatype offsets + 1, 0, 56, 2, 0x0a, 0 /* Public */, + 3, 0, 57, 2, 0x0a, 1 /* Public */, + 4, 0, 58, 2, 0x0a, 2 /* Public */, + 5, 1, 59, 2, 0x0a, 3 /* Public */, + 7, 0, 62, 2, 0x0a, 5 /* Public */, + 8, 0, 63, 2, 0x0a, 6 /* Public */, + 9, 0, 64, 2, 0x0a, 7 /* Public */, + + // slots: parameters + QMetaType::Void, + QMetaType::Void, + QMetaType::Void, + QMetaType::Void, QMetaType::Int, 6, + QMetaType::Void, + QMetaType::Void, + QMetaType::Void, + + 0 // eod +}; + +void ImageWindow::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a) +{ + if (_c == QMetaObject::InvokeMetaMethod) { + auto *_t = static_cast(_o); + (void)_t; + switch (_id) { + case 0: _t->image_AddFiles(); break; + case 1: _t->image_RmvFile(); break; + case 2: _t->image_SetFile(); break; + case 3: _t->image_RowChanged((*reinterpret_cast< int(*)>(_a[1]))); break; + case 4: _t->image_SetCycle(); break; + case 5: _t->video_Set(); break; + case 6: _t->video_Clr(); break; + default: ; + } + } +} + +const QMetaObject ImageWindow::staticMetaObject = { { + QMetaObject::SuperData::link(), + qt_meta_stringdata_ImageWindow.offsetsAndSize, + qt_meta_data_ImageWindow, + qt_static_metacall, + nullptr, +qt_incomplete_metaTypeArray, QtPrivate::TypeAndForceComplete, QtPrivate::TypeAndForceComplete, QtPrivate::TypeAndForceComplete, QtPrivate::TypeAndForceComplete, QtPrivate::TypeAndForceComplete, QtPrivate::TypeAndForceComplete, QtPrivate::TypeAndForceComplete + + +>, + nullptr +} }; + + +const QMetaObject *ImageWindow::metaObject() const +{ + return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject; +} + +void *ImageWindow::qt_metacast(const char *_clname) +{ + if (!_clname) return nullptr; + if (!strcmp(_clname, qt_meta_stringdata_ImageWindow.stringdata0)) + return static_cast(this); + return QDialog::qt_metacast(_clname); +} + +int ImageWindow::qt_metacall(QMetaObject::Call _c, int _id, void **_a) +{ + _id = QDialog::qt_metacall(_c, _id, _a); + if (_id < 0) + return _id; + if (_c == QMetaObject::InvokeMetaMethod) { + if (_id < 7) + qt_static_metacall(this, _c, _id, _a); + _id -= 7; + } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) { + if (_id < 7) + *reinterpret_cast(_a[0]) = QMetaType(); + _id -= 7; + } + return _id; +} +QT_WARNING_POP +QT_END_MOC_NAMESPACE diff --git a/src/moc_main_window.cpp b/src/moc_main_window.cpp new file mode 100644 index 0000000..642b5d1 --- /dev/null +++ b/src/moc_main_window.cpp @@ -0,0 +1,405 @@ +/**************************************************************************** +** Meta object code from reading C++ file 'main_window.h' +** +** Created by: The Qt Meta Object Compiler version 68 (Qt 6.1.2) +** +** WARNING! All changes made in this file will be lost! +*****************************************************************************/ + +#include +#include "main_window.h" +#include +#include +#include +#include +#if !defined(Q_MOC_OUTPUT_REVISION) +#error "The header file 'main_window.h' doesn't include ." +#elif Q_MOC_OUTPUT_REVISION != 68 +#error "This file was generated using the moc from 6.1.2. It" +#error "cannot be used with the include files from this version of Qt." +#error "(The moc has changed too much.)" +#endif + +QT_BEGIN_MOC_NAMESPACE +QT_WARNING_PUSH +QT_WARNING_DISABLE_DEPRECATED +struct qt_meta_stringdata_AC_MainWindow_t { + const uint offsetsAndSize[140]; + char stringdata0[875]; +}; +#define QT_MOC_LITERAL(ofs, len) \ + uint(offsetof(qt_meta_stringdata_AC_MainWindow_t, stringdata0) + ofs), len +static const qt_meta_stringdata_AC_MainWindow_t qt_meta_stringdata_AC_MainWindow = { + { +QT_MOC_LITERAL(0, 13), // "AC_MainWindow" +QT_MOC_LITERAL(14, 9), // "showRange" +QT_MOC_LITERAL(24, 0), // "" +QT_MOC_LITERAL(25, 12), // "chk_Joystick" +QT_MOC_LITERAL(38, 10), // "addClicked" +QT_MOC_LITERAL(49, 10), // "rmvClicked" +QT_MOC_LITERAL(60, 9), // "upClicked" +QT_MOC_LITERAL(70, 6), // "setSub" +QT_MOC_LITERAL(77, 11), // "downClicked" +QT_MOC_LITERAL(89, 9), // "file_Exit" +QT_MOC_LITERAL(99, 13), // "file_NewVideo" +QT_MOC_LITERAL(113, 14), // "file_NewCamera" +QT_MOC_LITERAL(128, 13), // "controls_Stop" +QT_MOC_LITERAL(142, 13), // "controls_Snap" +QT_MOC_LITERAL(156, 14), // "controls_Pause" +QT_MOC_LITERAL(171, 13), // "controls_Step" +QT_MOC_LITERAL(185, 17), // "controls_SetImage" +QT_MOC_LITERAL(203, 18), // "controls_ShowVideo" +QT_MOC_LITERAL(222, 15), // "controls_SetKey" +QT_MOC_LITERAL(238, 14), // "controls_Reset" +QT_MOC_LITERAL(253, 18), // "controls_ShowDisp2" +QT_MOC_LITERAL(272, 10), // "help_About" +QT_MOC_LITERAL(283, 11), // "updateFrame" +QT_MOC_LITERAL(295, 3), // "img" +QT_MOC_LITERAL(299, 13), // "stopRecording" +QT_MOC_LITERAL(313, 10), // "resetIndex" +QT_MOC_LITERAL(324, 11), // "chk_Clicked" +QT_MOC_LITERAL(336, 11), // "cb_SetIndex" +QT_MOC_LITERAL(348, 5), // "index" +QT_MOC_LITERAL(354, 8), // "frameInc" +QT_MOC_LITERAL(363, 12), // "slideChanged" +QT_MOC_LITERAL(376, 3), // "pos" +QT_MOC_LITERAL(380, 12), // "colorChanged" +QT_MOC_LITERAL(393, 15), // "colorMapChanged" +QT_MOC_LITERAL(409, 18), // "comboFilterChanged" +QT_MOC_LITERAL(428, 15), // "setFilterSingle" +QT_MOC_LITERAL(444, 15), // "setFilterCustom" +QT_MOC_LITERAL(460, 10), // "openSearch" +QT_MOC_LITERAL(471, 15), // "movementOption1" +QT_MOC_LITERAL(487, 15), // "movementOption2" +QT_MOC_LITERAL(503, 15), // "movementOption3" +QT_MOC_LITERAL(519, 6), // "speed1" +QT_MOC_LITERAL(526, 6), // "speed2" +QT_MOC_LITERAL(533, 6), // "speed3" +QT_MOC_LITERAL(540, 6), // "speed4" +QT_MOC_LITERAL(547, 6), // "speed5" +QT_MOC_LITERAL(554, 6), // "speed6" +QT_MOC_LITERAL(561, 6), // "speed7" +QT_MOC_LITERAL(568, 13), // "showGLDisplay" +QT_MOC_LITERAL(582, 12), // "flip1_action" +QT_MOC_LITERAL(595, 12), // "flip2_action" +QT_MOC_LITERAL(608, 12), // "flip3_action" +QT_MOC_LITERAL(621, 13), // "noflip_action" +QT_MOC_LITERAL(635, 15), // "clear_subfilter" +QT_MOC_LITERAL(651, 9), // "clear_img" +QT_MOC_LITERAL(661, 10), // "repeat_vid" +QT_MOC_LITERAL(672, 7), // "setFade" +QT_MOC_LITERAL(680, 15), // "openColorWindow" +QT_MOC_LITERAL(696, 17), // "menuFilterChanged" +QT_MOC_LITERAL(714, 14), // "show_Favorites" +QT_MOC_LITERAL(729, 15), // "load_CustomFile" +QT_MOC_LITERAL(745, 15), // "save_CustomFile" +QT_MOC_LITERAL(761, 8), // "showFull" +QT_MOC_LITERAL(770, 15), // "showImageWindow" +QT_MOC_LITERAL(786, 14), // "showPrefWindow" +QT_MOC_LITERAL(801, 20), // "setRandomFilterValue" +QT_MOC_LITERAL(822, 19), // "setCustomCycle_Menu" +QT_MOC_LITERAL(842, 11), // "next_filter" +QT_MOC_LITERAL(854, 11), // "prev_filter" +QT_MOC_LITERAL(866, 8) // "showSlit" + + }, + "AC_MainWindow\0showRange\0\0chk_Joystick\0" + "addClicked\0rmvClicked\0upClicked\0setSub\0" + "downClicked\0file_Exit\0file_NewVideo\0" + "file_NewCamera\0controls_Stop\0controls_Snap\0" + "controls_Pause\0controls_Step\0" + "controls_SetImage\0controls_ShowVideo\0" + "controls_SetKey\0controls_Reset\0" + "controls_ShowDisp2\0help_About\0updateFrame\0" + "img\0stopRecording\0resetIndex\0chk_Clicked\0" + "cb_SetIndex\0index\0frameInc\0slideChanged\0" + "pos\0colorChanged\0colorMapChanged\0" + "comboFilterChanged\0setFilterSingle\0" + "setFilterCustom\0openSearch\0movementOption1\0" + "movementOption2\0movementOption3\0speed1\0" + "speed2\0speed3\0speed4\0speed5\0speed6\0" + "speed7\0showGLDisplay\0flip1_action\0" + "flip2_action\0flip3_action\0noflip_action\0" + "clear_subfilter\0clear_img\0repeat_vid\0" + "setFade\0openColorWindow\0menuFilterChanged\0" + "show_Favorites\0load_CustomFile\0" + "save_CustomFile\0showFull\0showImageWindow\0" + "showPrefWindow\0setRandomFilterValue\0" + "setCustomCycle_Menu\0next_filter\0" + "prev_filter\0showSlit" +}; +#undef QT_MOC_LITERAL + +static const uint qt_meta_data_AC_MainWindow[] = { + + // content: + 9, // revision + 0, // classname + 0, 0, // classinfo + 65, 14, // methods + 0, 0, // properties + 0, 0, // enums/sets + 0, 0, // constructors + 0, // flags + 0, // signalCount + + // slots: name, argc, parameters, tag, flags, initial metatype offsets + 1, 0, 404, 2, 0x0a, 0 /* Public */, + 3, 0, 405, 2, 0x0a, 1 /* Public */, + 4, 0, 406, 2, 0x0a, 2 /* Public */, + 5, 0, 407, 2, 0x0a, 3 /* Public */, + 6, 0, 408, 2, 0x0a, 4 /* Public */, + 7, 0, 409, 2, 0x0a, 5 /* Public */, + 8, 0, 410, 2, 0x0a, 6 /* Public */, + 9, 0, 411, 2, 0x0a, 7 /* Public */, + 10, 0, 412, 2, 0x0a, 8 /* Public */, + 11, 0, 413, 2, 0x0a, 9 /* Public */, + 12, 0, 414, 2, 0x0a, 10 /* Public */, + 13, 0, 415, 2, 0x0a, 11 /* Public */, + 14, 0, 416, 2, 0x0a, 12 /* Public */, + 15, 0, 417, 2, 0x0a, 13 /* Public */, + 16, 0, 418, 2, 0x0a, 14 /* Public */, + 17, 0, 419, 2, 0x0a, 15 /* Public */, + 18, 0, 420, 2, 0x0a, 16 /* Public */, + 19, 0, 421, 2, 0x0a, 17 /* Public */, + 20, 0, 422, 2, 0x0a, 18 /* Public */, + 21, 0, 423, 2, 0x0a, 19 /* Public */, + 22, 1, 424, 2, 0x0a, 20 /* Public */, + 24, 0, 427, 2, 0x0a, 22 /* Public */, + 25, 0, 428, 2, 0x0a, 23 /* Public */, + 26, 0, 429, 2, 0x0a, 24 /* Public */, + 27, 1, 430, 2, 0x0a, 25 /* Public */, + 29, 0, 433, 2, 0x0a, 27 /* Public */, + 30, 1, 434, 2, 0x0a, 28 /* Public */, + 32, 1, 437, 2, 0x0a, 30 /* Public */, + 33, 1, 440, 2, 0x0a, 32 /* Public */, + 34, 1, 443, 2, 0x0a, 34 /* Public */, + 35, 0, 446, 2, 0x0a, 36 /* Public */, + 36, 0, 447, 2, 0x0a, 37 /* Public */, + 37, 0, 448, 2, 0x0a, 38 /* Public */, + 38, 0, 449, 2, 0x0a, 39 /* Public */, + 39, 0, 450, 2, 0x0a, 40 /* Public */, + 40, 0, 451, 2, 0x0a, 41 /* Public */, + 41, 0, 452, 2, 0x0a, 42 /* Public */, + 42, 0, 453, 2, 0x0a, 43 /* Public */, + 43, 0, 454, 2, 0x0a, 44 /* Public */, + 44, 0, 455, 2, 0x0a, 45 /* Public */, + 45, 0, 456, 2, 0x0a, 46 /* Public */, + 46, 0, 457, 2, 0x0a, 47 /* Public */, + 47, 0, 458, 2, 0x0a, 48 /* Public */, + 48, 0, 459, 2, 0x0a, 49 /* Public */, + 49, 0, 460, 2, 0x0a, 50 /* Public */, + 50, 0, 461, 2, 0x0a, 51 /* Public */, + 51, 0, 462, 2, 0x0a, 52 /* Public */, + 52, 0, 463, 2, 0x0a, 53 /* Public */, + 53, 0, 464, 2, 0x0a, 54 /* Public */, + 54, 0, 465, 2, 0x0a, 55 /* Public */, + 55, 0, 466, 2, 0x0a, 56 /* Public */, + 56, 0, 467, 2, 0x0a, 57 /* Public */, + 57, 0, 468, 2, 0x0a, 58 /* Public */, + 58, 1, 469, 2, 0x0a, 59 /* Public */, + 59, 0, 472, 2, 0x0a, 61 /* Public */, + 60, 0, 473, 2, 0x0a, 62 /* Public */, + 61, 0, 474, 2, 0x0a, 63 /* Public */, + 62, 0, 475, 2, 0x0a, 64 /* Public */, + 63, 0, 476, 2, 0x0a, 65 /* Public */, + 64, 0, 477, 2, 0x0a, 66 /* Public */, + 65, 0, 478, 2, 0x0a, 67 /* Public */, + 66, 0, 479, 2, 0x0a, 68 /* Public */, + 67, 0, 480, 2, 0x0a, 69 /* Public */, + 68, 0, 481, 2, 0x0a, 70 /* Public */, + 69, 0, 482, 2, 0x0a, 71 /* Public */, + + // slots: parameters + QMetaType::Void, + QMetaType::Void, + QMetaType::Void, + QMetaType::Void, + QMetaType::Void, + QMetaType::Void, + QMetaType::Void, + QMetaType::Void, + QMetaType::Void, + QMetaType::Void, + QMetaType::Void, + QMetaType::Void, + QMetaType::Void, + QMetaType::Void, + QMetaType::Void, + QMetaType::Void, + QMetaType::Void, + QMetaType::Void, + QMetaType::Void, + QMetaType::Void, + QMetaType::Void, QMetaType::QImage, 23, + QMetaType::Void, + QMetaType::Void, + QMetaType::Void, + QMetaType::Void, QMetaType::Int, 28, + QMetaType::Void, + QMetaType::Void, QMetaType::Int, 31, + QMetaType::Void, QMetaType::Int, 31, + QMetaType::Void, QMetaType::Int, 31, + QMetaType::Void, QMetaType::Int, 31, + QMetaType::Void, + QMetaType::Void, + QMetaType::Void, + QMetaType::Void, + QMetaType::Void, + QMetaType::Void, + QMetaType::Void, + QMetaType::Void, + QMetaType::Void, + QMetaType::Void, + QMetaType::Void, + QMetaType::Void, + QMetaType::Void, + QMetaType::Void, + QMetaType::Void, + QMetaType::Void, + QMetaType::Void, + QMetaType::Void, + QMetaType::Void, + QMetaType::Void, + QMetaType::Void, + QMetaType::Void, + QMetaType::Void, + QMetaType::Void, QMetaType::Int, 28, + QMetaType::Void, + QMetaType::Void, + QMetaType::Void, + QMetaType::Void, + QMetaType::Void, + QMetaType::Void, + QMetaType::Void, + QMetaType::Void, + QMetaType::Void, + QMetaType::Void, + QMetaType::Void, + + 0 // eod +}; + +void AC_MainWindow::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a) +{ + if (_c == QMetaObject::InvokeMetaMethod) { + auto *_t = static_cast(_o); + (void)_t; + switch (_id) { + case 0: _t->showRange(); break; + case 1: _t->chk_Joystick(); break; + case 2: _t->addClicked(); break; + case 3: _t->rmvClicked(); break; + case 4: _t->upClicked(); break; + case 5: _t->setSub(); break; + case 6: _t->downClicked(); break; + case 7: _t->file_Exit(); break; + case 8: _t->file_NewVideo(); break; + case 9: _t->file_NewCamera(); break; + case 10: _t->controls_Stop(); break; + case 11: _t->controls_Snap(); break; + case 12: _t->controls_Pause(); break; + case 13: _t->controls_Step(); break; + case 14: _t->controls_SetImage(); break; + case 15: _t->controls_ShowVideo(); break; + case 16: _t->controls_SetKey(); break; + case 17: _t->controls_Reset(); break; + case 18: _t->controls_ShowDisp2(); break; + case 19: _t->help_About(); break; + case 20: _t->updateFrame((*reinterpret_cast< QImage(*)>(_a[1]))); break; + case 21: _t->stopRecording(); break; + case 22: _t->resetIndex(); break; + case 23: _t->chk_Clicked(); break; + case 24: _t->cb_SetIndex((*reinterpret_cast< int(*)>(_a[1]))); break; + case 25: _t->frameInc(); break; + case 26: _t->slideChanged((*reinterpret_cast< int(*)>(_a[1]))); break; + case 27: _t->colorChanged((*reinterpret_cast< int(*)>(_a[1]))); break; + case 28: _t->colorMapChanged((*reinterpret_cast< int(*)>(_a[1]))); break; + case 29: _t->comboFilterChanged((*reinterpret_cast< int(*)>(_a[1]))); break; + case 30: _t->setFilterSingle(); break; + case 31: _t->setFilterCustom(); break; + case 32: _t->openSearch(); break; + case 33: _t->movementOption1(); break; + case 34: _t->movementOption2(); break; + case 35: _t->movementOption3(); break; + case 36: _t->speed1(); break; + case 37: _t->speed2(); break; + case 38: _t->speed3(); break; + case 39: _t->speed4(); break; + case 40: _t->speed5(); break; + case 41: _t->speed6(); break; + case 42: _t->speed7(); break; + case 43: _t->showGLDisplay(); break; + case 44: _t->flip1_action(); break; + case 45: _t->flip2_action(); break; + case 46: _t->flip3_action(); break; + case 47: _t->noflip_action(); break; + case 48: _t->clear_subfilter(); break; + case 49: _t->clear_img(); break; + case 50: _t->repeat_vid(); break; + case 51: _t->setFade(); break; + case 52: _t->openColorWindow(); break; + case 53: _t->menuFilterChanged((*reinterpret_cast< int(*)>(_a[1]))); break; + case 54: _t->show_Favorites(); break; + case 55: _t->load_CustomFile(); break; + case 56: _t->save_CustomFile(); break; + case 57: _t->showFull(); break; + case 58: _t->showImageWindow(); break; + case 59: _t->showPrefWindow(); break; + case 60: _t->setRandomFilterValue(); break; + case 61: _t->setCustomCycle_Menu(); break; + case 62: _t->next_filter(); break; + case 63: _t->prev_filter(); break; + case 64: _t->showSlit(); break; + default: ; + } + } +} + +const QMetaObject AC_MainWindow::staticMetaObject = { { + QMetaObject::SuperData::link(), + qt_meta_stringdata_AC_MainWindow.offsetsAndSize, + qt_meta_data_AC_MainWindow, + qt_static_metacall, + nullptr, +qt_incomplete_metaTypeArray, QtPrivate::TypeAndForceComplete, QtPrivate::TypeAndForceComplete, QtPrivate::TypeAndForceComplete, QtPrivate::TypeAndForceComplete, QtPrivate::TypeAndForceComplete, QtPrivate::TypeAndForceComplete, QtPrivate::TypeAndForceComplete, QtPrivate::TypeAndForceComplete, QtPrivate::TypeAndForceComplete, QtPrivate::TypeAndForceComplete, QtPrivate::TypeAndForceComplete, QtPrivate::TypeAndForceComplete, QtPrivate::TypeAndForceComplete, QtPrivate::TypeAndForceComplete, QtPrivate::TypeAndForceComplete, QtPrivate::TypeAndForceComplete, QtPrivate::TypeAndForceComplete, QtPrivate::TypeAndForceComplete, QtPrivate::TypeAndForceComplete, QtPrivate::TypeAndForceComplete, QtPrivate::TypeAndForceComplete, QtPrivate::TypeAndForceComplete, QtPrivate::TypeAndForceComplete, QtPrivate::TypeAndForceComplete, QtPrivate::TypeAndForceComplete, QtPrivate::TypeAndForceComplete, QtPrivate::TypeAndForceComplete, QtPrivate::TypeAndForceComplete, QtPrivate::TypeAndForceComplete, QtPrivate::TypeAndForceComplete, QtPrivate::TypeAndForceComplete, QtPrivate::TypeAndForceComplete, QtPrivate::TypeAndForceComplete, QtPrivate::TypeAndForceComplete, QtPrivate::TypeAndForceComplete, QtPrivate::TypeAndForceComplete, QtPrivate::TypeAndForceComplete, QtPrivate::TypeAndForceComplete, QtPrivate::TypeAndForceComplete, QtPrivate::TypeAndForceComplete, QtPrivate::TypeAndForceComplete, QtPrivate::TypeAndForceComplete, QtPrivate::TypeAndForceComplete, QtPrivate::TypeAndForceComplete, QtPrivate::TypeAndForceComplete, QtPrivate::TypeAndForceComplete, QtPrivate::TypeAndForceComplete, QtPrivate::TypeAndForceComplete, QtPrivate::TypeAndForceComplete, QtPrivate::TypeAndForceComplete, QtPrivate::TypeAndForceComplete, QtPrivate::TypeAndForceComplete, QtPrivate::TypeAndForceComplete, QtPrivate::TypeAndForceComplete, QtPrivate::TypeAndForceComplete, QtPrivate::TypeAndForceComplete, QtPrivate::TypeAndForceComplete, QtPrivate::TypeAndForceComplete, QtPrivate::TypeAndForceComplete, QtPrivate::TypeAndForceComplete, QtPrivate::TypeAndForceComplete, QtPrivate::TypeAndForceComplete, QtPrivate::TypeAndForceComplete, QtPrivate::TypeAndForceComplete, QtPrivate::TypeAndForceComplete, QtPrivate::TypeAndForceComplete, QtPrivate::TypeAndForceComplete, QtPrivate::TypeAndForceComplete, QtPrivate::TypeAndForceComplete, QtPrivate::TypeAndForceComplete, QtPrivate::TypeAndForceComplete + + +>, + nullptr +} }; + + +const QMetaObject *AC_MainWindow::metaObject() const +{ + return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject; +} + +void *AC_MainWindow::qt_metacast(const char *_clname) +{ + if (!_clname) return nullptr; + if (!strcmp(_clname, qt_meta_stringdata_AC_MainWindow.stringdata0)) + return static_cast(this); + return QMainWindow::qt_metacast(_clname); +} + +int AC_MainWindow::qt_metacall(QMetaObject::Call _c, int _id, void **_a) +{ + _id = QMainWindow::qt_metacall(_c, _id, _a); + if (_id < 0) + return _id; + if (_c == QMetaObject::InvokeMetaMethod) { + if (_id < 65) + qt_static_metacall(this, _c, _id, _a); + _id -= 65; + } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) { + if (_id < 65) + *reinterpret_cast(_a[0]) = QMetaType(); + _id -= 65; + } + return _id; +} +QT_WARNING_POP +QT_END_MOC_NAMESPACE diff --git a/src/moc_new_dialog.cpp b/src/moc_new_dialog.cpp new file mode 100644 index 0000000..a088310 --- /dev/null +++ b/src/moc_new_dialog.cpp @@ -0,0 +1,233 @@ +/**************************************************************************** +** Meta object code from reading C++ file 'new_dialog.h' +** +** Created by: The Qt Meta Object Compiler version 68 (Qt 6.1.2) +** +** WARNING! All changes made in this file will be lost! +*****************************************************************************/ + +#include +#include "new_dialog.h" +#include +#include +#include +#if !defined(Q_MOC_OUTPUT_REVISION) +#error "The header file 'new_dialog.h' doesn't include ." +#elif Q_MOC_OUTPUT_REVISION != 68 +#error "This file was generated using the moc from 6.1.2. It" +#error "cannot be used with the include files from this version of Qt." +#error "(The moc has changed too much.)" +#endif + +QT_BEGIN_MOC_NAMESPACE +QT_WARNING_PUSH +QT_WARNING_DISABLE_DEPRECATED +struct qt_meta_stringdata_CaptureCamera_t { + const uint offsetsAndSize[8]; + char stringdata0[36]; +}; +#define QT_MOC_LITERAL(ofs, len) \ + uint(offsetof(qt_meta_stringdata_CaptureCamera_t, stringdata0) + ofs), len +static const qt_meta_stringdata_CaptureCamera_t qt_meta_stringdata_CaptureCamera = { + { +QT_MOC_LITERAL(0, 13), // "CaptureCamera" +QT_MOC_LITERAL(14, 10), // "btn_Select" +QT_MOC_LITERAL(25, 0), // "" +QT_MOC_LITERAL(26, 9) // "btn_Start" + + }, + "CaptureCamera\0btn_Select\0\0btn_Start" +}; +#undef QT_MOC_LITERAL + +static const uint qt_meta_data_CaptureCamera[] = { + + // content: + 9, // revision + 0, // classname + 0, 0, // classinfo + 2, 14, // methods + 0, 0, // properties + 0, 0, // enums/sets + 0, 0, // constructors + 0, // flags + 0, // signalCount + + // slots: name, argc, parameters, tag, flags, initial metatype offsets + 1, 0, 26, 2, 0x0a, 0 /* Public */, + 3, 0, 27, 2, 0x0a, 1 /* Public */, + + // slots: parameters + QMetaType::Void, + QMetaType::Void, + + 0 // eod +}; + +void CaptureCamera::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a) +{ + if (_c == QMetaObject::InvokeMetaMethod) { + auto *_t = static_cast(_o); + (void)_t; + switch (_id) { + case 0: _t->btn_Select(); break; + case 1: _t->btn_Start(); break; + default: ; + } + } + (void)_a; +} + +const QMetaObject CaptureCamera::staticMetaObject = { { + QMetaObject::SuperData::link(), + qt_meta_stringdata_CaptureCamera.offsetsAndSize, + qt_meta_data_CaptureCamera, + qt_static_metacall, + nullptr, +qt_incomplete_metaTypeArray, QtPrivate::TypeAndForceComplete + + +>, + nullptr +} }; + + +const QMetaObject *CaptureCamera::metaObject() const +{ + return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject; +} + +void *CaptureCamera::qt_metacast(const char *_clname) +{ + if (!_clname) return nullptr; + if (!strcmp(_clname, qt_meta_stringdata_CaptureCamera.stringdata0)) + return static_cast(this); + return QDialog::qt_metacast(_clname); +} + +int CaptureCamera::qt_metacall(QMetaObject::Call _c, int _id, void **_a) +{ + _id = QDialog::qt_metacall(_c, _id, _a); + if (_id < 0) + return _id; + if (_c == QMetaObject::InvokeMetaMethod) { + if (_id < 2) + qt_static_metacall(this, _c, _id, _a); + _id -= 2; + } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) { + if (_id < 2) + *reinterpret_cast(_a[0]) = QMetaType(); + _id -= 2; + } + return _id; +} +struct qt_meta_stringdata_CaptureVideo_t { + const uint offsetsAndSize[10]; + char stringdata0[59]; +}; +#define QT_MOC_LITERAL(ofs, len) \ + uint(offsetof(qt_meta_stringdata_CaptureVideo_t, stringdata0) + ofs), len +static const qt_meta_stringdata_CaptureVideo_t qt_meta_stringdata_CaptureVideo = { + { +QT_MOC_LITERAL(0, 12), // "CaptureVideo" +QT_MOC_LITERAL(13, 17), // "btn_SetSourceFile" +QT_MOC_LITERAL(31, 0), // "" +QT_MOC_LITERAL(32, 16), // "btn_SetOutputDir" +QT_MOC_LITERAL(49, 9) // "btn_Start" + + }, + "CaptureVideo\0btn_SetSourceFile\0\0" + "btn_SetOutputDir\0btn_Start" +}; +#undef QT_MOC_LITERAL + +static const uint qt_meta_data_CaptureVideo[] = { + + // content: + 9, // revision + 0, // classname + 0, 0, // classinfo + 3, 14, // methods + 0, 0, // properties + 0, 0, // enums/sets + 0, 0, // constructors + 0, // flags + 0, // signalCount + + // slots: name, argc, parameters, tag, flags, initial metatype offsets + 1, 0, 32, 2, 0x0a, 0 /* Public */, + 3, 0, 33, 2, 0x0a, 1 /* Public */, + 4, 0, 34, 2, 0x0a, 2 /* Public */, + + // slots: parameters + QMetaType::Void, + QMetaType::Void, + QMetaType::Void, + + 0 // eod +}; + +void CaptureVideo::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a) +{ + if (_c == QMetaObject::InvokeMetaMethod) { + auto *_t = static_cast(_o); + (void)_t; + switch (_id) { + case 0: _t->btn_SetSourceFile(); break; + case 1: _t->btn_SetOutputDir(); break; + case 2: _t->btn_Start(); break; + default: ; + } + } + (void)_a; +} + +const QMetaObject CaptureVideo::staticMetaObject = { { + QMetaObject::SuperData::link(), + qt_meta_stringdata_CaptureVideo.offsetsAndSize, + qt_meta_data_CaptureVideo, + qt_static_metacall, + nullptr, +qt_incomplete_metaTypeArray, QtPrivate::TypeAndForceComplete, QtPrivate::TypeAndForceComplete + + +>, + nullptr +} }; + + +const QMetaObject *CaptureVideo::metaObject() const +{ + return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject; +} + +void *CaptureVideo::qt_metacast(const char *_clname) +{ + if (!_clname) return nullptr; + if (!strcmp(_clname, qt_meta_stringdata_CaptureVideo.stringdata0)) + return static_cast(this); + return QDialog::qt_metacast(_clname); +} + +int CaptureVideo::qt_metacall(QMetaObject::Call _c, int _id, void **_a) +{ + _id = QDialog::qt_metacall(_c, _id, _a); + if (_id < 0) + return _id; + if (_c == QMetaObject::InvokeMetaMethod) { + if (_id < 3) + qt_static_metacall(this, _c, _id, _a); + _id -= 3; + } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) { + if (_id < 3) + *reinterpret_cast(_a[0]) = QMetaType(); + _id -= 3; + } + return _id; +} +QT_WARNING_POP +QT_END_MOC_NAMESPACE diff --git a/src/moc_options_window.cpp b/src/moc_options_window.cpp new file mode 100644 index 0000000..98b8ceb --- /dev/null +++ b/src/moc_options_window.cpp @@ -0,0 +1,123 @@ +/**************************************************************************** +** Meta object code from reading C++ file 'options_window.h' +** +** Created by: The Qt Meta Object Compiler version 68 (Qt 6.1.2) +** +** WARNING! All changes made in this file will be lost! +*****************************************************************************/ + +#include +#include "options_window.h" +#include +#include +#include +#if !defined(Q_MOC_OUTPUT_REVISION) +#error "The header file 'options_window.h' doesn't include ." +#elif Q_MOC_OUTPUT_REVISION != 68 +#error "This file was generated using the moc from 6.1.2. It" +#error "cannot be used with the include files from this version of Qt." +#error "(The moc has changed too much.)" +#endif + +QT_BEGIN_MOC_NAMESPACE +QT_WARNING_PUSH +QT_WARNING_DISABLE_DEPRECATED +struct qt_meta_stringdata_OptionsWindow_t { + const uint offsetsAndSize[6]; + char stringdata0[25]; +}; +#define QT_MOC_LITERAL(ofs, len) \ + uint(offsetof(qt_meta_stringdata_OptionsWindow_t, stringdata0) + ofs), len +static const qt_meta_stringdata_OptionsWindow_t qt_meta_stringdata_OptionsWindow = { + { +QT_MOC_LITERAL(0, 13), // "OptionsWindow" +QT_MOC_LITERAL(14, 9), // "setValues" +QT_MOC_LITERAL(24, 0) // "" + + }, + "OptionsWindow\0setValues\0" +}; +#undef QT_MOC_LITERAL + +static const uint qt_meta_data_OptionsWindow[] = { + + // content: + 9, // revision + 0, // classname + 0, 0, // classinfo + 1, 14, // methods + 0, 0, // properties + 0, 0, // enums/sets + 0, 0, // constructors + 0, // flags + 0, // signalCount + + // slots: name, argc, parameters, tag, flags, initial metatype offsets + 1, 0, 20, 2, 0x0a, 0 /* Public */, + + // slots: parameters + QMetaType::Void, + + 0 // eod +}; + +void OptionsWindow::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a) +{ + if (_c == QMetaObject::InvokeMetaMethod) { + auto *_t = static_cast(_o); + (void)_t; + switch (_id) { + case 0: _t->setValues(); break; + default: ; + } + } + (void)_a; +} + +const QMetaObject OptionsWindow::staticMetaObject = { { + QMetaObject::SuperData::link(), + qt_meta_stringdata_OptionsWindow.offsetsAndSize, + qt_meta_data_OptionsWindow, + qt_static_metacall, + nullptr, +qt_incomplete_metaTypeArray + + +>, + nullptr +} }; + + +const QMetaObject *OptionsWindow::metaObject() const +{ + return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject; +} + +void *OptionsWindow::qt_metacast(const char *_clname) +{ + if (!_clname) return nullptr; + if (!strcmp(_clname, qt_meta_stringdata_OptionsWindow.stringdata0)) + return static_cast(this); + return QDialog::qt_metacast(_clname); +} + +int OptionsWindow::qt_metacall(QMetaObject::Call _c, int _id, void **_a) +{ + _id = QDialog::qt_metacall(_c, _id, _a); + if (_id < 0) + return _id; + if (_c == QMetaObject::InvokeMetaMethod) { + if (_id < 1) + qt_static_metacall(this, _c, _id, _a); + _id -= 1; + } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) { + if (_id < 1) + *reinterpret_cast(_a[0]) = QMetaType(); + _id -= 1; + } + return _id; +} +QT_WARNING_POP +QT_END_MOC_NAMESPACE diff --git a/src/moc_playback_thread.cpp b/src/moc_playback_thread.cpp new file mode 100644 index 0000000..9c79a71 --- /dev/null +++ b/src/moc_playback_thread.cpp @@ -0,0 +1,191 @@ +/**************************************************************************** +** Meta object code from reading C++ file 'playback_thread.h' +** +** Created by: The Qt Meta Object Compiler version 68 (Qt 6.1.2) +** +** WARNING! All changes made in this file will be lost! +*****************************************************************************/ + +#include +#include "playback_thread.h" +#include +#include +#include +#if !defined(Q_MOC_OUTPUT_REVISION) +#error "The header file 'playback_thread.h' doesn't include ." +#elif Q_MOC_OUTPUT_REVISION != 68 +#error "This file was generated using the moc from 6.1.2. It" +#error "cannot be used with the include files from this version of Qt." +#error "(The moc has changed too much.)" +#endif + +QT_BEGIN_MOC_NAMESPACE +QT_WARNING_PUSH +QT_WARNING_DISABLE_DEPRECATED +struct qt_meta_stringdata_Playback_t { + const uint offsetsAndSize[14]; + char stringdata0[66]; +}; +#define QT_MOC_LITERAL(ofs, len) \ + uint(offsetof(qt_meta_stringdata_Playback_t, stringdata0) + ofs), len +static const qt_meta_stringdata_Playback_t qt_meta_stringdata_Playback = { + { +QT_MOC_LITERAL(0, 8), // "Playback" +QT_MOC_LITERAL(9, 9), // "procImage" +QT_MOC_LITERAL(19, 0), // "" +QT_MOC_LITERAL(20, 5), // "image" +QT_MOC_LITERAL(26, 13), // "stopRecording" +QT_MOC_LITERAL(40, 14), // "frameIncrement" +QT_MOC_LITERAL(55, 10) // "resetIndex" + + }, + "Playback\0procImage\0\0image\0stopRecording\0" + "frameIncrement\0resetIndex" +}; +#undef QT_MOC_LITERAL + +static const uint qt_meta_data_Playback[] = { + + // content: + 9, // revision + 0, // classname + 0, 0, // classinfo + 4, 14, // methods + 0, 0, // properties + 0, 0, // enums/sets + 0, 0, // constructors + 0, // flags + 4, // signalCount + + // signals: name, argc, parameters, tag, flags, initial metatype offsets + 1, 1, 38, 2, 0x06, 0 /* Public */, + 4, 0, 41, 2, 0x06, 2 /* Public */, + 5, 0, 42, 2, 0x06, 3 /* Public */, + 6, 0, 43, 2, 0x06, 4 /* Public */, + + // signals: parameters + QMetaType::Void, QMetaType::QImage, 3, + QMetaType::Void, + QMetaType::Void, + QMetaType::Void, + + 0 // eod +}; + +void Playback::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a) +{ + if (_c == QMetaObject::InvokeMetaMethod) { + auto *_t = static_cast(_o); + (void)_t; + switch (_id) { + case 0: _t->procImage((*reinterpret_cast< const QImage(*)>(_a[1]))); break; + case 1: _t->stopRecording(); break; + case 2: _t->frameIncrement(); break; + case 3: _t->resetIndex(); break; + default: ; + } + } else if (_c == QMetaObject::IndexOfMethod) { + int *result = reinterpret_cast(_a[0]); + { + using _t = void (Playback::*)(const QImage ); + if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&Playback::procImage)) { + *result = 0; + return; + } + } + { + using _t = void (Playback::*)(); + if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&Playback::stopRecording)) { + *result = 1; + return; + } + } + { + using _t = void (Playback::*)(); + if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&Playback::frameIncrement)) { + *result = 2; + return; + } + } + { + using _t = void (Playback::*)(); + if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&Playback::resetIndex)) { + *result = 3; + return; + } + } + } +} + +const QMetaObject Playback::staticMetaObject = { { + QMetaObject::SuperData::link(), + qt_meta_stringdata_Playback.offsetsAndSize, + qt_meta_data_Playback, + qt_static_metacall, + nullptr, +qt_incomplete_metaTypeArray, QtPrivate::TypeAndForceComplete, QtPrivate::TypeAndForceComplete, QtPrivate::TypeAndForceComplete, QtPrivate::TypeAndForceComplete + + + +>, + nullptr +} }; + + +const QMetaObject *Playback::metaObject() const +{ + return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject; +} + +void *Playback::qt_metacast(const char *_clname) +{ + if (!_clname) return nullptr; + if (!strcmp(_clname, qt_meta_stringdata_Playback.stringdata0)) + return static_cast(this); + return QThread::qt_metacast(_clname); +} + +int Playback::qt_metacall(QMetaObject::Call _c, int _id, void **_a) +{ + _id = QThread::qt_metacall(_c, _id, _a); + if (_id < 0) + return _id; + if (_c == QMetaObject::InvokeMetaMethod) { + if (_id < 4) + qt_static_metacall(this, _c, _id, _a); + _id -= 4; + } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) { + if (_id < 4) + *reinterpret_cast(_a[0]) = QMetaType(); + _id -= 4; + } + return _id; +} + +// SIGNAL 0 +void Playback::procImage(const QImage _t1) +{ + void *_a[] = { nullptr, const_cast(reinterpret_cast(std::addressof(_t1))) }; + QMetaObject::activate(this, &staticMetaObject, 0, _a); +} + +// SIGNAL 1 +void Playback::stopRecording() +{ + QMetaObject::activate(this, &staticMetaObject, 1, nullptr); +} + +// SIGNAL 2 +void Playback::frameIncrement() +{ + QMetaObject::activate(this, &staticMetaObject, 2, nullptr); +} + +// SIGNAL 3 +void Playback::resetIndex() +{ + QMetaObject::activate(this, &staticMetaObject, 3, nullptr); +} +QT_WARNING_POP +QT_END_MOC_NAMESPACE diff --git a/src/moc_search_box.cpp b/src/moc_search_box.cpp new file mode 100644 index 0000000..39ab334 --- /dev/null +++ b/src/moc_search_box.cpp @@ -0,0 +1,133 @@ +/**************************************************************************** +** Meta object code from reading C++ file 'search_box.h' +** +** Created by: The Qt Meta Object Compiler version 68 (Qt 6.1.2) +** +** WARNING! All changes made in this file will be lost! +*****************************************************************************/ + +#include +#include "search_box.h" +#include +#include +#include +#include +#if !defined(Q_MOC_OUTPUT_REVISION) +#error "The header file 'search_box.h' doesn't include ." +#elif Q_MOC_OUTPUT_REVISION != 68 +#error "This file was generated using the moc from 6.1.2. It" +#error "cannot be used with the include files from this version of Qt." +#error "(The moc has changed too much.)" +#endif + +QT_BEGIN_MOC_NAMESPACE +QT_WARNING_PUSH +QT_WARNING_DISABLE_DEPRECATED +struct qt_meta_stringdata_SearchWindow_t { + const uint offsetsAndSize[10]; + char stringdata0[49]; +}; +#define QT_MOC_LITERAL(ofs, len) \ + uint(offsetof(qt_meta_stringdata_SearchWindow_t, stringdata0) + ofs), len +static const qt_meta_stringdata_SearchWindow_t qt_meta_stringdata_SearchWindow = { + { +QT_MOC_LITERAL(0, 12), // "SearchWindow" +QT_MOC_LITERAL(13, 13), // "search_filter" +QT_MOC_LITERAL(27, 0), // "" +QT_MOC_LITERAL(28, 11), // "add_current" +QT_MOC_LITERAL(40, 8) // "set_subf" + + }, + "SearchWindow\0search_filter\0\0add_current\0" + "set_subf" +}; +#undef QT_MOC_LITERAL + +static const uint qt_meta_data_SearchWindow[] = { + + // content: + 9, // revision + 0, // classname + 0, 0, // classinfo + 3, 14, // methods + 0, 0, // properties + 0, 0, // enums/sets + 0, 0, // constructors + 0, // flags + 0, // signalCount + + // slots: name, argc, parameters, tag, flags, initial metatype offsets + 1, 0, 32, 2, 0x0a, 0 /* Public */, + 3, 0, 33, 2, 0x0a, 1 /* Public */, + 4, 0, 34, 2, 0x0a, 2 /* Public */, + + // slots: parameters + QMetaType::Void, + QMetaType::Void, + QMetaType::Void, + + 0 // eod +}; + +void SearchWindow::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a) +{ + if (_c == QMetaObject::InvokeMetaMethod) { + auto *_t = static_cast(_o); + (void)_t; + switch (_id) { + case 0: _t->search_filter(); break; + case 1: _t->add_current(); break; + case 2: _t->set_subf(); break; + default: ; + } + } + (void)_a; +} + +const QMetaObject SearchWindow::staticMetaObject = { { + QMetaObject::SuperData::link(), + qt_meta_stringdata_SearchWindow.offsetsAndSize, + qt_meta_data_SearchWindow, + qt_static_metacall, + nullptr, +qt_incomplete_metaTypeArray, QtPrivate::TypeAndForceComplete, QtPrivate::TypeAndForceComplete + + +>, + nullptr +} }; + + +const QMetaObject *SearchWindow::metaObject() const +{ + return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject; +} + +void *SearchWindow::qt_metacast(const char *_clname) +{ + if (!_clname) return nullptr; + if (!strcmp(_clname, qt_meta_stringdata_SearchWindow.stringdata0)) + return static_cast(this); + return QDialog::qt_metacast(_clname); +} + +int SearchWindow::qt_metacall(QMetaObject::Call _c, int _id, void **_a) +{ + _id = QDialog::qt_metacall(_c, _id, _a); + if (_id < 0) + return _id; + if (_c == QMetaObject::InvokeMetaMethod) { + if (_id < 3) + qt_static_metacall(this, _c, _id, _a); + _id -= 3; + } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) { + if (_id < 3) + *reinterpret_cast(_a[0]) = QMetaType(); + _id -= 3; + } + return _id; +} +QT_WARNING_POP +QT_END_MOC_NAMESPACE diff --git a/src/moc_slitscan_win.cpp b/src/moc_slitscan_win.cpp new file mode 100644 index 0000000..3474dcc --- /dev/null +++ b/src/moc_slitscan_win.cpp @@ -0,0 +1,123 @@ +/**************************************************************************** +** Meta object code from reading C++ file 'slitscan_win.h' +** +** Created by: The Qt Meta Object Compiler version 68 (Qt 6.1.2) +** +** WARNING! All changes made in this file will be lost! +*****************************************************************************/ + +#include +#include "slitscan_win.h" +#include +#include +#include +#if !defined(Q_MOC_OUTPUT_REVISION) +#error "The header file 'slitscan_win.h' doesn't include ." +#elif Q_MOC_OUTPUT_REVISION != 68 +#error "This file was generated using the moc from 6.1.2. It" +#error "cannot be used with the include files from this version of Qt." +#error "(The moc has changed too much.)" +#endif + +QT_BEGIN_MOC_NAMESPACE +QT_WARNING_PUSH +QT_WARNING_DISABLE_DEPRECATED +struct qt_meta_stringdata_SlitScanWindow_t { + const uint offsetsAndSize[6]; + char stringdata0[26]; +}; +#define QT_MOC_LITERAL(ofs, len) \ + uint(offsetof(qt_meta_stringdata_SlitScanWindow_t, stringdata0) + ofs), len +static const qt_meta_stringdata_SlitScanWindow_t qt_meta_stringdata_SlitScanWindow = { + { +QT_MOC_LITERAL(0, 14), // "SlitScanWindow" +QT_MOC_LITERAL(15, 9), // "setValues" +QT_MOC_LITERAL(25, 0) // "" + + }, + "SlitScanWindow\0setValues\0" +}; +#undef QT_MOC_LITERAL + +static const uint qt_meta_data_SlitScanWindow[] = { + + // content: + 9, // revision + 0, // classname + 0, 0, // classinfo + 1, 14, // methods + 0, 0, // properties + 0, 0, // enums/sets + 0, 0, // constructors + 0, // flags + 0, // signalCount + + // slots: name, argc, parameters, tag, flags, initial metatype offsets + 1, 0, 20, 2, 0x0a, 0 /* Public */, + + // slots: parameters + QMetaType::Void, + + 0 // eod +}; + +void SlitScanWindow::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a) +{ + if (_c == QMetaObject::InvokeMetaMethod) { + auto *_t = static_cast(_o); + (void)_t; + switch (_id) { + case 0: _t->setValues(); break; + default: ; + } + } + (void)_a; +} + +const QMetaObject SlitScanWindow::staticMetaObject = { { + QMetaObject::SuperData::link(), + qt_meta_stringdata_SlitScanWindow.offsetsAndSize, + qt_meta_data_SlitScanWindow, + qt_static_metacall, + nullptr, +qt_incomplete_metaTypeArray + + +>, + nullptr +} }; + + +const QMetaObject *SlitScanWindow::metaObject() const +{ + return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject; +} + +void *SlitScanWindow::qt_metacast(const char *_clname) +{ + if (!_clname) return nullptr; + if (!strcmp(_clname, qt_meta_stringdata_SlitScanWindow.stringdata0)) + return static_cast(this); + return QDialog::qt_metacast(_clname); +} + +int SlitScanWindow::qt_metacall(QMetaObject::Call _c, int _id, void **_a) +{ + _id = QDialog::qt_metacall(_c, _id, _a); + if (_id < 0) + return _id; + if (_c == QMetaObject::InvokeMetaMethod) { + if (_id < 1) + qt_static_metacall(this, _c, _id, _a); + _id -= 1; + } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) { + if (_id < 1) + *reinterpret_cast(_a[0]) = QMetaType(); + _id -= 1; + } + return _id; +} +QT_WARNING_POP +QT_END_MOC_NAMESPACE diff --git a/src/moc_user_define.cpp b/src/moc_user_define.cpp new file mode 100644 index 0000000..6342dfd --- /dev/null +++ b/src/moc_user_define.cpp @@ -0,0 +1,136 @@ +/**************************************************************************** +** Meta object code from reading C++ file 'user_define.h' +** +** Created by: The Qt Meta Object Compiler version 68 (Qt 6.1.2) +** +** WARNING! All changes made in this file will be lost! +*****************************************************************************/ + +#include +#include "user_define.h" +#include +#include +#include +#if !defined(Q_MOC_OUTPUT_REVISION) +#error "The header file 'user_define.h' doesn't include ." +#elif Q_MOC_OUTPUT_REVISION != 68 +#error "This file was generated using the moc from 6.1.2. It" +#error "cannot be used with the include files from this version of Qt." +#error "(The moc has changed too much.)" +#endif + +QT_BEGIN_MOC_NAMESPACE +QT_WARNING_PUSH +QT_WARNING_DISABLE_DEPRECATED +struct qt_meta_stringdata_DefineWindow_t { + const uint offsetsAndSize[12]; + char stringdata0[65]; +}; +#define QT_MOC_LITERAL(ofs, len) \ + uint(offsetof(qt_meta_stringdata_DefineWindow_t, stringdata0) + ofs), len +static const qt_meta_stringdata_DefineWindow_t qt_meta_stringdata_DefineWindow = { + { +QT_MOC_LITERAL(0, 12), // "DefineWindow" +QT_MOC_LITERAL(13, 13), // "setFilterName" +QT_MOC_LITERAL(27, 0), // "" +QT_MOC_LITERAL(28, 16), // "clearFilterNames" +QT_MOC_LITERAL(45, 9), // "saveNames" +QT_MOC_LITERAL(55, 9) // "loadNames" + + }, + "DefineWindow\0setFilterName\0\0" + "clearFilterNames\0saveNames\0loadNames" +}; +#undef QT_MOC_LITERAL + +static const uint qt_meta_data_DefineWindow[] = { + + // content: + 9, // revision + 0, // classname + 0, 0, // classinfo + 4, 14, // methods + 0, 0, // properties + 0, 0, // enums/sets + 0, 0, // constructors + 0, // flags + 0, // signalCount + + // slots: name, argc, parameters, tag, flags, initial metatype offsets + 1, 0, 38, 2, 0x0a, 0 /* Public */, + 3, 0, 39, 2, 0x0a, 1 /* Public */, + 4, 0, 40, 2, 0x0a, 2 /* Public */, + 5, 0, 41, 2, 0x0a, 3 /* Public */, + + // slots: parameters + QMetaType::Void, + QMetaType::Void, + QMetaType::Void, + QMetaType::Void, + + 0 // eod +}; + +void DefineWindow::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a) +{ + if (_c == QMetaObject::InvokeMetaMethod) { + auto *_t = static_cast(_o); + (void)_t; + switch (_id) { + case 0: _t->setFilterName(); break; + case 1: _t->clearFilterNames(); break; + case 2: _t->saveNames(); break; + case 3: _t->loadNames(); break; + default: ; + } + } + (void)_a; +} + +const QMetaObject DefineWindow::staticMetaObject = { { + QMetaObject::SuperData::link(), + qt_meta_stringdata_DefineWindow.offsetsAndSize, + qt_meta_data_DefineWindow, + qt_static_metacall, + nullptr, +qt_incomplete_metaTypeArray, QtPrivate::TypeAndForceComplete, QtPrivate::TypeAndForceComplete, QtPrivate::TypeAndForceComplete + + +>, + nullptr +} }; + + +const QMetaObject *DefineWindow::metaObject() const +{ + return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject; +} + +void *DefineWindow::qt_metacast(const char *_clname) +{ + if (!_clname) return nullptr; + if (!strcmp(_clname, qt_meta_stringdata_DefineWindow.stringdata0)) + return static_cast(this); + return QMainWindow::qt_metacast(_clname); +} + +int DefineWindow::qt_metacall(QMetaObject::Call _c, int _id, void **_a) +{ + _id = QMainWindow::qt_metacall(_c, _id, _a); + if (_id < 0) + return _id; + if (_c == QMetaObject::InvokeMetaMethod) { + if (_id < 4) + qt_static_metacall(this, _c, _id, _a); + _id -= 4; + } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) { + if (_id < 4) + *reinterpret_cast(_a[0]) = QMetaType(); + _id -= 4; + } + return _id; +} +QT_WARNING_POP +QT_END_MOC_NAMESPACE diff --git a/src/playback_thread.cpp b/src/playback_thread.cpp index 210263b..a9c8e29 100644 --- a/src/playback_thread.cpp +++ b/src/playback_thread.cpp @@ -139,10 +139,7 @@ void Playback::setAlpha(int a) { } bool Playback::getProgramMode() { - mutex.lock(); - bool m = single_mode; - mutex.unlock(); - return m; + return single_mode; } void Playback::setProcMode(int p) { @@ -186,12 +183,6 @@ void Playback::setWaitColorLevel(int w, int l) { mutex.unlock(); } -void Playback::setSubFilter_(int s) { - mutex.lock(); - ac::setSubFilter(s); - mutex.unlock(); -} - void Playback::setOptions(bool n, int c) { mutex.lock(); ac::isNegative = n; @@ -267,16 +258,9 @@ void Playback::setIndexChanged(std::string value) { alpha = 1.0; } -void Playback::setSubFilter(int index) { - mutex.lock(); - ac::setSubFilter(index); - mutex.unlock(); -} - void Playback::setSingleMode(bool val) { mutex.lock(); single_mode = val; - ac::setSubFilter(-1); mutex.unlock(); } diff --git a/src/playback_thread.h b/src/playback_thread.h index bbdc693..5272771 100644 --- a/src/playback_thread.h +++ b/src/playback_thread.h @@ -63,7 +63,6 @@ public: void setColorOptions(int b, int g, int s); void setAlpha(int a); void setProcMode(int p); - void setSubFilter_(int s); void setMaxAlloc(int a); unsigned int getObjectSize(); unsigned long allocatedFrames(); @@ -93,7 +92,6 @@ public: void drawEffects(cv::Mat &frame); void filterFade(cv::Mat &frame, FilterValue &filter1, FilterValue &filter2, double alpha); void reset_filters(); - void setSubFilter(int index); void enableRepeat(bool re); void setCycle(int type, int frame_skip, std::vector &val); void setCycle(int type);