PulsatingLabel
Label widget with animated scale pulsation effect.
| Declared in | src/libs/libsplash/splash/PulsatingLabel.hpp |
| Inherits | QLabel |
| Group | splash |
Detailed description
PulsatingLabel extends QLabel to support smooth scale factor animation for creating pulsating visual effects, typically used in splash screens. Supports both SVG and pixmap content.
See also SplashScreen.
Property documentation
scaleFactor property
scaleFactor : qreal
This property holds the scale of the image, relative to the size that fits the label.
The label first fits the SVG or the pixmap into its own size and keeps the aspect ratio. Then it multiplies that size by this value and paints the image at the center. 1.0 is the fitted size. An animation of this value makes the pulse. A change emits scaleFactorChanged() and repaints the label. The default is 1.0.
Access functions:
qrealscaleFactor() constvoidsetScaleFactor(qrealfactor)
Notifier signal:
voidscaleFactorChanged(qreal)