Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

help me float error #6

Open
ginowhis opened this issue Apr 25, 2023 · 0 comments
Open

help me float error #6

ginowhis opened this issue Apr 25, 2023 · 0 comments

Comments

@ginowhis
Copy link

C:\Users\umutd\Desktop\pyqt5-custom-widgets-1.0.1\examples>example_requesthandler.py
Traceback (most recent call last):
File "C:\Users\umutd\Desktop\pyqt5-custom-widgets-1.0.1\examples\pyqt5Custom\styledbutton.py", line 276, in paintEvent
else: fc = self.anim_hover.lerp(fc1, fc2)
File "C:\Users\umutd\Desktop\pyqt5-custom-widgets-1.0.1\examples\pyqt5Custom\animation.py", line 102, in lerp
return QColor(r, g, _b, _a)
TypeError: arguments did not match any overloaded call:
QColor(color: Qt.GlobalColor): argument 1 has unexpected type 'float'
QColor(rgb: int): argument 1 has unexpected type 'float'
QColor(rgba64: QRgba64): argument 1 has unexpected type 'float'
QColor(variant: Any): too many arguments
QColor(): too many arguments
QColor(r: int, g: int, b: int, alpha: int = 255): argument 1 has unexpected type 'float'
QColor(aname: str): argument 1 has unexpected type 'float'
QColor(acolor: Union[QColor, Qt.GlobalColor, QGradient]): argument 1 has unexpected type 'float'

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

No branches or pull requests

1 participant