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)
120 bool wordWrap()
const;
122 bool isCloseButtonVisible()
const;
126 void addAction(
QAction *action);
128 void removeAction(
QAction *action);
130 QSize sizeHint()
const;
132 QSize minimumSizeHint()
const;
134 int heightForWidth(
int width)
const;
137 void setText(
const QString &text);
139 void setWordWrap(
bool wordWrap);
141 void setCloseButtonVisible(
bool visible);
165 void linkActivated(
const QString& contents);
168 void paintEvent(QPaintEvent *event);
170 bool event(QEvent *event);
172 void resizeEvent(QResizeEvent *event);
174 void showEvent(QShowEvent *event);
177 KMessageWidgetPrivate *
const d;
178 friend class KMessageWidgetPrivate;
180 Q_PRIVATE_SLOT(d,
void slotTimeLineChanged(qreal))
181 Q_PRIVATE_SLOT(d,
void slotTimeLineFinished())
This file is part of the KDE documentation.
Documentation copyright © 1996-2013 The KDE developers.
Generated on Sat Jun 1 2013 12:07:16 by
doxygen 1.8.1.1 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.