跳转至

cf::ui::example::ButtonExampleWindow

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

#include <ButtonExampleWindow.h>

Inherits from QMainWindow

Public Functions

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

Detailed Description

class cf::ui::example::ButtonExampleWindow;

Main window for the Material Button Example.

Displays all 5 Material Design 3 button variants:

  • Filled Button (填充按钮)
  • Tonal Button (音调按钮)
  • Outlined Button (轮廓按钮)
  • Text Button (文本按钮)
  • Elevated Button (升级按钮)

Also demonstrates:

  • Buttons with leading icons
  • Disabled button states
  • Different elevation levels
  • Button interaction (ripple effects, hover states)

Public Functions Documentation

function ButtonExampleWindow

explicit ButtonExampleWindow(
    QWidget * parent =nullptr
)

function ~ButtonExampleWindow

~ButtonExampleWindow() override

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