MCPcopy Create free account
hub / github.com/NatronGitHub/Natron / leaveEvent

Method leaveEvent

Gui/ViewerGL.cpp:3206–3219  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3204}
3205
3206void
3207ViewerGL::leaveEvent(QEvent* e)
3208{
3209 // always running in the main thread
3210 assert( qApp && qApp->thread() == QThread::currentThread() );
3211 if (_imp->pickerState == ePickerStateInactive) {
3212 _imp->infoViewer[0]->hideColorInfo();
3213 _imp->infoViewer[1]->hideColorInfo();
3214 setParametricParamsPickerColor(OfxRGBAColourD(), false, false);
3215 }
3216 _imp->infoViewer[0]->hideMouseInfo();
3217 _imp->infoViewer[1]->hideMouseInfo();
3218 QOpenGLWidget::leaveEvent(e);
3219}
3220
3221void
3222ViewerGL::resizeEvent(QResizeEvent* e)

Callers

nothing calls this directly

Calls 2

hideColorInfoMethod · 0.80
hideMouseInfoMethod · 0.80

Tested by

no test coverage detected