void OpenGLWidgetRenderer::showEvent(QShowEvent *) { onShowEvent(); }
void GLWidgetRenderer2::showEvent(QShowEvent *) { onShowEvent(); resizeGL(width(), height()); }
void GLWidgetRenderer2::showEvent(QShowEvent *) { onShowEvent(); }