void StPlot::showInterval(const ECGST::Interval& it) { ISOPoints->show(); JPoints->show(); STPoints->show(); legend->show(); auto span = it.span(); zoomX(span.first, span.second, true); }
void StPlot::showEpisode(const ECGST::Episode& e) { ISOPoints->hide(); JPoints->hide(); STPoints->hide(); legend->hide(); zoomX(e.start - 10, e.end + 10, true); }
int ONVIF::Configuration::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 < 24) qt_static_metacall(this, _c, _id, _a); _id -= 24; } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) { if (_id < 24) *reinterpret_cast<int*>(_a[0]) = -1; _id -= 24; } #ifndef QT_NO_PROPERTIES else if (_c == QMetaObject::ReadProperty) { void *_v = _a[0]; switch (_id) { case 0: *reinterpret_cast< QString*>(_v) = ptzConfigurationToken(); break; case 1: *reinterpret_cast< QString*>(_v) = name(); break; case 2: *reinterpret_cast< int*>(_v) = useCount(); break; case 3: *reinterpret_cast< QString*>(_v) = nodeToken(); break; case 4: *reinterpret_cast< QString*>(_v) = defaultAbsoluteZoomPositionSpace(); break; case 5: *reinterpret_cast< QString*>(_v) = defaultRelativePanTiltTranslationSpace(); break; case 6: *reinterpret_cast< QString*>(_v) = defaultRelativeZoomTranslationSpace(); break; case 7: *reinterpret_cast< QString*>(_v) = defaultContinuousPanTiltVelocitySpace(); break; case 8: *reinterpret_cast< QString*>(_v) = defaultContinuousZoomVelocitySpace(); break; case 9: *reinterpret_cast< QString*>(_v) = panTiltSpace(); break; case 10: *reinterpret_cast< float*>(_v) = panTiltX(); break; case 11: *reinterpret_cast< float*>(_v) = panTiltY(); break; case 12: *reinterpret_cast< QString*>(_v) = zoomSpace(); break; case 13: *reinterpret_cast< float*>(_v) = zoomX(); break; case 14: *reinterpret_cast< QString*>(_v) = defaultPTZTimeout(); break; case 15: *reinterpret_cast< QString*>(_v) = panTiltUri(); break; case 16: *reinterpret_cast< float*>(_v) = panTiltXRangeMin(); break; case 17: *reinterpret_cast< float*>(_v) = panTiltXRangeMax(); break; case 18: *reinterpret_cast< float*>(_v) = panTiltYRangeMin(); break; case 19: *reinterpret_cast< float*>(_v) = panTiltYRangeMax(); break; case 20: *reinterpret_cast< QString*>(_v) = zoomUri(); break; case 21: *reinterpret_cast< float*>(_v) = zoomXRangeMin(); break; case 22: *reinterpret_cast< float*>(_v) = zoomXRangeMax(); break; default: break; } _id -= 23; } else if (_c == QMetaObject::WriteProperty) { void *_v = _a[0]; switch (_id) { case 0: setPtzConfigurationToken(*reinterpret_cast< QString*>(_v)); break; case 1: setName(*reinterpret_cast< QString*>(_v)); break; case 2: setUseCount(*reinterpret_cast< int*>(_v)); break; case 3: setNodeToken(*reinterpret_cast< QString*>(_v)); break; case 4: setDefaultAbsoluteZoomPositionSpace(*reinterpret_cast< QString*>(_v)); break; case 5: setDefaultRelativePanTiltTranslationSpace(*reinterpret_cast< QString*>(_v)); break; case 6: setDefaultRelativeZoomTranslationSpace(*reinterpret_cast< QString*>(_v)); break; case 7: setDefaultContinuousPanTiltVelocitySpace(*reinterpret_cast< QString*>(_v)); break; case 8: setDefaultContinuousZoomVelocitySpace(*reinterpret_cast< QString*>(_v)); break; case 9: setPanTiltSpace(*reinterpret_cast< QString*>(_v)); break; case 10: setPanTiltX(*reinterpret_cast< float*>(_v)); break; case 11: setPanTiltY(*reinterpret_cast< float*>(_v)); break; case 12: setZoomSpace(*reinterpret_cast< QString*>(_v)); break; case 13: setZoomX(*reinterpret_cast< float*>(_v)); break; case 14: setDefaultPTZTimeout(*reinterpret_cast< QString*>(_v)); break; case 15: setPanTiltUri(*reinterpret_cast< QString*>(_v)); break; case 16: setPanTiltXRangeMin(*reinterpret_cast< float*>(_v)); break; case 17: setPanTiltXRangeMax(*reinterpret_cast< float*>(_v)); break; case 18: setPanTiltYRangeMin(*reinterpret_cast< float*>(_v)); break; case 19: setPanTiltYRangeMax(*reinterpret_cast< float*>(_v)); break; case 20: setZoomUri(*reinterpret_cast< QString*>(_v)); break; case 21: setZoomXRangeMin(*reinterpret_cast< float*>(_v)); break; case 22: setZoomXRangeMax(*reinterpret_cast< float*>(_v)); break; default: break; } _id -= 23; } else if (_c == QMetaObject::ResetProperty) { _id -= 23; } else if (_c == QMetaObject::QueryPropertyDesignable) { _id -= 23; } else if (_c == QMetaObject::QueryPropertyScriptable) { _id -= 23; } else if (_c == QMetaObject::QueryPropertyStored) { _id -= 23; } else if (_c == QMetaObject::QueryPropertyEditable) { _id -= 23; } else if (_c == QMetaObject::QueryPropertyUser) { _id -= 23; } else if (_c == QMetaObject::RegisterPropertyMetaType) { if (_id < 23) *reinterpret_cast<int*>(_a[0]) = -1; _id -= 23; } #endif // QT_NO_PROPERTIES return _id; }
int ONVIF::GotoPreset::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 < 8) qt_static_metacall(this, _c, _id, _a); _id -= 8; } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) { if (_id < 8) *reinterpret_cast<int*>(_a[0]) = -1; _id -= 8; } #ifndef QT_NO_PROPERTIES else if (_c == QMetaObject::ReadProperty) { void *_v = _a[0]; switch (_id) { case 0: *reinterpret_cast< QString*>(_v) = profileToken(); break; case 1: *reinterpret_cast< QString*>(_v) = presetToken(); break; case 2: *reinterpret_cast< float*>(_v) = panTiltX(); break; case 3: *reinterpret_cast< float*>(_v) = panTiltY(); break; case 4: *reinterpret_cast< QString*>(_v) = panTiltSpace(); break; case 5: *reinterpret_cast< float*>(_v) = zoomX(); break; case 6: *reinterpret_cast< QString*>(_v) = zoomSpace(); break; case 7: *reinterpret_cast< bool*>(_v) = result(); break; default: break; } _id -= 8; } else if (_c == QMetaObject::WriteProperty) { void *_v = _a[0]; switch (_id) { case 0: setProfileToken(*reinterpret_cast< QString*>(_v)); break; case 1: setPresetToken(*reinterpret_cast< QString*>(_v)); break; case 2: setPanTiltX(*reinterpret_cast< float*>(_v)); break; case 3: setPanTiltY(*reinterpret_cast< float*>(_v)); break; case 4: setPanTiltSpace(*reinterpret_cast< QString*>(_v)); break; case 5: setZoomX(*reinterpret_cast< float*>(_v)); break; case 6: setZoomSpace(*reinterpret_cast< QString*>(_v)); break; case 7: setResult(*reinterpret_cast< bool*>(_v)); break; default: break; } _id -= 8; } else if (_c == QMetaObject::ResetProperty) { _id -= 8; } else if (_c == QMetaObject::QueryPropertyDesignable) { _id -= 8; } else if (_c == QMetaObject::QueryPropertyScriptable) { _id -= 8; } else if (_c == QMetaObject::QueryPropertyStored) { _id -= 8; } else if (_c == QMetaObject::QueryPropertyEditable) { _id -= 8; } else if (_c == QMetaObject::QueryPropertyUser) { _id -= 8; } else if (_c == QMetaObject::RegisterPropertyMetaType) { if (_id < 8) *reinterpret_cast<int*>(_a[0]) = -1; _id -= 8; } #endif // QT_NO_PROPERTIES return _id; }