cf::ui::gallery::ToastWidget¶
Toast notification widget for displaying temporary messages. More...
#include <MaterialColorSchemeMainWindow.h>
Inherits from QWidget, QWidget, QWidget, QWidget
Public Functions¶
| Name | |
|---|---|
| ToastWidget(constQString & message, QWidget * parent =nullptr) | |
| void | show(int durationMs =2000) |
| ToastWidget(constQString & message, QWidget * parent =nullptr) | |
| void | show(int durationMs =2000) |
| ToastWidget(constQString & message, QWidget * parent =nullptr) | |
| void | show(int durationMs =2000) |
| ToastWidget(constQString & message, QWidget * parent =nullptr) | |
| void | show(int durationMs =2000) |
Protected Functions¶
| Name | |
|---|---|
| void | paintEvent(QPaintEvent * event) override |
| void | paintEvent(QPaintEvent * event) override |
| void | paintEvent(QPaintEvent * event) override |
| void | paintEvent(QPaintEvent * event) override |
Detailed Description¶
Toast notification widget for displaying temporary messages.
Shows a semi-transparent notification at the bottom of the window that automatically fades out after 2 seconds.
Public Functions Documentation¶
function ToastWidget¶
function show¶
function ToastWidget¶
function show¶
function ToastWidget¶
function show¶
function ToastWidget¶
function show¶
Protected Functions Documentation¶
function paintEvent¶
function paintEvent¶
function paintEvent¶
function paintEvent¶
Updated on 2026-03-09 at 10:14:00 +0000