DtkWidget 5.6.0.2
DTK Widget module
Public 槽 | 信号 | Public 成员函数 | 属性 | 所有成员列表
Dtk::Widget::DDoubleSpinBox类 参考

类似 DDoubleSpinBox. 更多...

类 Dtk::Widget::DDoubleSpinBox 继承关系图:
Inheritance graph
[图例]
Dtk::Widget::DDoubleSpinBox 的协作图:
Collaboration graph
[图例]

Public 槽

void setAlert (bool alert)
 
D_DECL_DEPRECATED void setDefaultValue (double defaultValue)
 

信号

void alertChanged (bool alert)
 
D_DECL_DEPRECATED void defaultValueChanged (double defaultValue)
 

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)
 显示指定的文本消息,超过指定时间后警告消息消失. 更多...
 
D_DECL_DEPRECATED double defaultValue () const
 
QLineEdit * lineEdit () const
 
void setEnabledEmbedStyle (bool enabled)
 

属性

bool alert
 
double defaultValue
 

详细描述

类似 DDoubleSpinBox.

\inmodule dtkwidget

成员函数说明

◆ showAlertMessage() [1/2]

void Dtk::Widget::DDoubleSpinBox::showAlertMessage ( const QString text,
int  duration = 3000 
)

显示指定的文本消息,超过指定时间后警告消息消失.

text text警告的文本 duration 显示的时间长度,单位毫秒

◆ showAlertMessage() [2/2]

void Dtk::Widget::DDoubleSpinBox::showAlertMessage ( const QString text,
QWidget *  follower,
int  duration = 3000 
)

显示指定的文本消息,超过指定时间后警告消息消失.

text text警告的文本 follower 指定文本消息跟随的对象 duration 显示的时间长度,单位毫秒


该类的文档由以下文件生成: