5#include "qml_material/core.hpp"
7namespace qml_material::token
38 QML_VALUE_TYPE(t_typescale)
55 QFont::Weight
weight { QFont::Weight::Normal };
68 using QObject::QObject;
71 Q_PROPERTY(qml_material::token::TypeScaleItem NAME READ NAME NOTIFY typescaleChanged FINAL) \
73 const TypeScaleItem& NAME() const { return m_##NAME; } \
76 TypeScaleItem m_##NAME { __VA_ARGS__ };
98 X(
body_large , 16, 24, QFont::Normal, QFont::Normal, 0.5 )
113 Q_SIGNAL
void typescaleChanged();
TypeScale.
Definition type_scale.hpp:64
qml_material::token::TypeScaleItem label_medium
Medium-sized text labels.
Definition type_scale.hpp:106
qml_material::token::TypeScaleItem body_medium
Used for medium-sized body text.
Definition type_scale.hpp:100
qml_material::token::TypeScaleItem label_large
Large text labels for important interface elements.
Definition type_scale.hpp:104
qml_material::token::TypeScaleItem headline_large
Primary heading text, such as screen titles.
Definition type_scale.hpp:86
qml_material::token::TypeScaleItem label_small
Smallest text labels for interface elements.
Definition type_scale.hpp:108
qml_material::token::TypeScaleItem headline_small
Smallest heading text.
Definition type_scale.hpp:90
qml_material::token::TypeScaleItem title_large
Used for primary text in dialogs, cards.
Definition type_scale.hpp:92
qml_material::token::TypeScaleItem body_small
Used for small body text.
Definition type_scale.hpp:102
qml_material::token::TypeScaleItem title_small
Supporting text in components.
Definition type_scale.hpp:96
qml_material::token::TypeScaleItem body_large
Used for primary body text.
Definition type_scale.hpp:98
qml_material::token::TypeScaleItem headline_medium
Secondary heading text.
Definition type_scale.hpp:88
qml_material::token::TypeScaleItem title_medium
Secondary text in dialogs, cards.
Definition type_scale.hpp:94
qml_material::token::TypeScaleItem display_small
Used for smaller display text.
Definition type_scale.hpp:84
qml_material::token::TypeScaleItem display_large
Used for the largest text on the screen, such as app name on splash screen.
Definition type_scale.hpp:80
qml_material::token::TypeScaleItem display_medium
Used for medium-sized display text, secondary splash screen text.
Definition type_scale.hpp:82
TypeScaleItem.
Definition type_scale.hpp:35
QFont::Weight weight_prominent
Font weight for prominent (emphasized) text.
Definition type_scale.hpp:47
qreal tracking
Letter spacing (tracking) adjustment.
Definition type_scale.hpp:49
QFont::Weight weight
Font weight for normal text.
Definition type_scale.hpp:45
qint32 line_height
Line height in pixels.
Definition type_scale.hpp:43
qint32 size
Font size in pixels.
Definition type_scale.hpp:41