KDEUI
kurllabel.cpp
Go to the documentation of this file.
34 linkColor( KColorScheme(QPalette::Active, KColorScheme::Window).foreground(KColorScheme::LinkText).color() ),
35 highlightedLinkColor( KColorScheme(QPalette::Active, KColorScheme::Window).foreground(KColorScheme::ActiveText).color() ),
56 if ( !(glowEnabled || floatEnabled) || !parent->rect().contains( parent->mapFromGlobal( QCursor::pos() ) ) )
321 palette.setColor( QPalette::Foreground, this->palette().color( QPalette::Active, QPalette::Foreground ) );
324 d->linkColor = KColorScheme(QPalette::Active, KColorScheme::Window).foreground(KColorScheme::LinkText).color();
QBrush foreground(ForegroundRole=NormalText) const
Retrieve the requested foreground brush.
Definition kcolorscheme.cpp:459
virtual void enterEvent(QEvent *)
Overridden for internal reasons; the API remains unaffected.
Definition kurllabel.cpp:272
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:247
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:257
virtual void setFont(const QFont &font)
Overridden for internal reasons; the API remains unaffected.
Definition kurllabel.cpp:139
bool isGlowEnabled() const
When this is on, the text will switch to the selected color whenever the mouse passes over it.
Definition kurllabel.cpp:252
void setTipText(const QString &tip)
Specifies what text to display when tooltips are turned on.
Definition kurllabel.cpp:199
virtual void mouseReleaseEvent(QMouseEvent *)
Overridden for internal reasons; the API remains unaffected.
Definition kurllabel.cpp:111
virtual void leaveEvent(QEvent *)
Overridden for internal reasons; the API remains unaffected.
Definition kurllabel.cpp:296
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:216
void setUseCursor(bool on, QCursor *cursor=0L)
Turns the custom cursor feature on or off.
Definition kurllabel.cpp:169
int timeout
Window
This file is part of the KDE documentation.
Documentation copyright © 1996-2025 The KDE developers.
Generated on Tue Mar 25 2025 00:00:00 by doxygen 1.14.0 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2025 The KDE developers.
Generated on Tue Mar 25 2025 00:00:00 by doxygen 1.14.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.