Version: 0.0.1
AnimPicker is a QDialog based on the PySide6 QEasing animation example that allows for a user to pick animation curves and parameters.

Contributors
Fabio Goncalves
GitHub Page
Inheritance |
PySide6.QtWidgets.QDialog |
Detailed Description
AnimPicker is a QDialog based on the PySide6 QEasing animation example that allows for a user to pick animation curves and parameters.
You can see this dialog in action in the Expander Plugin
Or simply by opening it’s file located in MadQt/Widgets/anim_picker.py
You can use it as any other QDialog
from MadQt.Widgets import AnimPicker
dialog = AnimPicker()
if dialog.exec() == QDialog.Accepted:
print(dialog.curve())
print(dialog.loop())
print(dialog.duration())
print(dialog.period())
print(dialog.amplitude())
print(dialog.overshoot())
- Parameters
- curve - int
- loop - bool
- duration - int
- period - float
- amplitude - float
- overshoot - float
- parent - QWidget
from MadQt.Widgets import AnimPicker
dialog = AnimPicker(
curve=35,
loop=True,
duration=2000,
period=None,
amplitude=None,
overshoot=None,
parent=None)
setCurve
Sets the curve number to use. |
curve
Returns the curve number. |
loop
duration
Returns animation duration. |
period
Returns animation curve period. |
amplitude
Returns animation curve amplitude. |
overshoot
Returns animation curve overshoot. |