跳转至

cf::ui::example::LabelExampleWindow

Main window for the Material Label Example. More...

#include <LabelExampleWindow.h>

Inherits from QMainWindow

Public Functions

Name
LabelExampleWindow(QWidget * parent =nullptr)
~LabelExampleWindow() override

Detailed Description

class cf::ui::example::LabelExampleWindow;

Main window for the Material Label Example.

Displays all 15 Material Design 3 typography styles:

  • Display Large/Medium/Small (hero content)
  • Headline Large/Medium/Small (app bar text)
  • Title Large/Medium/Small (section headings)
  • Body Large/Medium/Small (main content)
  • Label Large/Medium/Small (secondary information)

Also demonstrates:

  • Different color variants (OnSurface, Primary, Error, etc.)
  • Disabled state
  • Auto-hiding behavior
  • Word wrap functionality

Public Functions Documentation

function LabelExampleWindow

explicit LabelExampleWindow(
    QWidget * parent =nullptr
)

function ~LabelExampleWindow

~LabelExampleWindow() override

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