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

#include "../../src/analitza-17.08.3/analitzawidgets/plotsview2d.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'plotsview2d.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 67
#error "This file was generated using the moc from 5.9.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_Analitza__PlotsView2D_t {
    QByteArrayData data[38];
    char stringdata0[399];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_Analitza__PlotsView2D_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_Analitza__PlotsView2D_t qt_meta_stringdata_Analitza__PlotsView2D = {
    {
QT_MOC_LITERAL(0, 0, 21), // "Analitza::PlotsView2D"
QT_MOC_LITERAL(1, 22, 6), // "status"
QT_MOC_LITERAL(2, 29, 0), // ""
QT_MOC_LITERAL(3, 30, 3), // "msg"
QT_MOC_LITERAL(4, 34, 15), // "viewportChanged"
QT_MOC_LITERAL(5, 50, 15), // "showGridChanged"
QT_MOC_LITERAL(6, 66, 12), // "forceRepaint"
QT_MOC_LITERAL(7, 79, 13), // "resetViewport"
QT_MOC_LITERAL(8, 93, 8), // "isFramed"
QT_MOC_LITERAL(9, 102, 9), // "setFramed"
QT_MOC_LITERAL(10, 112, 2), // "fr"
QT_MOC_LITERAL(11, 115, 10), // "isReadOnly"
QT_MOC_LITERAL(12, 126, 11), // "setReadOnly"
QT_MOC_LITERAL(13, 138, 2), // "ro"
QT_MOC_LITERAL(14, 141, 19), // "snapshotToClipboard"
QT_MOC_LITERAL(15, 161, 13), // "setXAxisLabel"
QT_MOC_LITERAL(16, 175, 5), // "label"
QT_MOC_LITERAL(17, 181, 13), // "setYAxisLabel"
QT_MOC_LITERAL(18, 195, 12), // "setGridColor"
QT_MOC_LITERAL(19, 208, 5), // "color"
QT_MOC_LITERAL(20, 214, 13), // "setTicksShown"
QT_MOC_LITERAL(21, 228, 23), // "QFlags<Qt::Orientation>"
QT_MOC_LITERAL(22, 252, 1), // "o"
QT_MOC_LITERAL(23, 254, 12), // "setAxesShown"
QT_MOC_LITERAL(24, 267, 6), // "zoomIn"
QT_MOC_LITERAL(25, 274, 7), // "zoomOut"
QT_MOC_LITERAL(26, 282, 11), // "updateFuncs"
QT_MOC_LITERAL(27, 294, 6), // "parent"
QT_MOC_LITERAL(28, 301, 5), // "start"
QT_MOC_LITERAL(29, 307, 3), // "end"
QT_MOC_LITERAL(30, 311, 8), // "addFuncs"
QT_MOC_LITERAL(31, 320, 11), // "removeFuncs"
QT_MOC_LITERAL(32, 332, 14), // "changeViewport"
QT_MOC_LITERAL(33, 347, 2), // "vp"
QT_MOC_LITERAL(34, 350, 8), // "showGrid"
QT_MOC_LITERAL(35, 359, 9), // "gridColor"
QT_MOC_LITERAL(36, 369, 15), // "backgroundColor"
QT_MOC_LITERAL(37, 385, 13) // "autoGridStyle"

    },
    "Analitza::PlotsView2D\0status\0\0msg\0"
    "viewportChanged\0showGridChanged\0"
    "forceRepaint\0resetViewport\0isFramed\0"
    "setFramed\0fr\0isReadOnly\0setReadOnly\0"
    "ro\0snapshotToClipboard\0setXAxisLabel\0"
    "label\0setYAxisLabel\0setGridColor\0color\0"
    "setTicksShown\0QFlags<Qt::Orientation>\0"
    "o\0setAxesShown\0zoomIn\0zoomOut\0updateFuncs\0"
    "parent\0start\0end\0addFuncs\0removeFuncs\0"
    "changeViewport\0vp\0showGrid\0gridColor\0"
    "backgroundColor\0autoGridStyle"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_Analitza__PlotsView2D[] = {

 // content:
       7,       // revision
       0,       // classname
       0,    0, // classinfo
      22,   14, // methods
       4,  188, // properties
       0,    0, // enums/sets
       0,    0, // constructors
       0,       // flags
       3,       // signalCount

 // signals: name, argc, parameters, tag, flags
       1,    1,  124,    2, 0x06 /* Public */,
       4,    1,  127,    2, 0x06 /* Public */,
       5,    0,  130,    2, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
       6,    0,  131,    2, 0x0a /* Public */,
       7,    0,  132,    2, 0x0a /* Public */,
       8,    0,  133,    2, 0x0a /* Public */,
       9,    1,  134,    2, 0x0a /* Public */,
      11,    0,  137,    2, 0x0a /* Public */,
      12,    1,  138,    2, 0x0a /* Public */,
      14,    0,  141,    2, 0x0a /* Public */,
      15,    1,  142,    2, 0x0a /* Public */,
      17,    1,  145,    2, 0x0a /* Public */,
      18,    1,  148,    2, 0x0a /* Public */,
      20,    1,  151,    2, 0x0a /* Public */,
      23,    1,  154,    2, 0x0a /* Public */,
      24,    0,  157,    2, 0x0a /* Public */,
      25,    0,  158,    2, 0x0a /* Public */,
      26,    3,  159,    2, 0x08 /* Private */,
      26,    2,  166,    2, 0x08 /* Private */,
      30,    3,  171,    2, 0x08 /* Private */,
      31,    3,  178,    2, 0x08 /* Private */,
      32,    1,  185,    2, 0x08 /* Private */,

 // signals: parameters
    QMetaType::Void, QMetaType::QString,    3,
    QMetaType::Void, QMetaType::QRectF,    2,
    QMetaType::Void,

 // slots: parameters
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Bool,
    QMetaType::Void, QMetaType::Bool,   10,
    QMetaType::Bool,
    QMetaType::Void, QMetaType::Bool,   13,
    QMetaType::Void,
    QMetaType::Void, QMetaType::QString,   16,
    QMetaType::Void, QMetaType::QString,   16,
    QMetaType::Void, QMetaType::QColor,   19,
    QMetaType::Void, 0x80000000 | 21,   22,
    QMetaType::Void, 0x80000000 | 21,   22,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, QMetaType::QModelIndex, QMetaType::Int, QMetaType::Int,   27,   28,   29,
    QMetaType::Void, QMetaType::QModelIndex, QMetaType::QModelIndex,   28,   29,
    QMetaType::Void, QMetaType::QModelIndex, QMetaType::Int, QMetaType::Int,   27,   28,   29,
    QMetaType::Void, QMetaType::QModelIndex, QMetaType::Int, QMetaType::Int,   27,   28,   29,
    QMetaType::Void, QMetaType::QRectF,   33,

 // properties: name, type, flags
      34, QMetaType::Bool, 0x00095103,
      35, QMetaType::QColor, 0x00095103,
      36, QMetaType::QColor, 0x00095103,
      37, QMetaType::Bool, 0x00095103,

       0        // eod
};

void Analitza::PlotsView2D::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        PlotsView2D *_t = static_cast<PlotsView2D *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->status((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 1: _t->viewportChanged((*reinterpret_cast< const QRectF(*)>(_a[1]))); break;
        case 2: _t->showGridChanged(); break;
        case 3: _t->forceRepaint(); break;
        case 4: _t->resetViewport(); break;
        case 5: { bool _r = _t->isFramed();
            if (_a[0]) *reinterpret_cast< bool*>(_a[0]) = std::move(_r); }  break;
        case 6: _t->setFramed((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 7: { bool _r = _t->isReadOnly();
            if (_a[0]) *reinterpret_cast< bool*>(_a[0]) = std::move(_r); }  break;
        case 8: _t->setReadOnly((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 9: _t->snapshotToClipboard(); break;
        case 10: _t->setXAxisLabel((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 11: _t->setYAxisLabel((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 12: _t->setGridColor((*reinterpret_cast< const QColor(*)>(_a[1]))); break;
        case 13: _t->setTicksShown((*reinterpret_cast< QFlags<Qt::Orientation>(*)>(_a[1]))); break;
        case 14: _t->setAxesShown((*reinterpret_cast< QFlags<Qt::Orientation>(*)>(_a[1]))); break;
        case 15: _t->zoomIn(); break;
        case 16: _t->zoomOut(); break;
        case 17: _t->updateFuncs((*reinterpret_cast< const QModelIndex(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2])),(*reinterpret_cast< int(*)>(_a[3]))); break;
        case 18: _t->updateFuncs((*reinterpret_cast< const QModelIndex(*)>(_a[1])),(*reinterpret_cast< const QModelIndex(*)>(_a[2]))); break;
        case 19: _t->addFuncs((*reinterpret_cast< const QModelIndex(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2])),(*reinterpret_cast< int(*)>(_a[3]))); break;
        case 20: _t->removeFuncs((*reinterpret_cast< const QModelIndex(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2])),(*reinterpret_cast< int(*)>(_a[3]))); break;
        case 21: _t->changeViewport((*reinterpret_cast< const QRectF(*)>(_a[1]))); break;
        default: ;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        void **func = reinterpret_cast<void **>(_a[1]);
        {
            typedef void (PlotsView2D::*_t)(const QString & );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&PlotsView2D::status)) {
                *result = 0;
                return;
            }
        }
        {
            typedef void (PlotsView2D::*_t)(const QRectF & );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&PlotsView2D::viewportChanged)) {
                *result = 1;
                return;
            }
        }
        {
            typedef void (PlotsView2D::*_t)();
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&PlotsView2D::showGridChanged)) {
                *result = 2;
                return;
            }
        }
    }
#ifndef QT_NO_PROPERTIES
    else if (_c == QMetaObject::ReadProperty) {
        PlotsView2D *_t = static_cast<PlotsView2D *>(_o);
        Q_UNUSED(_t)
        void *_v = _a[0];
        switch (_id) {
        case 0: *reinterpret_cast< bool*>(_v) = _t->showGrid(); break;
        case 1: *reinterpret_cast< QColor*>(_v) = _t->gridColor(); break;
        case 2: *reinterpret_cast< QColor*>(_v) = _t->backgroundColor(); break;
        case 3: *reinterpret_cast< bool*>(_v) = _t->autoGridStyle(); break;
        default: break;
        }
    } else if (_c == QMetaObject::WriteProperty) {
        PlotsView2D *_t = static_cast<PlotsView2D *>(_o);
        Q_UNUSED(_t)
        void *_v = _a[0];
        switch (_id) {
        case 0: _t->setShowGrid(*reinterpret_cast< bool*>(_v)); break;
        case 1: _t->setGridColor(*reinterpret_cast< QColor*>(_v)); break;
        case 2: _t->setBackgroundColor(*reinterpret_cast< QColor*>(_v)); break;
        case 3: _t->setAutoGridStyle(*reinterpret_cast< bool*>(_v)); break;
        default: break;
        }
    } else if (_c == QMetaObject::ResetProperty) {
    }
#endif // QT_NO_PROPERTIES
}

const QMetaObject Analitza::PlotsView2D::staticMetaObject = {
    { &QWidget::staticMetaObject, qt_meta_stringdata_Analitza__PlotsView2D.data,
      qt_meta_data_Analitza__PlotsView2D,  qt_static_metacall, nullptr, nullptr}
};


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

void *Analitza::PlotsView2D::qt_metacast(const char *_clname)
{
    if (!_clname) return nullptr;
    if (!strcmp(_clname, qt_meta_stringdata_Analitza__PlotsView2D.stringdata0))
        return static_cast<void*>(this);
    if (!strcmp(_clname, "Plotter2D"))
        return static_cast< Plotter2D*>(this);
    return QWidget::qt_metacast(_clname);
}

int Analitza::PlotsView2D::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = QWidget::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    if (_c == QMetaObject::InvokeMetaMethod) {
        if (_id < 22)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 22;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 22)
            *reinterpret_cast<int*>(_a[0]) = -1;
        _id -= 22;
    }
#ifndef QT_NO_PROPERTIES
   else if (_c == QMetaObject::ReadProperty || _c == QMetaObject::WriteProperty
            || _c == QMetaObject::ResetProperty || _c == QMetaObject::RegisterPropertyMetaType) {
        qt_static_metacall(this, _c, _id, _a);
        _id -= 4;
    } else if (_c == QMetaObject::QueryPropertyDesignable) {
        _id -= 4;
    } else if (_c == QMetaObject::QueryPropertyScriptable) {
        _id -= 4;
    } else if (_c == QMetaObject::QueryPropertyStored) {
        _id -= 4;
    } else if (_c == QMetaObject::QueryPropertyEditable) {
        _id -= 4;
    } else if (_c == QMetaObject::QueryPropertyUser) {
        _id -= 4;
    }
#endif // QT_NO_PROPERTIES
    return _id;
}

// SIGNAL 0
void Analitza::PlotsView2D::status(const QString & _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 0, _a);
}

// SIGNAL 1
void Analitza::PlotsView2D::viewportChanged(const QRectF & _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 1, _a);
}

// SIGNAL 2
void Analitza::PlotsView2D::showGridChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 2, nullptr);
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE
