44 explicit KisFloatingMessage(
const QString &message, QWidget *parent,
bool showOverParent,
int timeout,
45 Priority priority,
int alignment = Qt::AlignCenter | Qt::TextWordWrap);
48 void setShowOverParent(
bool show);
50 void setIcon(
const QIcon& icon);
52 void tryOverrideMessage(
const QString message,
56 int alignment = Qt::AlignCenter | Qt::TextWordWrap);
64 void updateOpacity(
int value);
68 QRect determineMetrics(
const int M);
76 bool m_showOverParent {
false};
80 bool widgetQueuedForDeletion {
false};
81 QLabel *m_messageLabel {
nullptr};
82 QLabel *m_iconLabel {
nullptr};