|
| DragDropWidget (const QString &id="", QWidget *parent=nullptr) |
|
void | setButtonIcon (const QIcon &icon, const QSize &size=QSize(36, 36)) |
|
QString | id () const |
|
void | setScreenShotedView (QWidget *view) |
|
void | screenShot () |
|
| DIconButton (QWidget *parent=nullptr) |
| 实现一个方便定义图标的button
|
|
| DIconButton (QStyle::StandardPixmap iconType, QWidget *parent=nullptr) |
|
| DIconButton (DStyle::StandardPixmap iconType, QWidget *parent=nullptr) |
|
| DIconButton (const DDciIcon &dciIcon, QWidget *parent=nullptr) |
|
void | setIcon (const QIcon &icon) |
| 设置button的图标
|
|
void | setIcon (QStyle::StandardPixmap iconType) |
| 设置button图标的类型,传入QT预定义枚举值
|
|
void | setIcon (DStyle::StandardPixmap iconType) |
| 设置button图标的类型,传入DTK预定义枚举值
|
|
void | setIcon (const DDciIcon &icon) |
|
DDciIcon | dciIcon () const |
|
QSize | sizeHint () const override |
|
QSize | minimumSizeHint () const override |
|
QSize | iconSize () const |
| icon的尺寸
|
|
bool | isFlat () const |
| button图标有无边框
|
|
void | setEnabledCircle (bool status) |
|
bool | enabledCircle () const |
|
void | setNewNotification (const bool set_new) |
| 设置是否显示小红点
|
|