API-Referenz
Typography
In diesem Header deklarierte öffentliche Typen, Funktionen und Konstanten.
Keine passenden API-Elemente.
Typography::FontStyle
Vollständige Schriftkonfiguration für eine voreingestellte Schriftstufe, einschließlich statischem styleName und Zeilenhöhe in Pixeln.
Felder
QString styleNameFigma-Stilname, z. B. "Small Regular".
int sizepx
int weightQFont::Weight
int lineHeightAbsolute Pixelwerte, aus Figma gemessen.
Methoden
Typography
Enumerationen
enum class FontRoleVoreingestellte Fluent-Stufe für Schriftgröße und -stärke.
CaptionBodyBodyStrongBodyLargeBodyLargeStrongSubtitleTitleTitleLargeDisplay
Methoden
inline QString fontRoleKey(FontRole role)Gibt den stabilen Serialisierungsschlüssel für eine voreingestellte Schriftstufe zurück.
inline const FontStyle& fontStyle(FontRole role)Gibt die vordefinierte Schriftkonfiguration für eine voreingestellte Schriftstufe zurück.
Typography::FontFamily
Konstanten
Typography::FontSize
Konstanten
const int Caption = 12Small Regular 12/16
const int Body = 14Text Regular 14/20
const int BodyStrong = 14Text Semibold 14/20
const int BodyLarge = 18Text Regular 18/24
const int BodyLargeStrong = 18Text Semibold 18/24
const int Subtitle = 20Display Semibold 20/28
const int Title = 28Display Semibold 28/36
const int TitleLarge = 40Display Semibold 40/52
const int Display = 68Display Semibold 68/92
Typography::IconSize
Konstanten
Typography::LineHeight
Konstanten
Typography::FontWeight
Konstanten
const int Medium = QFont::Medium500; Fallback nicht von Figma definiert.
const int SemiBold = QFont::DemiBold600; für Überschriftenstile verwendet.
const int Bold = QFont::Bold700; Fallback in aktuellen Figma-Stilen nicht definiert.
Typography::Icons
Konstanten
extern const QString FlipViewPrevHFlipView-spezifische Pfeile, kleiner und feiner als gewöhnliche Chevrons.
extern const QString AddAllgemeine Aktionen & Bearbeitung
extern const QString PlayMedien & Sound
extern const QString MailKommunikation & Benutzer
extern const QString FolderDateien & Ordner
extern const QString WifiSystem & Hardware
extern const QString WarningFeedback & Status
extern const QString BrushDesign & Layout