Inherits from
- QWidget: PyQt4.QtGui.QWidget
Method summary
- __init__(self, parent = 0, flags = 0)
- blit(self, event)
- do_draw(self, gc)
- new_gc(self, size)
- paintEvent(self, event)
- sizeEvent(self, event)
Methods
- __init__(self, parent = 0, flags = 0)
- blit(self, event)
Blits the pixels in self.gc into the screen buffer.
- do_draw(self, gc)
Method to be implemented by subclasses to actually perform various GC drawing commands before the GC is blitted into the screen.
- new_gc(self, size)
Creates a new GC of the requested size (or of the widget's current size if size is None) and stores it in self.gc.
- paintEvent(self, event)
- sizeEvent(self, event)