tpProgressBar类
SingleGUI
2025-07-05
继承关系
基础信息
头文件: | include <tpProgressBar.h> |
---|---|
Cmake: | None |
发布版本: | V0.1.0 |
继承类: | tpChildWidget |
派生类: |
Public 成员函数
tpProgressBar(tpChildWidget *parent) | ||
---|---|---|
~tpProgressBar() | ||
setRangeFrom(int32_t min=0, int32_t max=0) | ||
setPosition(int32_t pos) | ||
setPercent(double percent) | ||
position() | ||
percent() | ||
virtual tpFont * | font() | |
setProgressBackColor(uint32_t bkColor=tpColors::Green) | ||
setProgressBackColor(tpColors &color) | ||
setTopLeftLineColor(uint32_t color=tpColors::Black) | ||
setTopLeftLineColor(tpColors &color) | ||
setRightBottomLineColor(uint32_t color=tpColors::LightSlateGray) | ||
setRightBottomLineColor(tpColors &color) | ||
setRect(tpRect &rect) | ||
setRect(tpRect *rect) | ||
setRect(ItpRect &rect) | ||
setRect(ItpRect *rect) | ||
setRect(int32_t x, int32_t y, uint32_t w, uint32_t h) | ||
onPaintEvent(tpObjectPaintEvent *event) | 绘制事件,禁止在该函数调用 paint和update函数 |
成员函数说明
tpProgressBar::tpProgressBar(tpChildWidget *parent)
暂无注释...
virtual
tpProgressBar::~tpProgressBar()
暂无注释...
virtual
void tpProgressBar::setRangeFrom(int32_t min=0, int32_t max=0)
暂无注释...
virtual
void tpProgressBar::setPosition(int32_t pos)
暂无注释...
virtual
void tpProgressBar::setPercent(double percent)
暂无注释...
virtual
int tpProgressBar::position()
暂无注释...
virtual
double tpProgressBar::percent()
暂无注释...
virtual
tpFont * tpProgressBar::font()
暂无注释...
virtual
void tpProgressBar::setProgressBackColor(uint32_t bkColor=tpColors::Green)
暂无注释...
virtual
void tpProgressBar::setProgressBackColor(tpColors &color)
暂无注释...
virtual
void tpProgressBar::setTopLeftLineColor(uint32_t color=tpColors::Black)
暂无注释...
virtual
void tpProgressBar::setTopLeftLineColor(tpColors &color)
暂无注释...
virtual
void tpProgressBar::setRightBottomLineColor(uint32_t color=tpColors::LightSlateGray)
暂无注释...
virtual
void tpProgressBar::setRightBottomLineColor(tpColors &color)
暂无注释...
virtual
void tpProgressBar::setRect(tpRect &rect)
暂无注释...
virtual
void tpProgressBar::setRect(tpRect *rect)
暂无注释...
virtual
void tpProgressBar::setRect(ItpRect &rect)
暂无注释...
virtual
void tpProgressBar::setRect(ItpRect *rect)
暂无注释...
virtual
void tpProgressBar::setRect(int32_t x, int32_t y, uint32_t w, uint32_t h)
暂无注释...
virtual
bool tpProgressBar::onPaintEvent(tpObjectPaintEvent *event)
点击查看...
绘制事件,禁止在该函数调用 paint和update函数
返回值:
返回true继续执行子控件绘制