跳转至

cf::ui::gallery::TypographyPage

Typography page - displays all 15 Material Design 3 typography tokens. More...

#include <TypographyPage.h>

Inherits from cf::ui::gallery::ThemePageWidget, QWidget

Public Functions

Name
TypographyPage(QWidget * parent =nullptr)
~TypographyPage() override =default
virtual QString pageTitle() const override
Get the display title of this page.
virtual void applyTheme(constcf::ui::core::ICFTheme & theme) override
Apply a new theme to this page.

Additional inherited members

Public Functions inherited from cf::ui::gallery::ThemePageWidget

Name
ThemePageWidget(QWidget * parent =nullptr)
~ThemePageWidget() override =default

Detailed Description

class cf::ui::gallery::TypographyPage;

Typography page - displays all 15 Material Design 3 typography tokens.

Organized in 5 categories:

  • Display Styles (3)
  • Headline Styles (3)
  • Title Styles (3)
  • Body Styles (3)
  • Label Styles (3)

Public Functions Documentation

function TypographyPage

explicit TypographyPage(
    QWidget * parent =nullptr
)

function ~TypographyPage

~TypographyPage() override =default

function pageTitle

inline virtual QString pageTitle() const override

Get the display title of this page.

Return: Page title for display purposes

Reimplements: cf::ui::gallery::ThemePageWidget::pageTitle

function applyTheme

virtual void applyTheme(
    constcf::ui::core::ICFTheme & theme
) override

Apply a new theme to this page.

Parameters:

  • theme The theme to apply

Reimplements: cf::ui::gallery::ThemePageWidget::applyTheme


Updated on 2026-03-09 at 10:14:00 +0000