Snapshot/SnapshotRegionGrabber.py

changeset 2194
0fce40af66b8
parent 2131
e79d0610347a
child 2302
f29e9405c851
equal deleted inserted replaced
2193:fc37253e4dbd 2194:0fce40af66b8
8 """ 8 """
9 9
10 from PyQt4.QtCore import pyqtSignal, Qt, QRect, QPoint, QTimer, qVersion 10 from PyQt4.QtCore import pyqtSignal, Qt, QRect, QPoint, QTimer, qVersion
11 from PyQt4.QtGui import QWidget, QPixmap, QColor, QRegion, QApplication, QPainter, \ 11 from PyQt4.QtGui import QWidget, QPixmap, QColor, QRegion, QApplication, QPainter, \
12 QPalette, QToolTip, QPaintEngine, QPen, QBrush 12 QPalette, QToolTip, QPaintEngine, QPen, QBrush
13
13 14
14 def drawRect(painter, rect, outline, fill=QColor()): 15 def drawRect(painter, rect, outline, fill=QColor()):
15 """ 16 """
16 Module function to draw a rectangle with the given parameters. 17 Module function to draw a rectangle with the given parameters.
17 18

eric ide

mercurial