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();
void setHighlightedColor(const QColor &highcolor)
Sets the highlight color.
Definition: kurllabel.cpp:216
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 leaveEvent(QEvent *)
Overridden for internal reasons; the API remains unaffected.
Definition: kurllabel.cpp:296
int timeout
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 middleClickedUrl()
Emitted when the user clicked the left mouse button on this label.
const QPixmap * alternatePixmap() const
void rightClickedUrl()
Emitted when the user clicked the right mouse button on this label.
bool useTips() const
QBrush foreground(ForegroundRole=NormalText) const
Retrieve the requested foreground brush.
Definition: kcolorscheme.cpp:459
void setFloatEnabled(bool do_float=true)
Turns on or off the "float" feature.
Definition: kurllabel.cpp:247
void leftClickedUrl()
Emitted when the user clicked the left mouse button on this label.
virtual void enterEvent(QEvent *)
Overridden for internal reasons; the API remains unaffected.
Definition: kurllabel.cpp:272
void setUseCursor(bool on, QCursor *cursor=0L)
Turns the custom cursor feature on or off.
Definition: kurllabel.cpp:169
bool useCursor() const
void setGlowEnabled(bool glow=true)
Turns on or off the "glow" feature.
Definition: kurllabel.cpp:242
virtual void setFont(const QFont &font)
Overridden for internal reasons; the API remains unaffected.
Definition: kurllabel.cpp:139
virtual void mouseReleaseEvent(QMouseEvent *)
Overridden for internal reasons; the API remains unaffected.
Definition: kurllabel.cpp:111
void setTipText(const QString &tip)
Specifies what text to display when tooltips are turned on.
Definition: kurllabel.cpp:199
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:49:16 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:49:16 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.