跳转至

cf::ui::example::TextAreaExampleWindow

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

#include <TextAreaExampleWindow.h>

Inherits from QMainWindow

Public Functions

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

Detailed Description

class cf::ui::example::TextAreaExampleWindow;

Main window for the Material TextArea Example.

Displays Material Design 3 text area variants:

  • Filled TextArea (填充文本域)
  • Outlined TextArea (轮廓文本域)

Also demonstrates:

  • Floating labels
  • Character counter
  • Helper text and error states
  • Min/max lines configuration
  • Disabled states

Public Functions Documentation

function TextAreaExampleWindow

explicit TextAreaExampleWindow(
    QWidget * parent =nullptr
)

function ~TextAreaExampleWindow

~TextAreaExampleWindow() override

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