In this video we are going to learn how we can use custom SubClasses in QtDesigner.
This process is called promoting a widget.
For recent versions of PySide6 you need to set the Direction enum for this example to work.
So you need to replace:
self.marginsAnim.Forward
with:
self.marginsAnim.Direction.Forward
And:
self.marginsAnim.Backward
with:
self.marginsAnim.Direction.Backward
This video is setting the scene for our following video/s on Animation.
Relevant Links
PyQt & PySide Course Playlist: • PyQt6 & PySide6 Course
Support me on:
https://gumroad.com/mad_pony_interactive
/ madponyinteractive
https://madponyinteractive.artstation...
https://flippednormals.com/creator/ma... https://www.buymeacoffee.com/MadPonyInt