103 #ifndef QVTKOpenGLNativeWidget_h 
  104 #define QVTKOpenGLNativeWidget_h 
  106 #include <QOpenGLWidget> 
  107 #include <QScopedPointer>  
  110 #include "vtkGUISupportQtModule.h"  
  122   typedef QOpenGLWidget Superclass;
 
  127     Qt::WindowFlags f = Qt::WindowFlags());
 
  154   static QSurfaceFormat defaultFormat(
bool stereo_capable = 
false);
 
  163   void setEnableHiDPI(
bool enable);
 
  172   void setUnscaledDPI(
int);
 
  180   void setDefaultCursor(
const QCursor& cursor);
 
  212   VTK_LEGACY(
void setQVTKCursor(
const QCursor& cursor));
 
  217   VTK_LEGACY(
void setDefaultQVTKCursor(
const QCursor& cursor));
 
  225   virtual void cleanupContext();
 
  230   bool event(QEvent* evt) 
override;
 
  231   void initializeGL() 
override;
 
  232   void paintGL() 
override;
 
  243   QCursor DefaultCursor;