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 |