agiliq / snipe

A better screenshot tool
BSD 3-Clause "New" or "Revised" License
5 stars 4 forks source link

Unable to draw an arrow #4

Open shabda opened 10 years ago

shabda commented 10 years ago

Not sure how I should be drawing an arrow, but I tried dragging to draw which gives me this error message.

moved at 575, 292 moved at 616, 275 moved at 651, 260 moved at 680, 249 moved at 699, 238 moved at 716, 227 moved at 729, 220 moved at 734, 218 moved at 736, 217 Traceback (most recent call last): File "/home/shabda/repos/snipe/snipe/app.py", line 77, in mouseReleaseEvent line = QtCore.QLineF(self.arrowStart, self.arrowEnd) TypeError: arguments did not match any overloaded call: QLineF(QLine): argument 1 has unexpected type 'QPoint' QLineF(): too many arguments QLineF(QPointF, QPointF): argument 1 has unexpected type 'QPoint' QLineF(float, float, float, float): argument 1 has unexpected type 'QPoint' QLineF(QLineF): argument 1 has unexpected type 'QPoint'