跳转至

cf::ui::gallery::MaterialGalleryMainWindow

Main window for the Material Design 3 Gallery. More...

#include <MaterialGalleryMainWindow.h>

Inherits from QMainWindow

Public Functions

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

Protected Functions

Name
void resizeEvent(QResizeEvent * event) override

Detailed Description

class cf::ui::gallery::MaterialGalleryMainWindow;

Main window for the Material Design 3 Gallery.

Features:

  • Left sidebar with 4 tab items (Color Scheme, Motion Spec, Radius Scale, Typography)
  • Content area with QStackedWidget for switching between pages
  • Theme toggle switch in header for light/dark theme switching
  • ThemeManager integration for global theme management

Public Functions Documentation

function MaterialGalleryMainWindow

explicit MaterialGalleryMainWindow(
    QWidget * parent =nullptr
)

function ~MaterialGalleryMainWindow

~MaterialGalleryMainWindow() override

Protected Functions Documentation

function resizeEvent

void resizeEvent(
    QResizeEvent * event
) override

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