tpNotificationItem类
SingleGUI
2025-07-05
继承关系
基础信息
头文件: | include <tpNotificationItem.h> |
---|---|
Cmake: | None |
发布版本: | V0.1.0 |
继承类: | tpChildWidget |
派生类: |
Public 成员函数
tpNotificationItem(tpChildWidget *parent=nullptr) | ||
---|---|---|
~tpNotificationItem() | ||
setItemData(const NotificationItemData &data) | ||
const NotificationItemData & | itemData() | |
onPaintEvent(tpObjectPaintEvent *event) override | 绘制事件,禁止在该函数调用 paint和update函数 | |
onMouseKeyEvent(tpMouseKeyEvent *event) override | ||
onResizeEvent(tpObjectResizeEvent *event) override |
成员函数说明
tpNotificationItem::tpNotificationItem(tpChildWidget *parent=nullptr)
暂无注释...
tpNotificationItem::~tpNotificationItem()
暂无注释...
void tpNotificationItem::setItemData(const NotificationItemData &data)
暂无注释...
const NotificationItemData & tpNotificationItem::itemData()
暂无注释...
virtual
bool tpNotificationItem::onPaintEvent(tpObjectPaintEvent *event) override
点击查看...
绘制事件,禁止在该函数调用 paint和update函数
返回值:
返回true继续执行子控件绘制