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