dde-control-center
Deepin Control Center
载入中...
搜索中...
未找到
dccv23::SwitchWidget类 参考
类 dccv23::SwitchWidget 继承关系图:
dccv23::SettingsItem

信号

void checkedChanged (const bool checked) const
 
void clicked ()
 
- 信号 继承自 dccv23::SettingsItem
void clicked (QWidget *widget)
 

Public 成员函数

 SwitchWidget (const QString &title, QWidget *parent=nullptr)
 
 SwitchWidget (QWidget *parent=nullptr, QWidget *widget=nullptr)
 
void setChecked (const bool checked=true)
 
QString title () const
 
void setTitle (const QString &title)
 
bool checked () const
 
void setLeftWidget (QWidget *widget)
 
QWidget * leftWidget () const
 
QHBoxLayout * getMainLayout ()
 
DTK_WIDGET_NAMESPACE::DSwitchButton * switchButton () const
 
- Public 成员函数 继承自 dccv23::SettingsItem
 SettingsItem (QWidget *parent=nullptr)
 
bool isErr () const
 
virtual void setIsErr (const bool err=true)
 
void addBackground ()
 
void removeBackground ()
 
bool clickable () const
 
void setClickable (const bool clickable)
 

Protected 成员函数

void mouseReleaseEvent (QMouseEvent *event) Q_DECL_OVERRIDE
 
- Protected 成员函数 继承自 dccv23::SettingsItem
void resizeEvent (QResizeEvent *event) override
 
void paintEvent (QPaintEvent *event) override
 
void enterEvent (QEvent *event) override
 
void leaveEvent (QEvent *event) override
 
void mousePressEvent (QMouseEvent *event) override
 

额外继承的成员函数

- 属性 继承自 dccv23::SettingsItem
bool isErr
 

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