KWidgetsAddons
kurllabel.h
46 * connect(address, &KUrlLabel::leftClickedUrl, this, [this](cont QString &url) { processMyUrl(url); };
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
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 setHighlightedColor(const QColor &highcolor)
Sets the highlight color.
Definition kurllabel.cpp:197
QLabel(QWidget *parent, Qt::WindowFlags f)
virtual bool event(QEvent *e) override
virtual void mouseReleaseEvent(QMouseEvent *ev) override
pixmap
text
Q_OBJECTQ_OBJECT
Q_PROPERTY(...)
Q_SIGNALSQ_SIGNALS
Q_SLOTSQ_SLOTS
QObject * parent() const const
QWidget(QWidget *parent, Qt::WindowFlags f)
cursor
virtual void enterEvent(QEnterEvent *event)
void setFont(const QFont &)
virtual void leaveEvent(QEvent *event)
This file is part of the KDE documentation.
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Jan 24 2025 11:56:58 by doxygen 1.13.2 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Jan 24 2025 11:56:58 by doxygen 1.13.2 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.