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
)