Fluid
Loading...
Searching...
No Matches
Public Member Functions | List of all members
Fluid::EmphasizedTypeScale Class Reference

Material Design 3 emphasized type scale tokens. More...

#include <typescale.h>

Inheritance diagram for Fluid::EmphasizedTypeScale:
Inheritance graph
[legend]
Collaboration diagram for Fluid::EmphasizedTypeScale:
Collaboration graph
[legend]

Public Member Functions

 EmphasizedTypeScale (QObject *parent=nullptr)
 
- Public Member Functions inherited from Fluid::TypeScale
 TypeScale (QObject *parent=nullptr)
 
TypeScaleValue displayLarge () const
 
TypeScaleValue displayMedium () const
 
TypeScaleValue displaySmall () const
 
TypeScaleValue headlineLarge () const
 
TypeScaleValue headlineMedium () const
 
TypeScaleValue headlineSmall () const
 
TypeScaleValue titleLarge () const
 
TypeScaleValue titleMedium () const
 
TypeScaleValue titleSmall () const
 
TypeScaleValue bodyLarge () const
 
TypeScaleValue bodyMedium () const
 
TypeScaleValue bodySmall () const
 
TypeScaleValue labelLarge () const
 
TypeScaleValue labelMedium () const
 
TypeScaleValue labelSmall () const
 

Additional Inherited Members

- Protected Attributes inherited from Fluid::TypeScale
TypeScaleValue m_displayLarge
 
TypeScaleValue m_displayMedium
 
TypeScaleValue m_displaySmall
 
TypeScaleValue m_headlineLarge
 
TypeScaleValue m_headlineMedium
 
TypeScaleValue m_headlineSmall
 
TypeScaleValue m_titleLarge
 
TypeScaleValue m_titleMedium
 
TypeScaleValue m_titleSmall
 
TypeScaleValue m_bodyLarge
 
TypeScaleValue m_bodyMedium
 
TypeScaleValue m_bodySmall
 
TypeScaleValue m_labelLarge
 
TypeScaleValue m_labelMedium
 
TypeScaleValue m_labelSmall
 
- Properties inherited from Fluid::TypeScale
QML_SINGLETONTypeScaleValue displayLarge
 
TypeScaleValue displayMedium
 
TypeScaleValue displaySmall
 
TypeScaleValue headlineLarge
 
TypeScaleValue headlineMedium
 
TypeScaleValue headlineSmall
 
TypeScaleValue titleLarge
 
TypeScaleValue titleMedium
 
TypeScaleValue titleSmall
 
TypeScaleValue bodyLarge
 
TypeScaleValue bodyMedium
 
TypeScaleValue bodySmall
 
TypeScaleValue labelLarge
 
TypeScaleValue labelMedium
 
TypeScaleValue labelSmall
 

Detailed Description

Material Design 3 emphasized type scale tokens.

Provides access to Material Design 3 emphasized type scale definitions that can be used from QML.

import QtQuick
import Fluid as MD
Text {
text: "Hello, World!"
font.pixelSize: MD.Tokens.emphasizedTypeScale.bodyLarge.fontSize
lineHeight: MD.Tokens.emphasizedTypeScale.bodyLarge.lineHeight
}

For more information see the Material Design 3 typography guidelines.

Constructor & Destructor Documentation

◆ EmphasizedTypeScale()

Fluid::EmphasizedTypeScale::EmphasizedTypeScale ( QObject *  parent = nullptr)
explicit

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