Module implementing a label widget showing an animated pixmap.
None |
E5AnimatedLabel | Class implementing a label widget showing an animated pixmap. |
None |
Class implementing a label widget showing an animated pixmap.
None |
None |
E5AnimatedLabel | Constructor |
__animate | Private slot to animate the pixmap. |
__loadAnimationFile | Private method to load an animation file. |
getAnimationFile | Public method to get the name of the animation file. |
getInterval | Public method to get the interval between the animated frames. |
isActive | Public method to check, if the animation is active. |
isAnimationFileLoaded | Public method to check, if the animation file was loaded. |
reset | Public slot to reset the animation. |
setAnimationFile | Public method to set the name of the animation file. |
setInterval | Public method to set the interval between the animated frames. |
setPixmap | Public slot to set the pixmap of the label. |
start | Public slot to start the animation. |
stop | Public slot to stop the animation. |
None |
Constructor
Private slot to animate the pixmap.
Private method to load an animation file.
Public method to get the name of the animation file.
Public method to get the interval between the animated frames.
Public method to check, if the animation is active.
Public method to check, if the animation file was loaded.
Public slot to reset the animation.
Public method to set the name of the animation file.
Public method to set the interval between the animated frames.
Public slot to set the pixmap of the label.
Setting a standard pixmap will stop the animation and set the given pixmap without animating it. Thereafter the animation has to be restarted with the start() method.
Public slot to start the animation.
Public slot to stop the animation.