Skip to content

[Bug] Fix drawText bug#170

Merged
GreatV merged 1 commit intoPFCCLab:mainfrom
Sam-gsj:bug_draw
Jun 13, 2025
Merged

[Bug] Fix drawText bug#170
GreatV merged 1 commit intoPFCCLab:mainfrom
Sam-gsj:bug_draw

Conversation

@Sam-gsj
Copy link
Collaborator

@Sam-gsj Sam-gsj commented Jun 13, 2025

When using the label display function, an error occurs.
drawText(self, p: Union[QPointF, QPoint], s: Optional[str]): argument 1 has unexpected type 'float'
drawText(self, rectangle: QRectF, flags: int, text: Optional[str]): argument 1 has unexpected type 'float'
drawText(self, rectangle: QRect, flags: int, text: Optional[str]): argument 1 has unexpected type 'float'
drawText(self, rectangle: QRectF, text: Optional[str], option: QTextOption = QTextOption()): argument 1 has unexpected type 'float'
drawText(self, p: QPoint, s: Optional[str]): argument 1 has unexpected type 'float'
drawText(self, x: int, y: int, width: int, height: int, flags: int, text: Optional[str]): argument 1 has unexpected type 'float'
drawText(self, x: int, y: int, s: Optional[str]): argument 1 has unexpected type 'float'

Copy link
Collaborator

@GreatV GreatV left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@GreatV GreatV merged commit 3e6bd23 into PFCCLab:main Jun 13, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants