26 #ifndef DIGIKAM_DNOTIFICATION_WIDGET_H
27 #define DIGIKAM_DNOTIFICATION_WIDGET_H
50 Q_PROPERTY(QString text READ text WRITE setText)
51 Q_PROPERTY(
bool wordWrap READ wordWrap WRITE setWordWrap)
52 Q_PROPERTY(
bool closeButtonVisible READ isCloseButtonVisible WRITE setCloseButtonVisible)
53 Q_PROPERTY(
MessageType messageType READ messageType WRITE setMessageType)
54 Q_PROPERTY(QIcon icon READ icon WRITE setIcon)
104 bool wordWrap()
const;
111 bool isCloseButtonVisible()
const;
119 MessageType messageType()
const;
129 void addAction(QAction* action);
137 void removeAction(QAction* action);
144 void clearAllActions();
149 QSize sizeHint()
const override;
154 QSize minimumSizeHint()
const override;
160 int heightForWidth(
int width)
const override;
174 bool isHideAnimationRunning()
const;
183 bool isShowAnimationRunning()
const;
188 void animatedShowTemporized(
int delay);
199 void setText(
const QString& text);
210 void setWordWrap(
bool wordWrap);
218 void setCloseButtonVisible(
bool visible);
241 void setIcon(
const QIcon& icon);
289 void slotTimerTimeout();
293 void paintEvent(QPaintEvent* event)
override;
294 bool event(QEvent* event)
override;
295 void resizeEvent(QResizeEvent* event)
override;
Definition: datefolderview.cpp:43