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

Material Design 3 Expressive FAB menu tokens. More...

#include <fabmenu.h>

Public Member Functions

constexpr qreal closeButtonContainerWidth () const
 Width of the expanded close button.
 
constexpr qreal closeButtonContainerHeight () const
 Height of the expanded close button.
 
constexpr ShapeValue closeButtonContainerShape () const
 Fully rounded corner radius of the expanded close button.
 
constexpr qreal closeButtonIconSize () const
 Size of the close button icon.
 
constexpr qreal closeButtonContainerElevation () const
 Resting elevation of the close button.
 
constexpr qreal closeButtonFocusContainerElevation () const
 Elevation of the focused close button.
 
constexpr qreal closeButtonHoverContainerElevation () const
 Elevation of the hovered close button.
 
constexpr qreal closeButtonPressedContainerElevation () const
 Elevation of the pressed close button.
 
constexpr qreal closeButtonBetweenSpace () const
 Space between the close button and the nearest list item.
 
constexpr qreal listItemContainerHeight () const
 Height of a FAB menu list item.
 
constexpr ShapeValue listItemContainerShape () const
 Fully rounded corner radius of a list item.
 
constexpr qreal listItemContainerElevation () const
 Resting elevation of a list item.
 
constexpr qreal listItemIconSize () const
 Size of the leading list item icon.
 
constexpr qreal listItemIconLabelSpace () const
 Space between the list item icon and its label.
 
constexpr qreal listItemLeadingSpace () const
 Logical leading padding of a list item.
 
constexpr qreal listItemTrailingSpace () const
 Logical trailing padding of a list item.
 
constexpr qreal listItemBetweenSpace () const
 Space between adjacent list items.
 
constexpr qreal listItemStaggerDelay () const
 Per-item delay of the staggered list entrance, in milliseconds.
 
constexpr qreal hoverStateLayerOpacity () const
 Opacity of the hover state layer.
 
constexpr qreal focusStateLayerOpacity () const
 Opacity of the keyboard-focus state layer.
 
constexpr qreal pressedStateLayerOpacity () const
 Opacity of the pressed state layer.
 
constexpr qreal disabledContentOpacity () const
 Opacity of disabled list item content.
 
constexpr qreal scrimOpacity () const
 Opacity of the scrim shown behind an expanded FAB menu.
 
constexpr qreal containerMargin () const
 Inset of the FAB menu from the edges of its container.
 

Properties

QML_ANONYMOUSqreal closeButtonContainerWidth
 
qreal closeButtonContainerHeight
 
Fluid::ShapeValue closeButtonContainerShape
 
qreal closeButtonIconSize
 
qreal closeButtonContainerElevation
 
qreal closeButtonFocusContainerElevation
 
qreal closeButtonHoverContainerElevation
 
qreal closeButtonPressedContainerElevation
 
qreal closeButtonBetweenSpace
 
qreal listItemContainerHeight
 
Fluid::ShapeValue listItemContainerShape
 
qreal listItemContainerElevation
 
qreal listItemIconSize
 
qreal listItemIconLabelSpace
 
qreal listItemLeadingSpace
 
qreal listItemTrailingSpace
 
qreal listItemBetweenSpace
 
qreal listItemStaggerDelay
 
qreal hoverStateLayerOpacity
 
qreal focusStateLayerOpacity
 
qreal pressedStateLayerOpacity
 
qreal disabledContentOpacity
 
qreal scrimOpacity
 
qreal containerMargin
 

Detailed Description

Material Design 3 Expressive FAB menu tokens.

The values follow the Material 3 Expressive FAB menu specification. They are exposed through Tokens.fabMenu for use by the public QML FabMenu, FabMenuButton, and FabMenuItem controls.

Definition at line 26 of file fabmenu.h.

Member Function Documentation

◆ closeButtonBetweenSpace()

constexpr qreal Fluid::FabMenu::closeButtonBetweenSpace ( ) const
inlineconstexpr

Space between the close button and the nearest list item.

Definition at line 111 of file fabmenu.h.

◆ closeButtonContainerElevation()

constexpr qreal Fluid::FabMenu::closeButtonContainerElevation ( ) const
inlineconstexpr

Resting elevation of the close button.

Definition at line 87 of file fabmenu.h.

◆ closeButtonContainerHeight()

constexpr qreal Fluid::FabMenu::closeButtonContainerHeight ( ) const
inlineconstexpr

Height of the expanded close button.

Definition at line 69 of file fabmenu.h.

◆ closeButtonContainerShape()

constexpr ShapeValue Fluid::FabMenu::closeButtonContainerShape ( ) const
inlineconstexpr

Fully rounded corner radius of the expanded close button.

Definition at line 75 of file fabmenu.h.

◆ closeButtonContainerWidth()

constexpr qreal Fluid::FabMenu::closeButtonContainerWidth ( ) const
inlineconstexpr

Width of the expanded close button.

Definition at line 63 of file fabmenu.h.

◆ closeButtonFocusContainerElevation()

constexpr qreal Fluid::FabMenu::closeButtonFocusContainerElevation ( ) const
inlineconstexpr

Elevation of the focused close button.

Definition at line 93 of file fabmenu.h.

◆ closeButtonHoverContainerElevation()

constexpr qreal Fluid::FabMenu::closeButtonHoverContainerElevation ( ) const
inlineconstexpr

Elevation of the hovered close button.

Definition at line 99 of file fabmenu.h.

◆ closeButtonIconSize()

constexpr qreal Fluid::FabMenu::closeButtonIconSize ( ) const
inlineconstexpr

Size of the close button icon.

Definition at line 81 of file fabmenu.h.

◆ closeButtonPressedContainerElevation()

constexpr qreal Fluid::FabMenu::closeButtonPressedContainerElevation ( ) const
inlineconstexpr

Elevation of the pressed close button.

Definition at line 105 of file fabmenu.h.

◆ containerMargin()

constexpr qreal Fluid::FabMenu::containerMargin ( ) const
inlineconstexpr

Inset of the FAB menu from the edges of its container.

Definition at line 201 of file fabmenu.h.

◆ disabledContentOpacity()

constexpr qreal Fluid::FabMenu::disabledContentOpacity ( ) const
inlineconstexpr

Opacity of disabled list item content.

Definition at line 189 of file fabmenu.h.

◆ focusStateLayerOpacity()

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

Opacity of the keyboard-focus state layer.

Definition at line 177 of file fabmenu.h.

◆ hoverStateLayerOpacity()

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

Opacity of the hover state layer.

Definition at line 171 of file fabmenu.h.

◆ listItemBetweenSpace()

constexpr qreal Fluid::FabMenu::listItemBetweenSpace ( ) const
inlineconstexpr

Space between adjacent list items.

Definition at line 159 of file fabmenu.h.

◆ listItemContainerElevation()

constexpr qreal Fluid::FabMenu::listItemContainerElevation ( ) const
inlineconstexpr

Resting elevation of a list item.

Definition at line 129 of file fabmenu.h.

◆ listItemContainerHeight()

constexpr qreal Fluid::FabMenu::listItemContainerHeight ( ) const
inlineconstexpr

Height of a FAB menu list item.

Definition at line 117 of file fabmenu.h.

◆ listItemContainerShape()

constexpr ShapeValue Fluid::FabMenu::listItemContainerShape ( ) const
inlineconstexpr

Fully rounded corner radius of a list item.

Definition at line 123 of file fabmenu.h.

◆ listItemIconLabelSpace()

constexpr qreal Fluid::FabMenu::listItemIconLabelSpace ( ) const
inlineconstexpr

Space between the list item icon and its label.

Definition at line 141 of file fabmenu.h.

◆ listItemIconSize()

constexpr qreal Fluid::FabMenu::listItemIconSize ( ) const
inlineconstexpr

Size of the leading list item icon.

Definition at line 135 of file fabmenu.h.

◆ listItemLeadingSpace()

constexpr qreal Fluid::FabMenu::listItemLeadingSpace ( ) const
inlineconstexpr

Logical leading padding of a list item.

Definition at line 147 of file fabmenu.h.

◆ listItemStaggerDelay()

constexpr qreal Fluid::FabMenu::listItemStaggerDelay ( ) const
inlineconstexpr

Per-item delay of the staggered list entrance, in milliseconds.

Definition at line 165 of file fabmenu.h.

◆ listItemTrailingSpace()

constexpr qreal Fluid::FabMenu::listItemTrailingSpace ( ) const
inlineconstexpr

Logical trailing padding of a list item.

Definition at line 153 of file fabmenu.h.

◆ pressedStateLayerOpacity()

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

Opacity of the pressed state layer.

Definition at line 183 of file fabmenu.h.

◆ scrimOpacity()

constexpr qreal Fluid::FabMenu::scrimOpacity ( ) const
inlineconstexpr

Opacity of the scrim shown behind an expanded FAB menu.

Definition at line 195 of file fabmenu.h.

Property Documentation

◆ closeButtonBetweenSpace

qreal Fluid::FabMenu::closeButtonBetweenSpace
read

Definition at line 44 of file fabmenu.h.

◆ closeButtonContainerElevation

qreal Fluid::FabMenu::closeButtonContainerElevation
read

Definition at line 36 of file fabmenu.h.

◆ closeButtonContainerHeight

qreal Fluid::FabMenu::closeButtonContainerHeight
read

Definition at line 32 of file fabmenu.h.

◆ closeButtonContainerShape

Fluid::ShapeValue Fluid::FabMenu::closeButtonContainerShape
read

Definition at line 33 of file fabmenu.h.

◆ closeButtonContainerWidth

QML_ANONYMOUSqreal Fluid::FabMenu::closeButtonContainerWidth
read

Definition at line 31 of file fabmenu.h.

◆ closeButtonFocusContainerElevation

qreal Fluid::FabMenu::closeButtonFocusContainerElevation
read

Definition at line 38 of file fabmenu.h.

◆ closeButtonHoverContainerElevation

qreal Fluid::FabMenu::closeButtonHoverContainerElevation
read

Definition at line 40 of file fabmenu.h.

◆ closeButtonIconSize

qreal Fluid::FabMenu::closeButtonIconSize
read

Definition at line 35 of file fabmenu.h.

◆ closeButtonPressedContainerElevation

qreal Fluid::FabMenu::closeButtonPressedContainerElevation
read

Definition at line 42 of file fabmenu.h.

◆ containerMargin

qreal Fluid::FabMenu::containerMargin
read

Definition at line 59 of file fabmenu.h.

◆ disabledContentOpacity

qreal Fluid::FabMenu::disabledContentOpacity
read

Definition at line 57 of file fabmenu.h.

◆ focusStateLayerOpacity

qreal Fluid::FabMenu::focusStateLayerOpacity
read

Definition at line 55 of file fabmenu.h.

◆ hoverStateLayerOpacity

qreal Fluid::FabMenu::hoverStateLayerOpacity
read

Definition at line 54 of file fabmenu.h.

◆ listItemBetweenSpace

qreal Fluid::FabMenu::listItemBetweenSpace
read

Definition at line 52 of file fabmenu.h.

◆ listItemContainerElevation

qreal Fluid::FabMenu::listItemContainerElevation
read

Definition at line 47 of file fabmenu.h.

◆ listItemContainerHeight

qreal Fluid::FabMenu::listItemContainerHeight
read

Definition at line 45 of file fabmenu.h.

◆ listItemContainerShape

Fluid::ShapeValue Fluid::FabMenu::listItemContainerShape
read

Definition at line 46 of file fabmenu.h.

◆ listItemIconLabelSpace

qreal Fluid::FabMenu::listItemIconLabelSpace
read

Definition at line 49 of file fabmenu.h.

◆ listItemIconSize

qreal Fluid::FabMenu::listItemIconSize
read

Definition at line 48 of file fabmenu.h.

◆ listItemLeadingSpace

qreal Fluid::FabMenu::listItemLeadingSpace
read

Definition at line 50 of file fabmenu.h.

◆ listItemStaggerDelay

qreal Fluid::FabMenu::listItemStaggerDelay
read

Definition at line 53 of file fabmenu.h.

◆ listItemTrailingSpace

qreal Fluid::FabMenu::listItemTrailingSpace
read

Definition at line 51 of file fabmenu.h.

◆ pressedStateLayerOpacity

qreal Fluid::FabMenu::pressedStateLayerOpacity
read

Definition at line 56 of file fabmenu.h.

◆ scrimOpacity

qreal Fluid::FabMenu::scrimOpacity
read

Definition at line 58 of file fabmenu.h.


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