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());
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
MessageType
void setText(const QString &text, Qt::Alignment alignment=Qt::AlignLeft|Qt::AlignVCenter)
Definition: ktitlewidget.cpp:201
bool eventFilter(QObject *object, QEvent *event)
Definition: ktitlewidget.cpp:152
Standard title widget with a white background and round border.
Definition: ktitlewidget.h:61
void setPixmap(const QPixmap &pixmap, ImageAlignment alignment=ImageRight)
Definition: ktitlewidget.cpp:231
void installEventFilter(QWidget *filter)
Installs a widget filter as a global X11 event filter.
Definition: ksystemeventfilter.cpp:146
KTitleWidget(QWidget *parent=0)
Constructs a title widget with the given.
Definition: ktitlewidget.cpp:107
void removeEventFilter(const QWidget *filter)
Removes a global widget filter.
Definition: ksystemeventfilter.cpp:153
void setComment(const QString &comment, MessageType type=PlainMessage)
Definition: ktitlewidget.cpp:220
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Thu Jan 30 2020 00:00:00 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2020 The KDE developers.
Generated on Thu Jan 30 2020 00:00:00 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.