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
QString styleSheet() const
KTitleWidget(QWidget *parent=0)
Constructs a title widget with the given.
Definition: ktitlewidget.cpp:107
Type type() const
void setFrameShape(Shape)
virtual void setVisible(bool visible)
QString text() const
typedef Alignment
QPixmap pixmap(const QSize &size, Mode mode, State state) const
bool isNull() const
void addWidget(QWidget *widget, int stretch, QFlags< Qt::AlignmentFlag > alignment)
void setLayout(QLayout *layout)
void installEventFilter(QObject *filterObj)
Qt::MouseButton button() const
bool eventFilter(QObject *object, QEvent *event)
Definition: ktitlewidget.cpp:152
virtual bool eventFilter(QObject *watched, QEvent *event)
void setMargin(int margin)
virtual void changeEvent(QEvent *event)
MessageType
QString comment() const
bool isNull() const
void setFrameShadow(Shadow)
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
Standard title widget with a white background and round border.
Definition: ktitlewidget.h:61
bool mightBeRichText(const QString &text)
void setPixmap(const QPixmap &pixmap, ImageAlignment alignment=ImageRight)
Definition: ktitlewidget.cpp:231
void setAutoFillBackground(bool enabled)
void show()
void setText(const QString &text, Qt::Alignment alignment=Qt::AlignLeft|Qt::AlignVCenter)
Definition: ktitlewidget.cpp:201
void setBackgroundRole(QPalette::ColorRole role)
void setComment(const QString &comment, MessageType type=PlainMessage)
Definition: ktitlewidget.cpp:220
QObject * parent() const
QString arg(qlonglong a, int fieldWidth, int base, const QChar &fillChar) const
virtual bool event(QEvent *event)
void removeEventFilter(QObject *obj)
int autoHideTimeout() const
Get the current timeout value in milliseconds.
singleShot
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:24:00 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:24:00 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.