tpFilePathWidgetItem类
SingleGUI
2025-07-05
介绍
路径显示按钮类
继承关系
基础信息
头文件: | include <tpFilePathWidgetItem.h> |
---|---|
Cmake: | None |
发布版本: | V0.1.0 |
继承类: | tpLabel |
派生类: |
Public 成员函数
tpFilePathWidgetItem(tpChildWidget *parent=nullptr) | ||
---|---|---|
~tpFilePathWidgetItem() | ||
setText(const tpString &text) override | 设置显示文本 |
Protected成员函数
onPaintEvent(tpObjectPaintEvent *event) override | 绘制事件,禁止在该函数调用 paint和update函数 | |
---|---|---|
virtual tpString | pluginType() override | 组件类名,子类实现,返回子类类名字符串,用于匹配CSS中对应样式 |
成员函数说明
tpFilePathWidgetItem::tpFilePathWidgetItem(tpChildWidget *parent=nullptr)
暂无注释...
virtual
tpFilePathWidgetItem::~tpFilePathWidgetItem()
暂无注释...
virtual
void tpFilePathWidgetItem::setText(const tpString &text) override
点击查看...
设置显示文本
virtual
bool tpFilePathWidgetItem::onPaintEvent(tpObjectPaintEvent *event) override
点击查看...
绘制事件,禁止在该函数调用 paint和update函数
返回值:
返回true继续执行子控件绘制
virtual
tpString tpFilePathWidgetItem::pluginType() override
点击查看...
组件类名,子类实现,返回子类类名字符串,用于匹配CSS中对应样式
返回值:
类名字符串