KDEUI
Go to the documentation of this file.
20 #ifndef KMESSAGEWIDGET_H
21 #define KMESSAGEWIDGET_H
27 class KMessageWidgetPrivate;
97 Q_PROPERTY(
QString text READ text WRITE setText)
98 Q_PROPERTY(
bool wordWrap READ wordWrap WRITE setWordWrap)
99 Q_PROPERTY(
bool closeButtonVisible READ isCloseButtonVisible WRITE setCloseButtonVisible)
100 Q_PROPERTY(
MessageType messageType READ messageType WRITE setMessageType)
101 Q_PROPERTY(QIcon icon READ icon WRITE setIcon)
121 bool wordWrap()
const;
123 bool isCloseButtonVisible()
const;
127 void addAction(
QAction *action);
129 void removeAction(
QAction *action);
131 QSize sizeHint()
const;
133 QSize minimumSizeHint()
const;
135 int heightForWidth(
int width)
const;
144 void setText(
const QString &text);
146 void setWordWrap(
bool wordWrap);
148 void setCloseButtonVisible(
bool visible);
168 void setIcon(
const QIcon &icon);
178 void linkActivated(
const QString& contents);
187 void linkHovered(
const QString& contents);
190 void paintEvent(QPaintEvent *event);
192 bool event(QEvent *event);
194 void resizeEvent(QResizeEvent *event);
196 void showEvent(QShowEvent *event);
199 KMessageWidgetPrivate *
const d;
200 friend class KMessageWidgetPrivate;
202 Q_PRIVATE_SLOT(d,
void slotTimeLineChanged(qreal))
203 Q_PRIVATE_SLOT(d,
void slotTimeLineFinished())
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Sep 23 2014 09:57:47 by
doxygen 1.8.3.1 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.