15 #ifndef QVTKOpenGLStereoWidget_h 
   16 #define QVTKOpenGLStereoWidget_h 
   18 #include "vtkGUISupportQtModule.h"  
   67   typedef QWidget Superclass;
 
   72     QOpenGLContext* shareContext, QWidget* parent = 
nullptr, Qt::WindowFlags f = Qt::WindowFlags());
 
   74     Qt::WindowFlags f = Qt::WindowFlags());
 
   76     QWidget* parent = 
nullptr, Qt::WindowFlags f = Qt::WindowFlags());
 
   85     this->VTKOpenGLWindow->setRenderWindow(win);
 
  111   void setEnableHiDPI(
bool enable) { this->VTKOpenGLWindow->setEnableHiDPI(enable); }
 
  112   bool enableHiDPI()
 const { 
return this->VTKOpenGLWindow->enableHiDPI(); }
 
  120   int unscaledDPI()
 const { 
return this->VTKOpenGLWindow->unscaledDPI(); }
 
  127   void setDefaultCursor(
const QCursor& cursor) { this->VTKOpenGLWindow->setDefaultCursor(cursor); }
 
  128   const QCursor& 
defaultCursor()
 const { 
return this->VTKOpenGLWindow->defaultCursor(); }
 
  135   bool isValid() { 
return this->VTKOpenGLWindow->isValid(); }
 
  141   QImage grabFramebuffer();
 
  157   void setFormat(
const QSurfaceFormat& fmt) { this->VTKOpenGLWindow->setFormat(fmt); }
 
  162   QSurfaceFormat 
format()
 const { 
return this->VTKOpenGLWindow->format(); }
 
  192   VTK_LEGACY(
void setQVTKCursor(
const QCursor& cursor));
 
  197   VTK_LEGACY(
void setDefaultQVTKCursor(
const QCursor& cursor));
 
  200   void resizeEvent(QResizeEvent* evt) 
override;
 
  201   void paintEvent(QPaintEvent* evt) 
override;
 
  204   QPointer<QVTKOpenGLWindow> VTKOpenGLWindow;