/****************************************************************************
** Meta object code from reading C++ file 'shaderparamsdialog.h'
**
** Created by: The Qt Meta Object Compiler version 67 (Qt 5.15.2)
**
** WARNING! All changes made in this file will be lost!
*****************************************************************************/

#include <memory>
#include "../../../../../ui/drivers/qt/shaderparamsdialog.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'shaderparamsdialog.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 67
#error "This file was generated using the moc from 5.15.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_ShaderParamsDialog_t {
    QByteArrayData data[42];
    char stringdata0[939];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_ShaderParamsDialog_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_ShaderParamsDialog_t qt_meta_stringdata_ShaderParamsDialog = {
    {
QT_MOC_LITERAL(0, 0, 18), // "ShaderParamsDialog"
QT_MOC_LITERAL(1, 19, 6), // "closed"
QT_MOC_LITERAL(2, 26, 0), // ""
QT_MOC_LITERAL(3, 27, 7), // "resized"
QT_MOC_LITERAL(4, 35, 4), // "size"
QT_MOC_LITERAL(5, 40, 6), // "reload"
QT_MOC_LITERAL(6, 47, 28), // "onShaderParamCheckBoxClicked"
QT_MOC_LITERAL(7, 76, 31), // "onShaderParamSliderValueChanged"
QT_MOC_LITERAL(8, 108, 5), // "value"
QT_MOC_LITERAL(9, 114, 32), // "onShaderParamSpinBoxValueChanged"
QT_MOC_LITERAL(10, 147, 38), // "onShaderParamDoubleSpinBoxVal..."
QT_MOC_LITERAL(11, 186, 28), // "onFilterComboBoxIndexChanged"
QT_MOC_LITERAL(12, 215, 5), // "index"
QT_MOC_LITERAL(13, 221, 30), // "onGroupBoxContextMenuRequested"
QT_MOC_LITERAL(14, 252, 3), // "pos"
QT_MOC_LITERAL(15, 256, 36), // "onParameterLabelContextMenuRe..."
QT_MOC_LITERAL(16, 293, 27), // "onScaleComboBoxIndexChanged"
QT_MOC_LITERAL(17, 321, 27), // "onShaderPassMoveDownClicked"
QT_MOC_LITERAL(18, 349, 25), // "onShaderPassMoveUpClicked"
QT_MOC_LITERAL(19, 375, 17), // "onShaderResetPass"
QT_MOC_LITERAL(20, 393, 4), // "pass"
QT_MOC_LITERAL(21, 398, 22), // "onShaderResetAllPasses"
QT_MOC_LITERAL(22, 421, 18), // "onShaderRemovePass"
QT_MOC_LITERAL(23, 440, 30), // "onShaderRemoveAllPassesClicked"
QT_MOC_LITERAL(24, 471, 25), // "onShaderRemovePassClicked"
QT_MOC_LITERAL(25, 497, 22), // "onShaderResetParameter"
QT_MOC_LITERAL(26, 520, 9), // "parameter"
QT_MOC_LITERAL(27, 530, 25), // "onShaderLoadPresetClicked"
QT_MOC_LITERAL(28, 556, 22), // "onShaderAddPassClicked"
QT_MOC_LITERAL(29, 579, 27), // "onShaderSavePresetAsClicked"
QT_MOC_LITERAL(30, 607, 29), // "onShaderSaveCorePresetClicked"
QT_MOC_LITERAL(31, 637, 31), // "onShaderSaveParentPresetClicked"
QT_MOC_LITERAL(32, 669, 29), // "onShaderSaveGamePresetClicked"
QT_MOC_LITERAL(33, 699, 31), // "onShaderSaveGlobalPresetClicked"
QT_MOC_LITERAL(34, 731, 31), // "onShaderRemoveCorePresetClicked"
QT_MOC_LITERAL(35, 763, 33), // "onShaderRemoveParentPresetCli..."
QT_MOC_LITERAL(36, 797, 31), // "onShaderRemoveGamePresetClicked"
QT_MOC_LITERAL(37, 829, 33), // "onShaderRemoveGlobalPresetCli..."
QT_MOC_LITERAL(38, 863, 20), // "onShaderApplyClicked"
QT_MOC_LITERAL(39, 884, 30), // "updateRemovePresetButtonsState"
QT_MOC_LITERAL(40, 915, 11), // "clearLayout"
QT_MOC_LITERAL(41, 927, 11) // "buildLayout"

    },
    "ShaderParamsDialog\0closed\0\0resized\0"
    "size\0reload\0onShaderParamCheckBoxClicked\0"
    "onShaderParamSliderValueChanged\0value\0"
    "onShaderParamSpinBoxValueChanged\0"
    "onShaderParamDoubleSpinBoxValueChanged\0"
    "onFilterComboBoxIndexChanged\0index\0"
    "onGroupBoxContextMenuRequested\0pos\0"
    "onParameterLabelContextMenuRequested\0"
    "onScaleComboBoxIndexChanged\0"
    "onShaderPassMoveDownClicked\0"
    "onShaderPassMoveUpClicked\0onShaderResetPass\0"
    "pass\0onShaderResetAllPasses\0"
    "onShaderRemovePass\0onShaderRemoveAllPassesClicked\0"
    "onShaderRemovePassClicked\0"
    "onShaderResetParameter\0parameter\0"
    "onShaderLoadPresetClicked\0"
    "onShaderAddPassClicked\0"
    "onShaderSavePresetAsClicked\0"
    "onShaderSaveCorePresetClicked\0"
    "onShaderSaveParentPresetClicked\0"
    "onShaderSaveGamePresetClicked\0"
    "onShaderSaveGlobalPresetClicked\0"
    "onShaderRemoveCorePresetClicked\0"
    "onShaderRemoveParentPresetClicked\0"
    "onShaderRemoveGamePresetClicked\0"
    "onShaderRemoveGlobalPresetClicked\0"
    "onShaderApplyClicked\0"
    "updateRemovePresetButtonsState\0"
    "clearLayout\0buildLayout"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_ShaderParamsDialog[] = {

 // content:
       8,       // revision
       0,       // classname
       0,    0, // classinfo
      34,   14, // methods
       0,    0, // properties
       0,    0, // enums/sets
       0,    0, // constructors
       0,       // flags
       2,       // signalCount

 // signals: name, argc, parameters, tag, flags
       1,    0,  184,    2, 0x06 /* Public */,
       3,    1,  185,    2, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
       5,    0,  188,    2, 0x0a /* Public */,
       6,    0,  189,    2, 0x08 /* Private */,
       7,    1,  190,    2, 0x08 /* Private */,
       9,    1,  193,    2, 0x08 /* Private */,
      10,    1,  196,    2, 0x08 /* Private */,
      11,    1,  199,    2, 0x08 /* Private */,
      13,    1,  202,    2, 0x08 /* Private */,
      15,    1,  205,    2, 0x08 /* Private */,
      16,    1,  208,    2, 0x08 /* Private */,
      17,    0,  211,    2, 0x08 /* Private */,
      18,    0,  212,    2, 0x08 /* Private */,
      19,    1,  213,    2, 0x08 /* Private */,
      21,    0,  216,    2, 0x08 /* Private */,
      22,    1,  217,    2, 0x08 /* Private */,
      23,    0,  220,    2, 0x08 /* Private */,
      24,    0,  221,    2, 0x08 /* Private */,
      25,    1,  222,    2, 0x08 /* Private */,
      27,    0,  225,    2, 0x08 /* Private */,
      28,    0,  226,    2, 0x08 /* Private */,
      29,    0,  227,    2, 0x08 /* Private */,
      30,    0,  228,    2, 0x08 /* Private */,
      31,    0,  229,    2, 0x08 /* Private */,
      32,    0,  230,    2, 0x08 /* Private */,
      33,    0,  231,    2, 0x08 /* Private */,
      34,    0,  232,    2, 0x08 /* Private */,
      35,    0,  233,    2, 0x08 /* Private */,
      36,    0,  234,    2, 0x08 /* Private */,
      37,    0,  235,    2, 0x08 /* Private */,
      38,    0,  236,    2, 0x08 /* Private */,
      39,    0,  237,    2, 0x08 /* Private */,
      40,    0,  238,    2, 0x08 /* Private */,
      41,    0,  239,    2, 0x08 /* Private */,

 // signals: parameters
    QMetaType::Void,
    QMetaType::Void, QMetaType::QSize,    4,

 // slots: parameters
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, QMetaType::Int,    8,
    QMetaType::Void, QMetaType::Int,    8,
    QMetaType::Void, QMetaType::Double,    8,
    QMetaType::Void, QMetaType::Int,   12,
    QMetaType::Void, QMetaType::QPoint,   14,
    QMetaType::Void, QMetaType::QPoint,   14,
    QMetaType::Void, QMetaType::Int,   12,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, QMetaType::Int,   20,
    QMetaType::Void,
    QMetaType::Void, QMetaType::Int,   20,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, QMetaType::QString,   26,
    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,

       0        // eod
};

void ShaderParamsDialog::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        auto *_t = static_cast<ShaderParamsDialog *>(_o);
        (void)_t;
        switch (_id) {
        case 0: _t->closed(); break;
        case 1: _t->resized((*reinterpret_cast< QSize(*)>(_a[1]))); break;
        case 2: _t->reload(); break;
        case 3: _t->onShaderParamCheckBoxClicked(); break;
        case 4: _t->onShaderParamSliderValueChanged((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 5: _t->onShaderParamSpinBoxValueChanged((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 6: _t->onShaderParamDoubleSpinBoxValueChanged((*reinterpret_cast< double(*)>(_a[1]))); break;
        case 7: _t->onFilterComboBoxIndexChanged((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 8: _t->onGroupBoxContextMenuRequested((*reinterpret_cast< const QPoint(*)>(_a[1]))); break;
        case 9: _t->onParameterLabelContextMenuRequested((*reinterpret_cast< const QPoint(*)>(_a[1]))); break;
        case 10: _t->onScaleComboBoxIndexChanged((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 11: _t->onShaderPassMoveDownClicked(); break;
        case 12: _t->onShaderPassMoveUpClicked(); break;
        case 13: _t->onShaderResetPass((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 14: _t->onShaderResetAllPasses(); break;
        case 15: _t->onShaderRemovePass((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 16: _t->onShaderRemoveAllPassesClicked(); break;
        case 17: _t->onShaderRemovePassClicked(); break;
        case 18: _t->onShaderResetParameter((*reinterpret_cast< QString(*)>(_a[1]))); break;
        case 19: _t->onShaderLoadPresetClicked(); break;
        case 20: _t->onShaderAddPassClicked(); break;
        case 21: _t->onShaderSavePresetAsClicked(); break;
        case 22: _t->onShaderSaveCorePresetClicked(); break;
        case 23: _t->onShaderSaveParentPresetClicked(); break;
        case 24: _t->onShaderSaveGamePresetClicked(); break;
        case 25: _t->onShaderSaveGlobalPresetClicked(); break;
        case 26: _t->onShaderRemoveCorePresetClicked(); break;
        case 27: _t->onShaderRemoveParentPresetClicked(); break;
        case 28: _t->onShaderRemoveGamePresetClicked(); break;
        case 29: _t->onShaderRemoveGlobalPresetClicked(); break;
        case 30: _t->onShaderApplyClicked(); break;
        case 31: _t->updateRemovePresetButtonsState(); break;
        case 32: _t->clearLayout(); break;
        case 33: _t->buildLayout(); break;
        default: ;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        {
            using _t = void (ShaderParamsDialog::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&ShaderParamsDialog::closed)) {
                *result = 0;
                return;
            }
        }
        {
            using _t = void (ShaderParamsDialog::*)(QSize );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&ShaderParamsDialog::resized)) {
                *result = 1;
                return;
            }
        }
    }
}

QT_INIT_METAOBJECT const QMetaObject ShaderParamsDialog::staticMetaObject = { {
    QMetaObject::SuperData::link<QDialog::staticMetaObject>(),
    qt_meta_stringdata_ShaderParamsDialog.data,
    qt_meta_data_ShaderParamsDialog,
    qt_static_metacall,
    nullptr,
    nullptr
} };


const QMetaObject *ShaderParamsDialog::metaObject() const
{
    return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
}

void *ShaderParamsDialog::qt_metacast(const char *_clname)
{
    if (!_clname) return nullptr;
    if (!strcmp(_clname, qt_meta_stringdata_ShaderParamsDialog.stringdata0))
        return static_cast<void*>(this);
    return QDialog::qt_metacast(_clname);
}

int ShaderParamsDialog::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 < 34)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 34;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 34)
            *reinterpret_cast<int*>(_a[0]) = -1;
        _id -= 34;
    }
    return _id;
}

// SIGNAL 0
void ShaderParamsDialog::closed()
{
    QMetaObject::activate(this, &staticMetaObject, 0, nullptr);
}

// SIGNAL 1
void ShaderParamsDialog::resized(QSize _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
    QMetaObject::activate(this, &staticMetaObject, 1, _a);
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE
