Struct qt_core::q_abstract_animation::State
source · pub struct State(/* private fields */);
Expand description
This enum describes the state of the animation.
C++ enum: QAbstractAnimation::State
.
This enum describes the state of the animation.
See also state() and stateChanged().
Implementations§
source§impl State
impl State
sourcepub const Stopped: State = _
pub const Stopped: State = _
The animation is not running. This is the initial state of QAbstractAnimation, and the state QAbstractAnimation reenters when finished. The current time remain unchanged until either setCurrentTime() is called, or the animation is started by calling start(). (C++ enum variant: Stopped = 0
)
sourcepub const Paused: State = _
pub const Paused: State = _
The animation is paused (i.e., temporarily suspended). Calling resume() will resume animation activity. (C++ enum variant: Paused = 1
)
sourcepub const Running: State = _
pub const Running: State = _
The animation is running. While control is in the event loop, QAbstractAnimation will update its current time at regular intervals, calling updateCurrentTime() when appropriate. (C++ enum variant: Running = 2
)