API reference
MotionPolicy
Application-wide policy for Fluent transition and continuous motion.
No matching API members.
fluent::MotionPolicy
Inherits QObject
Properties
Mode mode- Read
mode()WritesetMode()NotifymodeChanged()
Methods
void setMode(Mode mode)Changes the global motion mode and notifies active components once.
bool shouldAnimate(bool localAnimationEnabled = true, Kind kind = Kind::Transition) constReturns whether the requested motion may run.
int resolvedDuration(int fullDurationMs, bool localAnimationEnabled = true) constResolves a full-motion duration without changing the Full default.
Signals
Enumerations
enum class ModeGlobal motion preference.
Full = 0Reduced = 1Disabled = 2
enum class KindMotion lifetime used when resolving whether animation should run.
Transition = 0Continuous = 1
All inherited Qt members:QObject