Fluid 1.3.0
Material Design for QtQuick and Qml
Loading...
Searching...
No Matches
Fluid::EmphasizedTypeScale Class Reference

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

#include <typescale.h>

Inheritance diagram for Fluid::EmphasizedTypeScale:
Fluid::TypeScale

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_SINGLETONFluid::TypeScaleValue displayLarge
 
Fluid::TypeScaleValue displayMedium
 
Fluid::TypeScaleValue displaySmall
 
Fluid::TypeScaleValue headlineLarge
 
Fluid::TypeScaleValue headlineMedium
 
Fluid::TypeScaleValue headlineSmall
 
Fluid::TypeScaleValue titleLarge
 
Fluid::TypeScaleValue titleMedium
 
Fluid::TypeScaleValue titleSmall
 
Fluid::TypeScaleValue bodyLarge
 
Fluid::TypeScaleValue bodyMedium
 
Fluid::TypeScaleValue bodySmall
 
Fluid::TypeScaleValue labelLarge
 
Fluid::TypeScaleValue labelMedium
 
Fluid::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.

Definition at line 201 of file typescale.h.

Constructor & Destructor Documentation

◆ EmphasizedTypeScale()

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

Definition at line 114 of file typescale.cpp.


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