KWidgetsAddons
kurllabel.cpp
41 if (!(glowEnabled || floatEnabled) || !parent->rect().contains(parent->mapFromGlobal(QCursor::pos()))) {
304 palette.setColor(QPalette::WindowText, this->palette().color(QPalette::Active, QPalette::WindowText));
void enterEvent(QEnterEvent *event) override
Overridden for internal reasons; the API remains unaffected.
Definition kurllabel.cpp:255
void leaveEvent(QEvent *) override
Overridden for internal reasons; the API remains unaffected.
Definition kurllabel.cpp:281
void rightClickedUrl()
Emitted when the user clicked the right mouse button on this label.
void setFloatEnabled(bool do_float=true)
Turns on or off the "float" feature.
Definition kurllabel.cpp:230
void setUseCursor(bool on, QCursor *cursor=nullptr)
Turns the custom cursor feature on or off.
Definition kurllabel.cpp:148
bool isFloatEnabled() const
This feature is very similar to the "glow" feature in that the color of the label switches to the sel...
Definition kurllabel.cpp:240
virtual void setFont(const QFont &font)
Overridden for internal reasons; the API remains unaffected.
Definition kurllabel.cpp:118
bool isGlowEnabled() const
When this is on, the text will switch to the selected color whenever the mouse passes over it.
Definition kurllabel.cpp:235
void setTipText(const QString &tip)
Specifies what text to display when tooltips are turned on.
Definition kurllabel.cpp:180
void middleClickedUrl()
Emitted when the user clicked the left mouse button on this label.
void leftClickedUrl()
Emitted when the user clicked the left mouse button on this label.
void mouseReleaseEvent(QMouseEvent *) override
Overridden for internal reasons; the API remains unaffected.
Definition kurllabel.cpp:93
void setHighlightedColor(const QColor &highcolor)
Sets the highlight color.
Definition kurllabel.cpp:197
QPoint pos()
PaletteChange
void setUnderline(bool enable)
virtual bool event(QEvent *e) override
virtual void mouseReleaseEvent(QMouseEvent *ev) override
pixmap
Q_EMITQ_EMIT
QMetaObject::Connection connect(const QObject *sender, PointerToMemberFunction signal, Functor functor)
Normal
WindowText
void setColor(ColorGroup group, ColorRole role, const QColor &color)
PointingHandCursor
LeftButton
void stop()
void timeout()
void setCursor(const QCursor &)
virtual void enterEvent(QEnterEvent *event)
font
virtual void leaveEvent(QEvent *event)
QPoint mapFromGlobal(const QPoint &pos) const const
palette
QWidget * parentWidget() const const
rect
void setToolTip(const QString &)
void update()
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Sat Dec 21 2024 16:59:27 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2024 The KDE developers.
Generated on Sat Dec 21 2024 16:59:27 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.