|
Fluid 1.3.0
Material Design for QtQuick and Qml
|
Material Design 3 tokens for menus and menu items. More...
#include <menu.h>
Public Member Functions | |
| constexpr qreal | containerElevation () const |
| Elevation of the temporary menu surface. | |
| constexpr ShapeValue | containerShape () const |
| Corner radius of the menu surface. | |
| constexpr qreal | topPadding () const |
| Space above the first menu item. | |
| constexpr qreal | bottomPadding () const |
| Space below the last menu item. | |
| constexpr qreal | viewportMargin () const |
| Minimum distance maintained between a menu and a viewport edge. | |
| constexpr qreal | minimumWidth () const |
| Preferred minimum menu width. | |
| constexpr qreal | maximumWidth () const |
| Preferred maximum menu width. | |
| constexpr qreal | itemHeight () const |
| Height of a one-line menu item. | |
| constexpr qreal | itemHorizontalPadding () const |
| Logical leading and trailing padding of a menu item. | |
| constexpr qreal | iconSize () const |
| Size of leading, selection, and cascading-menu icons. | |
| constexpr qreal | iconLabelGap () const |
| Space between adjacent menu-item content elements. | |
| 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 menu-item content. | |
| constexpr ShapeValue | verticalContainerShape () const |
| Shape of an Expressive vertical menu surface. | |
| constexpr ShapeValue | verticalGroupShape () const |
| Shape of a group within an Expressive vertical menu. | |
| constexpr ShapeValue | verticalFirstGroupShape () const |
| Shape of the first surface in a grouped Expressive vertical menu. | |
| constexpr ShapeValue | verticalMiddleGroupShape () const |
| Shape of a middle surface in a grouped Expressive vertical menu. | |
| constexpr ShapeValue | verticalLastGroupShape () const |
| Shape of the last surface in a grouped Expressive vertical menu. | |
| constexpr ShapeValue | verticalOnlyGroupShape () const |
| Shape of the only surface in an Expressive vertical menu. | |
| constexpr ShapeValue | verticalItemShape () const |
| Base shape of an Expressive vertical menu item. | |
| constexpr ShapeValue | verticalOnlyItemShape () const |
| Shape of an item that is the only member of a group. | |
| constexpr ShapeValue | verticalFirstItemShape () const |
| Shape of the first item in a group. | |
| constexpr ShapeValue | verticalMiddleItemShape () const |
| Shape of a middle item in a group. | |
| constexpr ShapeValue | verticalLastItemShape () const |
| Shape of the last item in a group. | |
| constexpr ShapeValue | verticalSelectedItemShape () const |
| Shape of a selected Expressive menu item. | |
| constexpr ShapeValue | verticalInactiveItemShape () const |
| Shape used for an inactive Expressive menu item group. | |
| constexpr qreal | verticalItemHeight () const |
| Height of an Expressive vertical menu item. | |
| constexpr qreal | verticalGroupPadding () const |
| Padding between an Expressive menu surface and its item groups. | |
| constexpr qreal | verticalGroupContentPadding () const |
| Vertical content padding inside an Expressive menu group surface. | |
| constexpr qreal | verticalSegmentedGap () const |
| Gap between adjacent surfaces in an Expressive grouped menu. | |
| constexpr qreal | verticalDividerInset () const |
| Horizontal inset of a divider within an Expressive menu group. | |
| constexpr qreal | verticalSectionLabelHeight () const |
| Minimum height of an Expressive menu section label. | |
| constexpr qreal | verticalSectionLabelLeadingSpace () const |
| Logical leading padding of an Expressive menu section label. | |
| constexpr qreal | verticalSectionLabelTrailingSpace () const |
| Logical trailing padding of an Expressive menu section label. | |
| constexpr qreal | verticalItemTopPadding () const |
| Top content padding of an Expressive menu item. | |
| constexpr qreal | verticalItemBottomPadding () const |
| Bottom content padding of an Expressive menu item. | |
| constexpr qreal | verticalItemLeadingSpace () const |
| Logical leading content space of an Expressive menu item. | |
| constexpr qreal | verticalItemTrailingSpace () const |
| Logical trailing content space of an Expressive menu item. | |
| constexpr qreal | verticalItemBetweenSpace () const |
| Space between content elements in an Expressive menu item. | |
| constexpr qreal | verticalIconSize () const |
| Size of icons in an Expressive menu item. | |
| constexpr qreal | closedScale () const |
| Scale at which an Expressive menu starts and ends its motion. | |
| constexpr qreal | horizontalViewportMargin () const |
| Minimum horizontal distance from a menu to the viewport edge. | |
| constexpr qreal | verticalViewportMargin () const |
| Minimum vertical distance from a menu to the viewport edge. | |
Material Design 3 tokens for menus and menu items.
The values follow the Material 3 Expressive menu specification. They are exposed through Tokens.menu for use by the public QML Menu control.
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
read |
|
read |
|
read |
|
read |
|
read |
|
read |
|
read |
|
read |
|
read |
|
read |
|
read |
|
read |
|
read |
|
read |