Skip to content

Couldnt draw AOI #4

@Shahryar3079

Description

@Shahryar3079

Hello,

I am using this software for DIC and when I start to draw AOI it crashes and following error appears in command prompt.

File "C:\Users\Shahryar\py2DIC-master\sources\DIC_UI.py", line 96, in paint
painter.drawEllipse(self.x-self.radius, self.y-self.radius, 2self.radius, 2self.radius)
TypeError: arguments did not match any overloaded call:
drawEllipse(self, r: QRectF): argument 1 has unexpected type 'float'
drawEllipse(self, r: QRect): argument 1 has unexpected type 'float'
drawEllipse(self, x: int, y: int, w: int, h: int): argument 1 has unexpected type 'float'
drawEllipse(self, center: Union[QPointF, QPoint], rx: float, ry: float): argument 1 has unexpected type 'float'
drawEllipse(self, center: QPoint, rx: int, ry: int): argument 1 has unexpected type 'float'

Please let me know why its happening.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions