|
DtkWidget
DTK Widget module
|
Public 槽 | |
| void | setAlert (bool alert) |
信号 | |
| void | alertChanged (bool alert) |
Public 成员函数 | |
| DDoubleSpinBox (QWidget *parent=nullptr) | |
| bool | isAlert () const |
| void | showAlertMessage (const QString &text, int duration=3000) |
| 显示指定的文本消息,超过指定时间后警告消息消失 | |
| void | showAlertMessage (const QString &text, QWidget *follower, int duration=3000) |
| 显示指定的文本消息,超过指定时间后警告消息消失 | |
| QLineEdit * | lineEdit () const |
| void | setEnabledEmbedStyle (bool enabled) |
属性 | |
| bool | alert |
| void DDoubleSpinBox::showAlertMessage | ( | const QString & | text, |
| int | duration = 3000 |
||
| ) |
显示指定的文本消息,超过指定时间后警告消息消失
| [in] | text | 警告的文本 |
| [in] | duration | 显示的时间长度,单位毫秒 |
| void DDoubleSpinBox::showAlertMessage | ( | const QString & | text, |
| QWidget * | follower, | ||
| int | duration = 3000 |
||
| ) |
显示指定的文本消息,超过指定时间后警告消息消失
| [in] | text | 警告的文本 |
| [in] | follower | 指定文本消息跟随的对象 |
| [in] | duration | 显示的时间长度,单位毫秒 |