28 explicit DFloatingMessage(MessageType notifyType = MessageType::TransientType, QWidget *parent =
nullptr);
29 MessageType messageType()
const;
31 void setIcon(
const QIcon &ico);
32 void setIcon(
const DDciIcon &icon);
33 void setMessage(
const QString &str);
34 void setWidget(QWidget *w);
35 void setDuration(
int msec);
37 virtual QSize sizeHint()
const override;
40 void closeButtonClicked();
44 using DFloatingWidget::setWidget;
46 virtual void changeEvent(QEvent *event)
override;
48 void showEvent(QShowEvent *event)
override;