KDEUI
ktitlewidget.cpp
Go to the documentation of this file.
44 return QString("QLabel { font-weight: bold; color: %1}").arg(q->palette().color(QPalette::WindowText).name());
58 styleSheet = QString("QLabel { color: palette(%1); background: palette(%2); }").arg(q->palette().color(QPalette::HighlightedText).name()).arg(q->palette().color(QPalette::Highlight).name());
136 d->commentLabel->setTextInteractionFlags(Qt::TextSelectableByMouse | Qt::LinksAccessibleByMouse);
const QPixmap * pixmap() const
KTitleWidget(QWidget *parent=0)
Constructs a title widget with the given.
Definition: ktitlewidget.cpp:107
QString text() const
bool eventFilter(QObject *object, QEvent *event)
Definition: ktitlewidget.cpp:152
MessageType
QString comment() const
void setAutoHideTimeout(int msecs)
Set the autohide timeout of the label Set value to 0 to disable autohide, which is the default...
Definition: ktitlewidget.cpp:278
void removeEventFilter(const QWidget *filter)
Removes a global widget filter.
Definition: ksystemeventfilter.cpp:153
Standard title widget with a white background and round border.
Definition: ktitlewidget.h:61
void installEventFilter(QWidget *filter)
Installs a widget filter as a global X11 event filter.
Definition: ksystemeventfilter.cpp:146
void setPixmap(const QPixmap &pixmap, ImageAlignment alignment=ImageRight)
Definition: ktitlewidget.cpp:231
void setText(const QString &text, Qt::Alignment alignment=Qt::AlignLeft|Qt::AlignVCenter)
Definition: ktitlewidget.cpp:201
void setComment(const QString &comment, MessageType type=PlainMessage)
Definition: ktitlewidget.cpp:220
int autoHideTimeout() const
Get the current timeout value in milliseconds.
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:49:15 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:49:15 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.