Sophie

Sophie

distrib > Mandriva > 8.2 > i586 > by-pkgid > 6282078ae76a671f49c6af38c67b1a07 > files > 982

kdelibs-devel-2.2.2-49.2mdk.i586.rpm

<HTML>
<HEAD>
<TITLE>class KURLLabel</TITLE>

<META NAME="Generator" CONTENT="KDOC ">
</HEAD>
<BODY bgcolor="#ffffff" text="#000000" link="#0000ff" vlink="#000099" alink= "#ffffff">
<TABLE WIDTH="100%" BORDER="0">
<TR>
<TD>
	<TABLE BORDER="0">
		<TR><TD valign="top" align="left" cellspacing="10">
		<h1>class KURLLabel</h1>
		</TD>
		<TD valign="top" align="right" colspan="1">A drop-in replacement for QLabel that displays hyperlinks.
 <small><A HREF="#longdesc">More...</A></small></TD></TR>
	</TABLE>
	<HR>
	<TABLE BORDER="0">
		<TR><TH>Definition</TH><TD><code>#include &lt;<A HREF="kurllabel_h.html">kurllabel.h</A>&gt;</code></TD></TR>
<TR><TH>Inherits</TH><TD><A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qlabel.html">QLabel</A> <small>(qt)</small> <small>[public ]</small></TD></TR>
<TR><TH><A HREF="full-list-KURLLabel.html">List of all Methods</A></TH></TR>
	</TABLE>
	</TD>
<TD align="right"><TABLE BORDER="0"><TR><TD><small><A HREF="index-long.html">Annotated List</A></small></TD></TR>
<TR><TD><small><A HREF="header-list.html">Files</A></small></TD></TR>
<TR><TD><small><A HREF="all-globals.html">Globals</A></small></TD></TR>
<TR><TD><small><A HREF="hier.html">Hierarchy</A></small></TD></TR>
<TR><TD><small><A HREF="index.html">Index</A></small></TD></TR>
</TABLE></TD></TR></TABLE>
<h4>Public Methods</h4><ul><LI>&nbsp;<b><A HREF="#ref3">KURLLabel</A></b> (<A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qwidget.html">QWidget</A>* parent = 0L, const char* name = 0L) 
</LI>
<LI>&nbsp;<b><A HREF="#ref4">KURLLabel</A></b> (const <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qstring.html">QString</A>& url, const <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qstring.html">QString</A>& text = QString::null,
              <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qwidget.html">QWidget</A>* parent = 0L, const char* name = 0L) 
</LI>
<LI>virtual  &nbsp;<b><A HREF="#ref5">~KURLLabel</A></b> () 
</LI>
<LI>const <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qstring.html">QString</A>& &nbsp;<b><A HREF="#ref6">url</A></b> ()  const
</LI>
<LI>const <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qstring.html">QString</A>& &nbsp;<b><A HREF="#ref7">tipText</A></b> ()  const
</LI>
<LI>bool &nbsp;<b><A HREF="#ref8">useTips</A></b> ()  const
</LI>
<LI>bool &nbsp;<b><A HREF="#ref9">useCursor</A></b> ()  const
</LI>
<LI>bool &nbsp;<b><A HREF="#ref10">isGlowEnabled</A></b> ()  const
</LI>
<LI>bool &nbsp;<b><A HREF="#ref11">isFloatEnabled</A></b> ()  const
</LI>
<LI>const <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qpixmap.html">QPixmap</A>* &nbsp;<b><A HREF="#ref12">altPixmap</A></b> ()  const
</LI>
</ul><h4>Public Slots</h4><ul><LI>void &nbsp;<b><A HREF="#ref13">setUnderline</A></b> (bool on = true) 
</LI>
<LI>void &nbsp;<b><A HREF="#ref14">setURL</A></b> (const <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qstring.html">QString</A>& url) 
</LI>
<LI>virtual  void &nbsp;<b><A HREF="#ref15">setFont</A></b> (const <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qfont.html">QFont</A>&) 
</LI>
<LI>void &nbsp;<b><A HREF="#ref16">setUseTips</A></b> (bool on = true) 
</LI>
<LI>void &nbsp;<b><A HREF="#ref17">setTipText</A></b> (const <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qstring.html">QString</A>& tip) 
</LI>
<LI>void &nbsp;<b><A HREF="#ref18">setHighlightedColor</A></b> (const <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qcolor.html">QColor</A>& highcolor) 
</LI>
<LI>void &nbsp;<b><A HREF="#ref19">setHighlightedColor</A></b> (const <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qstring.html">QString</A>& highcolor) 
</LI>
<LI>void &nbsp;<b><A HREF="#ref20">setSelectedColor</A></b> (const <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qcolor.html">QColor</A>& selcolor) 
</LI>
<LI>void &nbsp;<b><A HREF="#ref21">setSelectedColor</A></b> (const <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qstring.html">QString</A>& selcolor) 
</LI>
<LI>void &nbsp;<b><A HREF="#ref22">setUseCursor</A></b> (bool on, <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qcursor.html">QCursor</A>* cursor = 0L) 
</LI>
<LI>void &nbsp;<b><A HREF="#ref23">setGlow</A></b> (bool glow = true) 
</LI>
<LI>void &nbsp;<b><A HREF="#ref24">setFloat</A></b> (bool do_float = true) 
</LI>
<LI>void &nbsp;<b><A HREF="#ref25">setAltPixmap</A></b> (const <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qpixmap.html">QPixmap</A>& altPix) 
</LI>
</ul><h4>Signals</h4><ul><LI>void &nbsp;<b><A HREF="#ref26">enteredURL</A></b> (const <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qstring.html">QString</A>& url) 
</LI>
<LI>void &nbsp;<b><A HREF="#ref27">enteredURL</A></b> () 
</LI>
<LI>void &nbsp;<b><A HREF="#ref28">leftURL</A></b> (const <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qstring.html">QString</A>& url) 
</LI>
<LI>void &nbsp;<b><A HREF="#ref29">leftURL</A></b> () 
</LI>
<LI>void &nbsp;<b><A HREF="#ref30">leftClickedURL</A></b> (const <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qstring.html">QString</A>& url) 
</LI>
<LI>void &nbsp;<b><A HREF="#ref31">leftClickedURL</A></b> () 
</LI>
<LI>void &nbsp;<b><A HREF="#ref32">rightClickedURL</A></b> (const <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qstring.html">QString</A>& url) 
</LI>
<LI>void &nbsp;<b><A HREF="#ref33">rightClickedURL</A></b> () 
</LI>
<LI>void &nbsp;<b><A HREF="#ref34">middleClickedURL</A></b> (const <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qstring.html">QString</A>& url) 
</LI>
<LI>void &nbsp;<b><A HREF="#ref35">middleClickedURL</A></b> () 
</LI>
</ul><h4>Protected Methods</h4><ul><LI>virtual  void &nbsp;<b><A HREF="#ref36">mousePressEvent</A></b> (<A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qmouseevent.html">QMouseEvent</A>*) 
</LI>
<LI>virtual  void &nbsp;<b><A HREF="#ref37">mouseReleaseEvent</A></b> (<A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qmouseevent.html">QMouseEvent</A>*) 
</LI>
<LI>virtual  void &nbsp;<b><A HREF="#ref38">enterEvent</A></b> (<A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qevent.html">QEvent</A>*) 
</LI>
<LI>virtual  void &nbsp;<b><A HREF="#ref39">leaveEvent</A></b> (<A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qevent.html">QEvent</A>*) 
</LI>
</ul><HR><H2><A NAME="longdesc">Detailed Description</A></H2><p>
 A label class that supports displaying an active hyperlink.
</p>
<p> KURLLabel is a drop-in replacement for QLabel that handles text
 in a fashion similar to how an HTML widget handles hyperlinks.  The
 text can be underlined (or not) and set to different colors.  It
 can also "glow" (cycle colors) when the mouse passes over it.
</p>
<p> KURLLabel also provides signals for several events, including
 the mouse leaving and entering the text area and all forms of
 mouse clicking.
</p>
<p> A typical usage would be something like so:
</p>
<p></p><table border="0" width="100%">
<tr>
<td bgcolor="#BEEAE0">
<pre>

     <A HREF="KURLLabel.html#KURLLabel">KURLLabel</A> *address = new <A HREF="KURLLabel.html#KURLLabel">KURLLabel</A>(this);
     address->setText("My homepage");
     address-><A HREF="KURLLabel.html#setURL">setURL</A>("http://www.home.com/~me");
     connect(address, SIGNAL(<A HREF="KURLLabel.html#leftClickedURL">leftClickedURL</A>(const <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qstring.html">QString</A>&)),
                      SLOT(processMyURL(const <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qstring.html">QString</A>&)));

</pre>
</td></tr>

</table> <p>
</p>
<p> In this example, the text "My homepage" would be displayed
 as blue, underlined text.  When the mouse passed over it, 
 it would "glow" red.  When the user clicks on the text, the
 signal <A HREF="KURLLabel.html#leftClickedURL">leftClickedURL</A>() would be emitted with "http://www.home.com/~me"
 as its argument.
</p>
<p></p>
<p> </p>
<A NAME="KURLLabel"></A><A NAME="ref3"></A><table width="100%"><tr bgcolor="#eeeeee"><td>&nbsp;<strong>KURLLabel</strong> (<A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qwidget.html">QWidget</A>* parent = 0L, const char* name = 0L)
<br></td><td align="right"><h3><strong>KURLLabel</strong></h3></td></tr></table><p></p><p>
 Default constructor.
</p>
<p> Use <A HREF="KURLLabel.html#setURL">setURL</A>() and setText() or QListView::setPixmap()
 to set the resp. properties.
   </p>
<A NAME="KURLLabel"></A><A NAME="ref4"></A><table width="100%"><tr bgcolor="#eeeeee"><td>&nbsp;<strong>KURLLabel</strong> (const <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qstring.html">QString</A>& url, const <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qstring.html">QString</A>& text = QString::null,
              <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qwidget.html">QWidget</A>* parent = 0L, const char* name = 0L)
<br></td><td align="right"><h3><strong>KURLLabel</strong></h3></td></tr></table><p></p><p>
 Convenience constructor.
</p>
<p></p>
<p> <code>parent</code> and <code>name</code> are passed to <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qlabel.html">QLabel</A>.
   </p>
<p><b>Parameters</b>:<TABLE BORDER="0" CELLPADDING="5">
<TR><TD align="left" valign="top"><i>url</i></TD><TD align="left" valign="top">is the URL emitted when the label is clicked.
</TD></TR>
<TR><TD align="left" valign="top"><i>text</i></TD><TD align="left" valign="top">is the displayed string. If it's equal to QString::null
 the <code>url</code> will be used instead.
</TD></TR>
</TABLE></P>
<A NAME="~KURLLabel"></A><A NAME="ref5"></A><table width="100%"><tr bgcolor="#eeeeee"><td> &nbsp;<strong>~KURLLabel</strong> ()
<br></td><td align="right"><h3><strong>~KURLLabel</strong></h3></td></tr></table><p> <small>[virtual]</small></p><p>
 Destructor.
   </p>
<A NAME="url"></A><A NAME="ref6"></A><table width="100%"><tr bgcolor="#eeeeee"><td>const <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qstring.html">QString</A>& &nbsp;<strong>url</strong> ()
<br></td><td align="right"><h3><strong>url</strong></h3></td></tr></table><p> <small>[const]</small></p><p>
 Retreive the URL. 
</p>
<p></p>
<p><b>Returns</b>: the URL.
   </p>
<A NAME="tipText"></A><A NAME="ref7"></A><table width="100%"><tr bgcolor="#eeeeee"><td>const <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qstring.html">QString</A>& &nbsp;<strong>tipText</strong> ()
<br></td><td align="right"><h3><strong>tipText</strong></h3></td></tr></table><p> <small>[const]</small></p><p>
 Retreive the tooltip text.
</p>
<p></p>
<p><b>Returns</b>: the current tooltip text.
   </p>
<A NAME="useTips"></A><A NAME="ref8"></A><table width="100%"><tr bgcolor="#eeeeee"><td>bool &nbsp;<strong>useTips</strong> ()
<br></td><td align="right"><h3><strong>useTips</strong></h3></td></tr></table><p> <small>[const]</small></p><p>
</p>
<p></p>
<p><b>Returns</b>: true if a tooltip will be displayed.
</p>
<p><b>See also</b>: setTipText()</p>
<A NAME="useCursor"></A><A NAME="ref9"></A><table width="100%"><tr bgcolor="#eeeeee"><td>bool &nbsp;<strong>useCursor</strong> ()
<br></td><td align="right"><h3><strong>useCursor</strong></h3></td></tr></table><p> <small>[const]</small></p><p>
</p>
<p></p>
<p><b>Returns</b>: true if the cursor will change while over the URL.
</p>
<p><b>See also</b>: setUseCursor, ()</p>
<A NAME="isGlowEnabled"></A><A NAME="ref10"></A><table width="100%"><tr bgcolor="#eeeeee"><td>bool &nbsp;<strong>isGlowEnabled</strong> ()
<br></td><td align="right"><h3><strong>isGlowEnabled</strong></h3></td></tr></table><p> <small>[const]</small></p><p>
 When this is on, the text will switch to the selected 
 color whenever the mouse passes over it.
   </p>
<A NAME="isFloatEnabled"></A><A NAME="ref11"></A><table width="100%"><tr bgcolor="#eeeeee"><td>bool &nbsp;<strong>isFloatEnabled</strong> ()
<br></td><td align="right"><h3><strong>isFloatEnabled</strong></h3></td></tr></table><p> <small>[const]</small></p><p>
 This feature is very similar to the "glow" feature in that the color of the
 label switches to the selected color when the cursor passes
 over it. In addition, underlining is turned on for as
 long as the mouse is overhead. Note that if "glow" and
 underlining are both already turned on, this feature
 will have no visible effect.
   </p>
<A NAME="altPixmap"></A><A NAME="ref12"></A><table width="100%"><tr bgcolor="#eeeeee"><td>const <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qpixmap.html">QPixmap</A>* &nbsp;<strong>altPixmap</strong> ()
<br></td><td align="right"><h3><strong>altPixmap</strong></h3></td></tr></table><p> <small>[const]</small></p><p>
</p>
<p><b>Returns</b>: the alternate pixmap (may be 0L if none was set).
   </p>
<A NAME="setUnderline"></A><A NAME="ref13"></A><table width="100%"><tr bgcolor="#eeeeee"><td>void &nbsp;<strong>setUnderline</strong> (bool on = true)
<br></td><td align="right"><h3><strong>setUnderline</strong></h3></td></tr></table><p> <small>[slot]</small></p><p>
 Turn on or off the underlining.
</p>
<p>  When this is on, the
 text will be underlined.  By default, it is <code>true</code>.
   </p>
<A NAME="setURL"></A><A NAME="ref14"></A><table width="100%"><tr bgcolor="#eeeeee"><td>void &nbsp;<strong>setURL</strong> (const <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qstring.html">QString</A>& url)
<br></td><td align="right"><h3><strong>setURL</strong></h3></td></tr></table><p> <small>[slot]</small></p><p>
 Sets the URL for this label to <code>url</code>.
</p>
<p></p>
<p><b>See also</b>: <A HREF="KURLLabel.html#url">url</A></p>
<A NAME="setFont"></A><A NAME="ref15"></A><table width="100%"><tr bgcolor="#eeeeee"><td> void &nbsp;<strong>setFont</strong> (const <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qfont.html">QFont</A>&)
<br></td><td align="right"><h3><strong>setFont</strong></h3></td></tr></table><p> <small>[virtual slot]</small></p><p>
 Overridden for internal reasons; the API remains unaffected.
   </p>
<A NAME="setUseTips"></A><A NAME="ref16"></A><table width="100%"><tr bgcolor="#eeeeee"><td>void &nbsp;<strong>setUseTips</strong> (bool on = true)
<br></td><td align="right"><h3><strong>setUseTips</strong></h3></td></tr></table><p> <small>[slot]</small></p><p>
 Turn on or off the tool tip feature.
</p>
<p> When this is on, the URL will be displayed as a
 tooltip whenever the mouse passes passes over it.
 By default, it is <code>false</code>.
   </p>
<A NAME="setTipText"></A><A NAME="ref17"></A><table width="100%"><tr bgcolor="#eeeeee"><td>void &nbsp;<strong>setTipText</strong> (const <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qstring.html">QString</A>& tip)
<br></td><td align="right"><h3><strong>setTipText</strong></h3></td></tr></table><p> <small>[slot]</small></p><p>
 Specifies what text to display when tooltips are turned on.
</p>
<p> If this is not used, the tip will default to the URL.
</p>
<p></p>
<p><b>See also</b>: setUseTips()</p>
<A NAME="setHighlightedColor"></A><A NAME="ref18"></A><table width="100%"><tr bgcolor="#eeeeee"><td>void &nbsp;<strong>setHighlightedColor</strong> (const <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qcolor.html">QColor</A>& highcolor)
<br></td><td align="right"><h3><strong>setHighlightedColor</strong></h3></td></tr></table><p> <small>[slot]</small></p><p>
 Set the highlight color.
</p>
<p> This is the default foreground
 color (non-selected).  By default, it is <code>blue</code>.
   </p>
<A NAME="setHighlightedColor"></A><A NAME="ref19"></A><table width="100%"><tr bgcolor="#eeeeee"><td>void &nbsp;<strong>setHighlightedColor</strong> (const <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qstring.html">QString</A>& highcolor)
<br></td><td align="right"><h3><strong>setHighlightedColor</strong></h3></td></tr></table><p> <small>[slot]</small></p><p>
 This is an overloaded version for convenience.
</p>
<p></p>
<p><b>See also</b>: setHighlightedColor()</p>
<A NAME="setSelectedColor"></A><A NAME="ref20"></A><table width="100%"><tr bgcolor="#eeeeee"><td>void &nbsp;<strong>setSelectedColor</strong> (const <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qcolor.html">QColor</A>& selcolor)
<br></td><td align="right"><h3><strong>setSelectedColor</strong></h3></td></tr></table><p> <small>[slot]</small></p><p>
 Set the selected color.
</p>
<p> This is the color the text will change
 to when either a mouse passes over it and "glow" mode is on or
 when it is selected (clicked).  By default, it is <code>red</code>.
   </p>
<A NAME="setSelectedColor"></A><A NAME="ref21"></A><table width="100%"><tr bgcolor="#eeeeee"><td>void &nbsp;<strong>setSelectedColor</strong> (const <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qstring.html">QString</A>& selcolor)
<br></td><td align="right"><h3><strong>setSelectedColor</strong></h3></td></tr></table><p> <small>[slot]</small></p><p>
 This is an overloaded version for convenience.
</p>
<p></p>
<p><b>See also</b>: setSelectedColor()</p>
<A NAME="setUseCursor"></A><A NAME="ref22"></A><table width="100%"><tr bgcolor="#eeeeee"><td>void &nbsp;<strong>setUseCursor</strong> (bool on, <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qcursor.html">QCursor</A>* cursor = 0L)
<br></td><td align="right"><h3><strong>setUseCursor</strong></h3></td></tr></table><p> <small>[slot]</small></p><p>
 Turn the custom cursor feature on or off.
</p>
<p> When this is on, the cursor will change to a custom cursor
 (default is a "pointing hand") whenever the cursor passes
 over the label. By default, it is on.
</p>
<p></p>
<p><b>Parameters</b>:<TABLE BORDER="0" CELLPADDING="5">
<TR><TD align="left" valign="top"><i>on</i></TD><TD align="left" valign="top">whether a custom cursor should be displayed.
</TD></TR>
<TR><TD align="left" valign="top"><i>cursor</i></TD><TD align="left" valign="top">is the custom cursor. <code>0L</code> indicates the default "hand cursor".
   </TD></TR>
</TABLE></P>
<A NAME="setGlow"></A><A NAME="ref23"></A><table width="100%"><tr bgcolor="#eeeeee"><td>void &nbsp;<strong>setGlow</strong> (bool glow = true)
<br></td><td align="right"><h3><strong>setGlow</strong></h3></td></tr></table><p> <small>[slot]</small></p><p>
 Turn on or off the "glow" feature. 
</p>
<p> When this is on, the text will switch to the
 selected color whenever the mouse
 passes over it. By default, it is <code>true</code>.
   </p>
<A NAME="setFloat"></A><A NAME="ref24"></A><table width="100%"><tr bgcolor="#eeeeee"><td>void &nbsp;<strong>setFloat</strong> (bool do_float = true)
<br></td><td align="right"><h3><strong>setFloat</strong></h3></td></tr></table><p> <small>[slot]</small></p><p>
 Turn on or off the "float" feature.
</p>
<p> This feature is very similar to the "glow" feature in
 that the color of the label switches to the selected 
 color when the cursor passes over it. In addition,
 underlining is turned on for as long as the mouse is overhead.
 Note that if "glow" and underlining are both already turned
 on, this feature will have no visible effect.
 By default, it is <code>false</code>.
   </p>
<A NAME="setAltPixmap"></A><A NAME="ref25"></A><table width="100%"><tr bgcolor="#eeeeee"><td>void &nbsp;<strong>setAltPixmap</strong> (const <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qpixmap.html">QPixmap</A>& altPix)
<br></td><td align="right"><h3><strong>setAltPixmap</strong></h3></td></tr></table><p> <small>[slot]</small></p><p>
 Set the "alt" pixmap. 
</p>
<p> This pixmap will be displayed when the
 cursor passes over the label.  The effect is similar to the
 trick done with 'onMouseOver' in javascript.
</p>
<p></p>
<p><b>See also</b>: altPixmap()</p>
<A NAME="enteredURL"></A><A NAME="ref26"></A><table width="100%"><tr bgcolor="#eeeeee"><td>void &nbsp;<strong>enteredURL</strong> (const <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qstring.html">QString</A>& url)
<br></td><td align="right"><h3><strong>enteredURL</strong></h3></td></tr></table><p> <small>[signal]</small></p><p>
 The mouse has passed over the label.
</p>
<p></p>
<p><b>Parameters</b>:<TABLE BORDER="0" CELLPADDING="5">
<TR><TD align="left" valign="top"><i>url</i></TD><TD align="left" valign="top">The URL for this label.
   </TD></TR>
</TABLE></P>
<A NAME="enteredURL"></A><A NAME="ref27"></A><table width="100%"><tr bgcolor="#eeeeee"><td>void &nbsp;<strong>enteredURL</strong> ()
<br></td><td align="right"><h3><strong>enteredURL</strong></h3></td></tr></table><p> <small>[signal]</small></p><p>
 The mouse has passed over the label.
   </p>
<A NAME="leftURL"></A><A NAME="ref28"></A><table width="100%"><tr bgcolor="#eeeeee"><td>void &nbsp;<strong>leftURL</strong> (const <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qstring.html">QString</A>& url)
<br></td><td align="right"><h3><strong>leftURL</strong></h3></td></tr></table><p> <small>[signal]</small></p><p>
 The mouse is no longer over the label.
</p>
<p></p>
<p><b>Parameters</b>:<TABLE BORDER="0" CELLPADDING="5">
<TR><TD align="left" valign="top"><i>url</i></TD><TD align="left" valign="top">The URL for this label.
   </TD></TR>
</TABLE></P>
<A NAME="leftURL"></A><A NAME="ref29"></A><table width="100%"><tr bgcolor="#eeeeee"><td>void &nbsp;<strong>leftURL</strong> ()
<br></td><td align="right"><h3><strong>leftURL</strong></h3></td></tr></table><p> <small>[signal]</small></p><p>
 The mouse is no longer over the label.
   </p>
<A NAME="leftClickedURL"></A><A NAME="ref30"></A><table width="100%"><tr bgcolor="#eeeeee"><td>void &nbsp;<strong>leftClickedURL</strong> (const <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qstring.html">QString</A>& url)
<br></td><td align="right"><h3><strong>leftClickedURL</strong></h3></td></tr></table><p> <small>[signal]</small></p><p>
 The user clicked the left mouse button on this label.
</p>
<p></p>
<p><b>Parameters</b>:<TABLE BORDER="0" CELLPADDING="5">
<TR><TD align="left" valign="top"><i>url</i></TD><TD align="left" valign="top">The URL for this label.
   </TD></TR>
</TABLE></P>
<A NAME="leftClickedURL"></A><A NAME="ref31"></A><table width="100%"><tr bgcolor="#eeeeee"><td>void &nbsp;<strong>leftClickedURL</strong> ()
<br></td><td align="right"><h3><strong>leftClickedURL</strong></h3></td></tr></table><p> <small>[signal]</small></p><p>
 The user clicked the left mouse button on this label.
   </p>
<A NAME="rightClickedURL"></A><A NAME="ref32"></A><table width="100%"><tr bgcolor="#eeeeee"><td>void &nbsp;<strong>rightClickedURL</strong> (const <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qstring.html">QString</A>& url)
<br></td><td align="right"><h3><strong>rightClickedURL</strong></h3></td></tr></table><p> <small>[signal]</small></p><p>
 The user clicked the right mouse button on this label.
</p>
<p></p>
<p><b>Parameters</b>:<TABLE BORDER="0" CELLPADDING="5">
<TR><TD align="left" valign="top"><i>url</i></TD><TD align="left" valign="top">The URL for this label.
   </TD></TR>
</TABLE></P>
<A NAME="rightClickedURL"></A><A NAME="ref33"></A><table width="100%"><tr bgcolor="#eeeeee"><td>void &nbsp;<strong>rightClickedURL</strong> ()
<br></td><td align="right"><h3><strong>rightClickedURL</strong></h3></td></tr></table><p> <small>[signal]</small></p><p>
 The user clicked the left mouse button on this label.
   </p>
<A NAME="middleClickedURL"></A><A NAME="ref34"></A><table width="100%"><tr bgcolor="#eeeeee"><td>void &nbsp;<strong>middleClickedURL</strong> (const <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qstring.html">QString</A>& url)
<br></td><td align="right"><h3><strong>middleClickedURL</strong></h3></td></tr></table><p> <small>[signal]</small></p><p>
 The user clicked the middle mouse button on this label.
</p>
<p></p>
<p><b>Parameters</b>:<TABLE BORDER="0" CELLPADDING="5">
<TR><TD align="left" valign="top"><i>url</i></TD><TD align="left" valign="top">The URL for this label.
   </TD></TR>
</TABLE></P>
<A NAME="middleClickedURL"></A><A NAME="ref35"></A><table width="100%"><tr bgcolor="#eeeeee"><td>void &nbsp;<strong>middleClickedURL</strong> ()
<br></td><td align="right"><h3><strong>middleClickedURL</strong></h3></td></tr></table><p> <small>[signal]</small></p><p>
 The user clicked the left mouse button on this label.
   </p>
<A NAME="mousePressEvent"></A><A NAME="ref36"></A><table width="100%"><tr bgcolor="#eeeeee"><td> void &nbsp;<strong>mousePressEvent</strong> (<A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qmouseevent.html">QMouseEvent</A>*)
<br></td><td align="right"><h3><strong>mousePressEvent</strong></h3></td></tr></table><p> <small>[protected virtual]</small></p><p>
 Overridden for internal reasons; the API remains unaffected.
   </p>
<A NAME="mouseReleaseEvent"></A><A NAME="ref37"></A><table width="100%"><tr bgcolor="#eeeeee"><td> void &nbsp;<strong>mouseReleaseEvent</strong> (<A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qmouseevent.html">QMouseEvent</A>*)
<br></td><td align="right"><h3><strong>mouseReleaseEvent</strong></h3></td></tr></table><p> <small>[protected virtual]</small></p><p>
 Overridden for internal reasons; the API remains unaffected.
   </p>
<A NAME="enterEvent"></A><A NAME="ref38"></A><table width="100%"><tr bgcolor="#eeeeee"><td> void &nbsp;<strong>enterEvent</strong> (<A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qevent.html">QEvent</A>*)
<br></td><td align="right"><h3><strong>enterEvent</strong></h3></td></tr></table><p> <small>[protected virtual]</small></p><p>
 Overridden for internal reasons; the API remains unaffected.
   </p>
<A NAME="leaveEvent"></A><A NAME="ref39"></A><table width="100%"><tr bgcolor="#eeeeee"><td> void &nbsp;<strong>leaveEvent</strong> (<A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qevent.html">QEvent</A>*)
<br></td><td align="right"><h3><strong>leaveEvent</strong></h3></td></tr></table><p> <small>[protected virtual]</small></p><p>
 Overridden for internal reasons; the API remains unaffected.
   </p>
<HR><UL><LI><i>Version</i>: $Id: kurllabel.h,v 1.17 2001/03/16 18:38:03 faure Exp $
</LI><LI><i>Author</i>: Peter Putzer <putzer@kde.org> (Rewrite)
</LI><LI><i>Generated</i>: qateam on updates.mandrakesoft.com on Mon Dec 30 16:09:05 2002, using kdoc 2.0a53.</LI></UL></BODY></HTML>