Beispiel #1
0
 def __init__(self, color=None, width=None, style=Qt.SolidLine, cap=Qt.SquareCap, join=Qt.BevelJoin):
     if color is None or color == Qt.NoPen:
         QPen.__init__(self, Qt.NoPen)
     else:
         QPen.__init__(self, color, width, style, cap, join)