Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- def paintEvent(self,event):
- painter = QtGui.QPainter(self)
- painter.fillRect(self.rect(), QtCore.Qt.red)
- return
- self.widget.gameViewport.paintEvent = paintEvent
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement