Fluent-Qt

API reference

MotionPolicy

Application-wide policy for Fluent transition and continuous motion.

fluent::MotionPolicy

Inherits QObject

Properties

Mode mode
Read mode()Write setMode()Notify modeChanged()

Methods

void setMode(Mode mode)

Changes the global motion mode and notifies active components once.

int resolvedDuration(int fullDurationMs, bool localAnimationEnabled = true) const

Resolves a full-motion duration without changing the Full default.

Signals

Enumerations

enum class Mode

Global motion preference.

  • Full = 0
  • Reduced = 1
  • Disabled = 2
enum class Kind

Motion lifetime used when resolving whether animation should run.

  • Transition = 0
  • Continuous = 1

All inherited Qt members:QObject