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

Material Design 3 outlined segmented-button tokens. More...

#include <segmentedbutton.h>

Public Member Functions

constexpr qreal containerHeight () const
 Height of the visible outlined container.
 
constexpr qreal iconSize () const
 Size of option icons and the selection indicator.
 
constexpr qreal outlineWidth () const
 Thickness of the outline and shared dividers.
 
constexpr ShapeValue containerShape () const
 Full system shape applied to the group's outer corners.
 
TypeScaleValue labelTextFont () const
 Reference to the system label-large typography.
 
constexpr qreal disabledContentOpacity () const
 Generated opacity shared by disabled icons and labels.
 
constexpr qreal disabledOutlineOpacity () const
 Generated opacity of the disabled on-surface outline.
 
constexpr qreal hoverStateLayerOpacity () const
 System hover state-layer opacity.
 
constexpr qreal focusStateLayerOpacity () const
 System focus state-layer opacity.
 
constexpr qreal pressedStateLayerOpacity () const
 System pressed state-layer opacity.
 
constexpr qreal contentPadding () const
 Horizontal content padding from the AndroidX platform layout.
 
constexpr qreal contentSpacing () const
 Icon-to-content spacing from the AndroidX platform layout.
 
constexpr qreal minimumInteractiveSize () const
 Minimum interaction target supplied by the system measurement tokens.
 

Properties

QML_ANONYMOUSqreal containerHeight
 
qreal iconSize
 
qreal outlineWidth
 
Fluid::ShapeValue containerShape
 
Fluid::TypeScaleValue labelTextFont
 
qreal disabledContentOpacity
 
qreal disabledOutlineOpacity
 
qreal hoverStateLayerOpacity
 
qreal focusStateLayerOpacity
 
qreal pressedStateLayerOpacity
 
qreal contentPadding
 
qreal contentSpacing
 
qreal minimumInteractiveSize
 

Detailed Description

Material Design 3 outlined segmented-button tokens.

Definition at line 25 of file segmentedbutton.h.

Member Function Documentation

◆ containerHeight()

constexpr qreal Fluid::SegmentedButton::containerHeight ( ) const
inlineconstexpr

Height of the visible outlined container.

Definition at line 46 of file segmentedbutton.h.

◆ containerShape()

constexpr ShapeValue Fluid::SegmentedButton::containerShape ( ) const
inlineconstexpr

Full system shape applied to the group's outer corners.

Definition at line 61 of file segmentedbutton.h.

◆ contentPadding()

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

Horizontal content padding from the AndroidX platform layout.

Definition at line 93 of file segmentedbutton.h.

◆ contentSpacing()

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

Icon-to-content spacing from the AndroidX platform layout.

Definition at line 98 of file segmentedbutton.h.

◆ disabledContentOpacity()

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

Generated opacity shared by disabled icons and labels.

Definition at line 68 of file segmentedbutton.h.

◆ disabledOutlineOpacity()

constexpr qreal Fluid::SegmentedButton::disabledOutlineOpacity ( ) const
inlineconstexpr

Generated opacity of the disabled on-surface outline.

Definition at line 73 of file segmentedbutton.h.

◆ focusStateLayerOpacity()

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

System focus state-layer opacity.

Definition at line 83 of file segmentedbutton.h.

◆ hoverStateLayerOpacity()

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

System hover state-layer opacity.

Definition at line 78 of file segmentedbutton.h.

◆ iconSize()

constexpr qreal Fluid::SegmentedButton::iconSize ( ) const
inlineconstexpr

Size of option icons and the selection indicator.

Definition at line 51 of file segmentedbutton.h.

◆ labelTextFont()

TypeScaleValue SegmentedButton::labelTextFont ( ) const

Reference to the system label-large typography.

Definition at line 8 of file segmentedbutton.cpp.

◆ minimumInteractiveSize()

constexpr qreal Fluid::SegmentedButton::minimumInteractiveSize ( ) const
inlineconstexpr

Minimum interaction target supplied by the system measurement tokens.

Definition at line 103 of file segmentedbutton.h.

◆ outlineWidth()

constexpr qreal Fluid::SegmentedButton::outlineWidth ( ) const
inlineconstexpr

Thickness of the outline and shared dividers.

Definition at line 56 of file segmentedbutton.h.

◆ pressedStateLayerOpacity()

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

System pressed state-layer opacity.

Definition at line 88 of file segmentedbutton.h.

Property Documentation

◆ containerHeight

QML_ANONYMOUSqreal Fluid::SegmentedButton::containerHeight
read

Definition at line 30 of file segmentedbutton.h.

◆ containerShape

Fluid::ShapeValue Fluid::SegmentedButton::containerShape
read

Definition at line 33 of file segmentedbutton.h.

◆ contentPadding

qreal Fluid::SegmentedButton::contentPadding
read

Definition at line 40 of file segmentedbutton.h.

◆ contentSpacing

qreal Fluid::SegmentedButton::contentSpacing
read

Definition at line 41 of file segmentedbutton.h.

◆ disabledContentOpacity

qreal Fluid::SegmentedButton::disabledContentOpacity
read

Definition at line 35 of file segmentedbutton.h.

◆ disabledOutlineOpacity

qreal Fluid::SegmentedButton::disabledOutlineOpacity
read

Definition at line 36 of file segmentedbutton.h.

◆ focusStateLayerOpacity

qreal Fluid::SegmentedButton::focusStateLayerOpacity
read

Definition at line 38 of file segmentedbutton.h.

◆ hoverStateLayerOpacity

qreal Fluid::SegmentedButton::hoverStateLayerOpacity
read

Definition at line 37 of file segmentedbutton.h.

◆ iconSize

qreal Fluid::SegmentedButton::iconSize
read

Definition at line 31 of file segmentedbutton.h.

◆ labelTextFont

Fluid::TypeScaleValue Fluid::SegmentedButton::labelTextFont
read

Definition at line 34 of file segmentedbutton.h.

◆ minimumInteractiveSize

qreal Fluid::SegmentedButton::minimumInteractiveSize
read

Definition at line 42 of file segmentedbutton.h.

◆ outlineWidth

qreal Fluid::SegmentedButton::outlineWidth
read

Definition at line 32 of file segmentedbutton.h.

◆ pressedStateLayerOpacity

qreal Fluid::SegmentedButton::pressedStateLayerOpacity
read

Definition at line 39 of file segmentedbutton.h.


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