KDEUI
Go to the documentation of this file.
24#include <QtGui/QWidget>
65 Q_PROPERTY(QString text READ text WRITE setText)
66 Q_PROPERTY(QString comment READ comment WRITE setComment)
67 Q_PROPERTY(QPixmap pixmap READ pixmap WRITE setPixmap)
68 Q_PROPERTY(
int autoHideTimeout READ autoHideTimeout WRITE setAutoHideTimeout)
102 void setWidget(
QWidget *widget);
108 QString text()
const;
114 QString comment()
const;
120 const QPixmap *pixmap()
const;
135 int autoHideTimeout()
const;
144 void setText(
const QString &text, Qt::Alignment alignment = Qt::AlignLeft | Qt::AlignVCenter);
151 void setText(
const QString &text,
MessageType type);
159 void setComment(
const QString &comment,
MessageType type = PlainMessage);
166 void setPixmap(
const QPixmap &pixmap, ImageAlignment alignment = ImageRight);
173 void setPixmap(
const QString &icon, ImageAlignment alignment = ImageRight);
180 void setPixmap(
const QIcon& icon, ImageAlignment alignment = ImageRight);
187 void setPixmap(
MessageType type, ImageAlignment alignment = ImageRight);
194 void setAutoHideTimeout(
int msecs);
197 void changeEvent(QEvent *e);
198 void showEvent(QShowEvent *event);
199 bool eventFilter(
QObject *
object, QEvent *event);
205 Q_PRIVATE_SLOT(d,
void _k_timeoutFinished())
This file is part of the KDE documentation.
Documentation copyright © 1996-2023 The KDE developers.
Generated on Mon Feb 20 2023 00:00:00 by
doxygen 1.9.6 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.