KDEUI
Go to the documentation of this file.
26 #include <QtGui/QColor>
27 #include <QtGui/QLabel>
28 #include <QtGui/QPixmap>
72 Q_PROPERTY(
QString url READ url WRITE setUrl)
73 Q_PROPERTY(
QString tipText READ tipText WRITE setTipText )
74 Q_PROPERTY(QPixmap alternatePixmap READ alternatePixmap WRITE setAlternatePixmap )
75 Q_PROPERTY(
bool glowEnabled READ isGlowEnabled WRITE setGlowEnabled )
76 Q_PROPERTY(
bool floatEnabled READ isFloatEnabled WRITE setFloatEnabled )
77 Q_PROPERTY(
bool useTips READ useTips WRITE setUseTips )
78 Q_PROPERTY(
bool useCursor READ useCursor WRITE setUseCursor )
116 QString tipText() const;
123 bool useTips() const;
130 bool useCursor() const;
136 bool isGlowEnabled() const;
146 bool isFloatEnabled() const;
151 const QPixmap* alternatePixmap() const;
160 void setUnderline(
bool on = true );
167 void setUrl( const QString& url );
172 virtual
void setFont( const
QFont &font );
181 void setUseTips (
bool on = true );
190 void setTipText( const QString& tip );
198 void setHighlightedColor( const
QColor& highcolor );
205 void setHighlightedColor( const QString& highcolor );
214 void setSelectedColor( const
QColor& color );
221 void setSelectedColor( const QString& color );
233 void setUseCursor(
bool on,
QCursor* cursor = 0L );
242 void setGlowEnabled(
bool glow = true );
255 void setFloatEnabled(
bool do_float = true );
266 void setAlternatePixmap( const QPixmap& pixmap );
275 void enteredUrl( const QString& url );
287 void leftUrl( const QString& url );
299 void leftClickedUrl( const QString& url );
304 void leftClickedUrl();
311 void rightClickedUrl( const QString& url );
316 void rightClickedUrl();
323 void middleClickedUrl( const QString& url );
328 void middleClickedUrl();
334 virtual
void mouseReleaseEvent( QMouseEvent* );
339 virtual
void enterEvent( QEvent* );
344 virtual
void leaveEvent( QEvent* );
349 virtual
bool event( QEvent* );
355 Q_PRIVATE_SLOT( d,
void updateColor() )
A drop-in replacement for QLabel that displays hyperlinks.
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
KDE's Doxygen guidelines are available online.