Advertisement
Guest User

Untitled

a guest
Mar 10th, 2012
64
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.21 KB | None | 0 0
  1. def paintEvent(self,event):
  2. painter = QtGui.QPainter(self)
  3. painter.fillRect(self.rect(), QtCore.Qt.red)
  4. return
  5. self.widget.gameViewport.paintEvent = paintEvent
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement