状态栏窗口
更多...
#include <DAStatusBarWidget.h>
|
|
| DAStatusBarWidget (QWidget *parent=nullptr) |
| |
|
void | showMessage (const QString &message, int timeout=15000) |
| |
|
void | clearMessage () |
| |
|
void | showProgressBar () |
| |
|
void | hideProgressBar () |
| |
| void | setProgress (int value) |
| | 默认范围0~100,如果设置超出范围值,进度会变为reset状态
|
| |
|
void | setBusy (bool busy) |
| |
|
bool | isBusy () const |
| |
|
void | resetProgress () |
| |
|
void | setProgressText (const QString &text) |
| |
|
void | clearProgressText () |
| |
|
QString | progressText () const |
| |
|
bool | isProgressBarVisible () const |
| |
|
QString | getCurrentMessage () const |
| |
|
void | setSwitchButtonVisible (DA::DAWorkbenchFeatureType type, bool visible) |
| |
|
bool | isSwitchButtonVisible (DA::DAWorkbenchFeatureType type) const |
| |
|
|
void | changeEvent (QEvent *event) override |
| |
◆ setProgress()
| void DA::DAStatusBarWidget::setProgress |
( |
int |
value | ) |
|
默认范围0~100,如果设置超出范围值,进度会变为reset状态
- 参数
-
该类的文档由以下文件生成:
- /home/runner/work/data-workbench/data-workbench/src/DAGui/DAStatusBarWidget.h
- /home/runner/work/data-workbench/data-workbench/src/DAGui/DAStatusBarWidget.cpp