Fluid 1.3.0
Material Design for QtQuick and Qml
Loading...
Searching...
No Matches
Fluid::Switch Struct Reference

Material Design 3 switch tokens. More...

#include <switch.h>

Public Member Functions

constexpr qreal trackWidth () const
 
constexpr qreal trackHeight () const
 
constexpr ShapeValue trackShape () const
 
constexpr qreal trackOutlineWidth () const
 
constexpr qreal stateLayerSize () const
 
constexpr ShapeValue stateLayerShape () const
 
constexpr qreal contentPadding () const
 
constexpr qreal contentSpacing () const
 
constexpr qreal selectedHandleSize () const
 
constexpr qreal unselectedHandleSize () const
 
constexpr qreal withIconHandleSize () const
 
constexpr qreal pressedHandleSize () const
 
constexpr ShapeValue handleShape () const
 
constexpr qreal selectedIconSize () const
 
constexpr qreal unselectedIconSize () const
 
constexpr qreal disabledTrackOpacity () const
 
constexpr qreal disabledSelectedHandleOpacity () const
 
constexpr qreal disabledUnselectedHandleOpacity () const
 
constexpr qreal disabledSelectedIconOpacity () const
 
constexpr qreal disabledUnselectedIconOpacity () const
 
constexpr qreal hoverStateLayerOpacity () const
 
constexpr qreal focusStateLayerOpacity () const
 
constexpr qreal pressedStateLayerOpacity () const
 

Properties

QML_ANONYMOUSqreal trackWidth
 
qreal trackHeight
 
Fluid::ShapeValue trackShape
 
qreal trackOutlineWidth
 
qreal stateLayerSize
 
Fluid::ShapeValue stateLayerShape
 
qreal contentPadding
 
qreal contentSpacing
 
qreal selectedHandleSize
 
qreal unselectedHandleSize
 
qreal withIconHandleSize
 
qreal pressedHandleSize
 
Fluid::ShapeValue handleShape
 
qreal selectedIconSize
 
qreal unselectedIconSize
 
qreal disabledTrackOpacity
 
qreal disabledSelectedHandleOpacity
 
qreal disabledUnselectedHandleOpacity
 
qreal disabledSelectedIconOpacity
 
qreal disabledUnselectedIconOpacity
 
qreal hoverStateLayerOpacity
 
qreal focusStateLayerOpacity
 
qreal pressedStateLayerOpacity
 

Detailed Description

Material Design 3 switch tokens.

Definition at line 19 of file switch.h.

Member Function Documentation

◆ contentPadding()

constexpr qreal Fluid::Switch::contentPadding ( ) const
inlineconstexpr

Definition at line 77 of file switch.h.

◆ contentSpacing()

constexpr qreal Fluid::Switch::contentSpacing ( ) const
inlineconstexpr

Definition at line 81 of file switch.h.

◆ disabledSelectedHandleOpacity()

constexpr qreal Fluid::Switch::disabledSelectedHandleOpacity ( ) const
inlineconstexpr

Definition at line 117 of file switch.h.

◆ disabledSelectedIconOpacity()

constexpr qreal Fluid::Switch::disabledSelectedIconOpacity ( ) const
inlineconstexpr

Definition at line 125 of file switch.h.

◆ disabledTrackOpacity()

constexpr qreal Fluid::Switch::disabledTrackOpacity ( ) const
inlineconstexpr

Definition at line 113 of file switch.h.

◆ disabledUnselectedHandleOpacity()

constexpr qreal Fluid::Switch::disabledUnselectedHandleOpacity ( ) const
inlineconstexpr

Definition at line 121 of file switch.h.

◆ disabledUnselectedIconOpacity()

constexpr qreal Fluid::Switch::disabledUnselectedIconOpacity ( ) const
inlineconstexpr

Definition at line 129 of file switch.h.

◆ focusStateLayerOpacity()

constexpr qreal Fluid::Switch::focusStateLayerOpacity ( ) const
inlineconstexpr

Definition at line 137 of file switch.h.

◆ handleShape()

constexpr ShapeValue Fluid::Switch::handleShape ( ) const
inlineconstexpr

Definition at line 101 of file switch.h.

◆ hoverStateLayerOpacity()

constexpr qreal Fluid::Switch::hoverStateLayerOpacity ( ) const
inlineconstexpr

Definition at line 133 of file switch.h.

◆ pressedHandleSize()

constexpr qreal Fluid::Switch::pressedHandleSize ( ) const
inlineconstexpr

Definition at line 97 of file switch.h.

◆ pressedStateLayerOpacity()

constexpr qreal Fluid::Switch::pressedStateLayerOpacity ( ) const
inlineconstexpr

Definition at line 141 of file switch.h.

◆ selectedHandleSize()

constexpr qreal Fluid::Switch::selectedHandleSize ( ) const
inlineconstexpr

Definition at line 85 of file switch.h.

◆ selectedIconSize()

constexpr qreal Fluid::Switch::selectedIconSize ( ) const
inlineconstexpr

Definition at line 105 of file switch.h.

◆ stateLayerShape()

constexpr ShapeValue Fluid::Switch::stateLayerShape ( ) const
inlineconstexpr

Definition at line 72 of file switch.h.

◆ stateLayerSize()

constexpr qreal Fluid::Switch::stateLayerSize ( ) const
inlineconstexpr

Definition at line 68 of file switch.h.

◆ trackHeight()

constexpr qreal Fluid::Switch::trackHeight ( ) const
inlineconstexpr

Definition at line 56 of file switch.h.

◆ trackOutlineWidth()

constexpr qreal Fluid::Switch::trackOutlineWidth ( ) const
inlineconstexpr

Definition at line 64 of file switch.h.

◆ trackShape()

constexpr ShapeValue Fluid::Switch::trackShape ( ) const
inlineconstexpr

Definition at line 60 of file switch.h.

◆ trackWidth()

constexpr qreal Fluid::Switch::trackWidth ( ) const
inlineconstexpr

Definition at line 52 of file switch.h.

◆ unselectedHandleSize()

constexpr qreal Fluid::Switch::unselectedHandleSize ( ) const
inlineconstexpr

Definition at line 89 of file switch.h.

◆ unselectedIconSize()

constexpr qreal Fluid::Switch::unselectedIconSize ( ) const
inlineconstexpr

Definition at line 109 of file switch.h.

◆ withIconHandleSize()

constexpr qreal Fluid::Switch::withIconHandleSize ( ) const
inlineconstexpr

Definition at line 93 of file switch.h.

Property Documentation

◆ contentPadding

qreal Fluid::Switch::contentPadding
read

Definition at line 30 of file switch.h.

◆ contentSpacing

qreal Fluid::Switch::contentSpacing
read

Definition at line 31 of file switch.h.

◆ disabledSelectedHandleOpacity

qreal Fluid::Switch::disabledSelectedHandleOpacity
read

Definition at line 40 of file switch.h.

◆ disabledSelectedIconOpacity

qreal Fluid::Switch::disabledSelectedIconOpacity
read

Definition at line 44 of file switch.h.

◆ disabledTrackOpacity

qreal Fluid::Switch::disabledTrackOpacity
read

Definition at line 39 of file switch.h.

◆ disabledUnselectedHandleOpacity

qreal Fluid::Switch::disabledUnselectedHandleOpacity
read

Definition at line 42 of file switch.h.

◆ disabledUnselectedIconOpacity

qreal Fluid::Switch::disabledUnselectedIconOpacity
read

Definition at line 45 of file switch.h.

◆ focusStateLayerOpacity

qreal Fluid::Switch::focusStateLayerOpacity
read

Definition at line 48 of file switch.h.

◆ handleShape

Fluid::ShapeValue Fluid::Switch::handleShape
read

Definition at line 36 of file switch.h.

◆ hoverStateLayerOpacity

qreal Fluid::Switch::hoverStateLayerOpacity
read

Definition at line 47 of file switch.h.

◆ pressedHandleSize

qreal Fluid::Switch::pressedHandleSize
read

Definition at line 35 of file switch.h.

◆ pressedStateLayerOpacity

qreal Fluid::Switch::pressedStateLayerOpacity
read

Definition at line 49 of file switch.h.

◆ selectedHandleSize

qreal Fluid::Switch::selectedHandleSize
read

Definition at line 32 of file switch.h.

◆ selectedIconSize

qreal Fluid::Switch::selectedIconSize
read

Definition at line 37 of file switch.h.

◆ stateLayerShape

Fluid::ShapeValue Fluid::Switch::stateLayerShape
read

Definition at line 29 of file switch.h.

◆ stateLayerSize

qreal Fluid::Switch::stateLayerSize
read

Definition at line 28 of file switch.h.

◆ trackHeight

qreal Fluid::Switch::trackHeight
read

Definition at line 25 of file switch.h.

◆ trackOutlineWidth

qreal Fluid::Switch::trackOutlineWidth
read

Definition at line 27 of file switch.h.

◆ trackShape

Fluid::ShapeValue Fluid::Switch::trackShape
read

Definition at line 26 of file switch.h.

◆ trackWidth

QML_ANONYMOUSqreal Fluid::Switch::trackWidth
read

Definition at line 24 of file switch.h.

◆ unselectedHandleSize

qreal Fluid::Switch::unselectedHandleSize
read

Definition at line 33 of file switch.h.

◆ unselectedIconSize

qreal Fluid::Switch::unselectedIconSize
read

Definition at line 38 of file switch.h.

◆ withIconHandleSize

qreal Fluid::Switch::withIconHandleSize
read

Definition at line 34 of file switch.h.


The documentation for this struct was generated from the following file: