def paintEvent(self, event):
     if self.toolbar:
         self.toolbar.setPos(self.mapToScene(0, 0))
     QGraphicsView.paintEvent(self, event)
Esempio n. 2
0
 def paintEvent(self, event):
     if self.toolbar:
         self.toolbar.setPos(self.mapToScene(0, 0))
     QGraphicsView.paintEvent(self, event)
Esempio n. 3
0
 def paintEvent(self, ev):
     if self.paint:
         self.scene().prepareForPaint()
     return QGraphicsView.paintEvent(self, ev)
Esempio n. 4
0
File: Plot.py Progetto: dani-l/PaPI
 def paintEvent(self, ev):
     if self.paint:
         self.scene().prepareForPaint()
     return QGraphicsView.paintEvent(self, ev)
Esempio n. 5
0
 def paintEvent(self, event):
     
     print('paint event')
     QGraphicsView.paintEvent(self, event)