Exemplo n.º 1
0
 def paintGL(self):
     if not USE_QOPENGLWIDGET:
         glViewport(0, 0, int(self.fb_scale * self.width()),
                      int(self.fb_scale * self.height()))
     self.pymol.draw()
     self._timer.start(0)
Exemplo n.º 2
0
 def paintGL(self):
     if not USE_QOPENGLWIDGET:
         glViewport(0, 0, int(self.fb_scale * self.width()),
                      int(self.fb_scale * self.height()))
     self.pymol.draw()
     self._timer.start(0)
Exemplo n.º 3
0
 def paintGL(self):
     glViewport(0, 0, int(self.fb_scale * self.width()),
                int(self.fb_scale * self.height()))
     self.pymol.draw()
     self._timer.start(0)