Sophie

Sophie

distrib > * > 2009.0 > i586 > by-pkgid > a6711891ce757817bba854bf3f25205a > files > 438

qtjambi-doc-4.3.3-3mdv2008.1.i586.rpm

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!--NewPage-->
<HTML>
<HEAD>
<!-- Generated by javadoc (build 1.5.0_09) on Tue Aug 07 16:59:13 CEST 2007 -->
<TITLE>
QCursor
</TITLE>

<META NAME="keywords" CONTENT="com.trolltech.qt.gui.QCursor class">

<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../stylesheet.css" TITLE="Style">

<SCRIPT type="text/javascript">
function windowTitle()
{
    parent.document.title="QCursor";
}
</SCRIPT>
<NOSCRIPT>
</NOSCRIPT>

</HEAD>

<BODY BGCOLOR="white" onload="windowTitle();">


<!-- ========= START OF TOP NAVBAR ======= -->
<A NAME="navbar_top"><!-- --></A>
<A HREF="#skip-navbar_top" title="Skip navigation links"></A>
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
<TR>
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
<A NAME="navbar_top_firstrow"><!-- --></A>
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
  <TR ALIGN="center" VALIGN="top">
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
  </TR>
</TABLE>
</TD>
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
</EM>
</TD>
</TR>

<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
&nbsp;<A HREF="../../../../com/trolltech/qt/gui/QContextMenuEvent.Reason.html" title="enum in com.trolltech.qt.gui"><B>PREV CLASS</B></A>&nbsp;
&nbsp;<A HREF="../../../../com/trolltech/qt/gui/QDataWidgetMapper.html" title="class in com.trolltech.qt.gui"><B>NEXT CLASS</B></A></FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
  <A HREF="../../../../index.html?com/trolltech/qt/gui/QCursor.html" target="_top"><B>FRAMES</B></A>  &nbsp;
&nbsp;<A HREF="QCursor.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;
&nbsp;<SCRIPT type="text/javascript">
  <!--
  if(window==top) {
    document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>');
  }
  //-->
</SCRIPT>
<NOSCRIPT>
  <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>
</NOSCRIPT>


</FONT></TD>
</TR>
<TR>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
  SUMMARY:&nbsp;<A HREF="#nested_classes_inherited_from_class_com.trolltech.qt.QSignalEmitter">NESTED</A>&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
DETAIL:&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
</TR>
</TABLE>
<A NAME="skip-navbar_top"></A>
<!-- ========= END OF TOP NAVBAR ========= -->

<HR>
<!-- ======== START OF CLASS DATA ======== -->
<H2>
<FONT SIZE="-1">
com.trolltech.qt.gui</FONT>
<BR>
Class QCursor</H2>
<PRE>
java.lang.Object
  <IMG SRC="../../../../resources/inherit.gif" ALT="extended by "><A HREF="../../../../com/trolltech/qt/QSignalEmitter.html" title="class in com.trolltech.qt">com.trolltech.qt.QSignalEmitter</A>
      <IMG SRC="../../../../resources/inherit.gif" ALT="extended by "><A HREF="../../../../com/trolltech/qt/QtJambiObject.html" title="class in com.trolltech.qt">com.trolltech.qt.QtJambiObject</A>
          <IMG SRC="../../../../resources/inherit.gif" ALT="extended by "><B>com.trolltech.qt.gui.QCursor</B>
</PRE>
<DL>
<DT><B>All Implemented Interfaces:</B> <DD><A HREF="../../../../com/trolltech/qt/QtJambiInterface.html" title="interface in com.trolltech.qt">QtJambiInterface</A></DD>
</DL>
<HR>
<DL>
<DT><PRE>public class <B>QCursor</B><DT>extends <A HREF="../../../../com/trolltech/qt/QtJambiObject.html" title="class in com.trolltech.qt">QtJambiObject</A></DL>
</PRE>

<P>
<p>The <a href="QCursor.html#QCursor(com.trolltech.qt.gui.QPixmap, int, int)"><tt>QCursor</tt></a> class provides a mouse cursor with an arbitrary shape.</p>
<p>This class is mainly used to create mouse cursors that are associated with particular widgets and to get and set the position of the mouse cursor.</p>
<p>Qt has a number of standard cursor shapes, but you can also make custom cursor shapes based on a <a href="QBitmap.html"><tt>QBitmap</tt></a>, a mask and a hotspot.</p>
<p>To associate a cursor with a widget, use QWidget::setCursor(). To associate a cursor with all widgets (normally for a short period of time), use QApplication::setOverrideCursor().</p>
<p>To set a cursor shape use QCursor::setShape() or use the <a href="QCursor.html#QCursor(com.trolltech.qt.gui.QPixmap, int, int)"><tt>QCursor</tt></a> constructor which takes the shape as argument, or you can use one of the predefined cursors defined in the <tt>Qt::CursorShape</tt> enum.</p>
<p>If you want to create a cursor with your own bitmap, either use the <a href="QCursor.html#QCursor(com.trolltech.qt.gui.QPixmap, int, int)"><tt>QCursor</tt></a> constructor which takes a bitmap and a mask or the constructor which takes a pixmap as arguments.</p>
<p>To set or get the position of the mouse cursor use the static methods QCursor::pos() and QCursor::setPos().</p>
<p><b>Note:</b> It is possible to create a <a href="QCursor.html#QCursor(com.trolltech.qt.gui.QPixmap, int, int)"><tt>QCursor</tt></a> before <a href="QApplication.html"><tt>QApplication</tt></a>, but it is not useful except as a place-holder for a real <a href="QCursor.html#QCursor(com.trolltech.qt.gui.QPixmap, int, int)"><tt>QCursor</tt></a> created after <a href="QApplication.html"><tt>QApplication</tt></a>. Attempting to use a <a href="QCursor.html#QCursor(com.trolltech.qt.gui.QPixmap, int, int)"><tt>QCursor</tt></a> that was created before <a href="QApplication.html"><tt>QApplication</tt></a> will result in a crash.</p>
<a name="a-note-for-x11-users"></a>
<h3>A Note for X11 Users</h3>
<p>On X11, Qt supports the <a href="http://www.xfree86.org/4.3.0/Xcursor.3.html">Xcursor</tt></a> library, which allows for full color icon themes. The table below shows the cursor name used for each Qt::CursorShape value. If a cursor cannot be found using the name shown below, a standard X11 cursor will be used instead. Note: X11 does not provide appropriate cursors for all possible Qt::CursorShape values. It is possible that some cursors will be taken from the Xcursor theme, while others will use an internal bitmap cursor.</p>
<p><table align="center" cellpadding="2" cellspacing="1" border="0">
<thead><tr valign="top" class="qt-style"><th>Shape</th><th>Qt::CursorShape Value</th><th>Cursor Name</th><th>Shape</th><th>Qt::CursorShape Value</th><th>Cursor Name</th></tr></thead>
<tr valign="top" class="odd"><td><img src="%2E%2E/images/cursor-arrow.png" /></td><td>Qt::ArrowCursor</td><td><tt>left_ptr</tt></td><td><img src="%2E%2E/images/cursor-sizev.png" /></td><td>Qt::SizeVerCursor</td><td><tt>size_ver</tt></td></tr>
<tr valign="top" class="even"><td><img src="%2E%2E/images/cursor-uparrow.png" /></td><td>Qt::UpArrowCursor</td><td><tt>up_arrow</tt></td><td><img src="%2E%2E/images/cursor-sizeh.png" /></td><td>Qt::SizeHorCursor</td><td><tt>size_hor</tt></td></tr>
<tr valign="top" class="odd"><td><img src="%2E%2E/images/cursor-cross.png" /></td><td>Qt::CrossCursor</td><td><tt>cross</tt></td><td><img src="%2E%2E/images/cursor-sizeb.png" /></td><td>Qt::SizeBDiagCursor</td><td><tt>size_bdiag</tt></td></tr>
<tr valign="top" class="even"><td><img src="%2E%2E/images/cursor-ibeam.png" /></td><td>Qt::IBeamCursor</td><td><tt>ibeam</tt></td><td><img src="%2E%2E/images/cursor-sizef.png" /></td><td>Qt::SizeFDiagCursor</td><td><tt>size_fdiag</tt></td></tr>
<tr valign="top" class="odd"><td><img src="%2E%2E/images/cursor-wait.png" /></td><td>Qt::WaitCursor</td><td><tt>wait</tt></td><td><img src="%2E%2E/images/cursor-sizeall.png" /></td><td>Qt::SizeAllCursor</td><td><tt>size_all</tt></td></tr>
<tr valign="top" class="even"><td><img src="%2E%2E/images/cursor-busy.png" /></td><td>Qt::BusyCursor</td><td><tt>left_ptr_watch</tt></td><td><img src="%2E%2E/images/cursor-vsplit.png" /></td><td>Qt::SplitVCursor</td><td><tt>split_v</tt></td></tr>
<tr valign="top" class="odd"><td><img src="%2E%2E/images/cursor-forbidden.png" /></td><td>Qt::ForbiddenCursor</td><td><tt>forbidden</tt></td><td><img src="%2E%2E/images/cursor-hsplit.png" /></td><td>Qt::SplitHCursor</td><td><tt>split_h</tt></td></tr>
<tr valign="top" class="even"><td><img src="%2E%2E/images/cursor-hand.png" /></td><td>Qt::PointingHandCursor</td><td><tt>pointing_hand</tt></td><td><img src="%2E%2E/images/cursor-openhand.png" /></td><td>Qt::OpenHandCursor</td><td><tt>openhand</tt></td></tr>
<tr valign="top" class="odd"><td><img src="%2E%2E/images/cursor-whatsthis.png" /></td><td>Qt::WhatsThisCursor</td><td><tt>whats_this</tt></td><td><img src="%2E%2E/images/cursor-closedhand.png" /></td><td>Qt::ClosedHandCursor</td><td><tt>closedhand</tt></td></tr>
</table></p>
<P>

<P>
<DL>
<DT><B>See Also:</B><DD><a href="QWidget.html"><tt>QWidget</tt></a>, 
<a href="%2E%2E/guibooks.html#fowler">GUI Design Handbook: Cursors</tt></a></DL>
<HR>

<P>
<!-- ======== NESTED CLASS SUMMARY ======== -->

<A NAME="nested_class_summary"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
<B>Nested Class Summary</B></FONT></TH>
</TR>
</TABLE>
&nbsp;<A NAME="nested_classes_inherited_from_class_com.trolltech.qt.QSignalEmitter"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
<TH ALIGN="left"><B>Nested classes/interfaces inherited from class com.trolltech.qt.<A HREF="../../../../com/trolltech/qt/QSignalEmitter.html" title="class in com.trolltech.qt">QSignalEmitter</A></B></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal0.html" title="class in com.trolltech.qt">QSignalEmitter.Signal0</A>, <A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal1.html" title="class in com.trolltech.qt">QSignalEmitter.Signal1</A>&lt;<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal1.html" title="type parameter in QSignalEmitter.Signal1">A</A>&gt;, <A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal2.html" title="class in com.trolltech.qt">QSignalEmitter.Signal2</A>&lt;<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal2.html" title="type parameter in QSignalEmitter.Signal2">A</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal2.html" title="type parameter in QSignalEmitter.Signal2">B</A>&gt;, <A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal3.html" title="class in com.trolltech.qt">QSignalEmitter.Signal3</A>&lt;<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal3.html" title="type parameter in QSignalEmitter.Signal3">A</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal3.html" title="type parameter in QSignalEmitter.Signal3">B</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal3.html" title="type parameter in QSignalEmitter.Signal3">C</A>&gt;, <A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal4.html" title="class in com.trolltech.qt">QSignalEmitter.Signal4</A>&lt;<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal4.html" title="type parameter in QSignalEmitter.Signal4">A</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal4.html" title="type parameter in QSignalEmitter.Signal4">B</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal4.html" title="type parameter in QSignalEmitter.Signal4">C</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal4.html" title="type parameter in QSignalEmitter.Signal4">D</A>&gt;, <A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal5.html" title="class in com.trolltech.qt">QSignalEmitter.Signal5</A>&lt;<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal5.html" title="type parameter in QSignalEmitter.Signal5">A</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal5.html" title="type parameter in QSignalEmitter.Signal5">B</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal5.html" title="type parameter in QSignalEmitter.Signal5">C</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal5.html" title="type parameter in QSignalEmitter.Signal5">D</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal5.html" title="type parameter in QSignalEmitter.Signal5">E</A>&gt;, <A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal6.html" title="class in com.trolltech.qt">QSignalEmitter.Signal6</A>&lt;<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal6.html" title="type parameter in QSignalEmitter.Signal6">A</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal6.html" title="type parameter in QSignalEmitter.Signal6">B</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal6.html" title="type parameter in QSignalEmitter.Signal6">C</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal6.html" title="type parameter in QSignalEmitter.Signal6">D</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal6.html" title="type parameter in QSignalEmitter.Signal6">E</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal6.html" title="type parameter in QSignalEmitter.Signal6">F</A>&gt;, <A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal7.html" title="class in com.trolltech.qt">QSignalEmitter.Signal7</A>&lt;<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal7.html" title="type parameter in QSignalEmitter.Signal7">A</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal7.html" title="type parameter in QSignalEmitter.Signal7">B</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal7.html" title="type parameter in QSignalEmitter.Signal7">C</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal7.html" title="type parameter in QSignalEmitter.Signal7">D</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal7.html" title="type parameter in QSignalEmitter.Signal7">E</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal7.html" title="type parameter in QSignalEmitter.Signal7">F</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal7.html" title="type parameter in QSignalEmitter.Signal7">G</A>&gt;, <A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal8.html" title="class in com.trolltech.qt">QSignalEmitter.Signal8</A>&lt;<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal8.html" title="type parameter in QSignalEmitter.Signal8">A</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal8.html" title="type parameter in QSignalEmitter.Signal8">B</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal8.html" title="type parameter in QSignalEmitter.Signal8">C</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal8.html" title="type parameter in QSignalEmitter.Signal8">D</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal8.html" title="type parameter in QSignalEmitter.Signal8">E</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal8.html" title="type parameter in QSignalEmitter.Signal8">F</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal8.html" title="type parameter in QSignalEmitter.Signal8">G</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal8.html" title="type parameter in QSignalEmitter.Signal8">H</A>&gt;, <A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal9.html" title="class in com.trolltech.qt">QSignalEmitter.Signal9</A>&lt;<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal9.html" title="type parameter in QSignalEmitter.Signal9">A</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal9.html" title="type parameter in QSignalEmitter.Signal9">B</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal9.html" title="type parameter in QSignalEmitter.Signal9">C</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal9.html" title="type parameter in QSignalEmitter.Signal9">D</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal9.html" title="type parameter in QSignalEmitter.Signal9">E</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal9.html" title="type parameter in QSignalEmitter.Signal9">F</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal9.html" title="type parameter in QSignalEmitter.Signal9">G</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal9.html" title="type parameter in QSignalEmitter.Signal9">H</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal9.html" title="type parameter in QSignalEmitter.Signal9">I</A>&gt;</CODE></TD>
</TR>
</TABLE>
&nbsp;

<!-- ======== CONSTRUCTOR SUMMARY ======== -->

<A NAME="constructor_summary"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
<B>Constructor Summary</B></FONT></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QCursor.html#QCursor()">QCursor</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Constructs a cursor with the default arrow shape.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QCursor.html#QCursor(com.trolltech.qt.gui.QBitmap, com.trolltech.qt.gui.QBitmap)">QCursor</A></B>(<A HREF="../../../../com/trolltech/qt/gui/QBitmap.html" title="class in com.trolltech.qt.gui">QBitmap</A>&nbsp;bitmap,
        <A HREF="../../../../com/trolltech/qt/gui/QBitmap.html" title="class in com.trolltech.qt.gui">QBitmap</A>&nbsp;mask)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Equivalent to <a href="QCursor.html#QCursor(com.trolltech.qt.gui.QPixmap, int, int)"><tt>QCursor</tt></a>(<tt>bitmap</tt>, <tt>mask</tt>, -1, -1).</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QCursor.html#QCursor(com.trolltech.qt.gui.QBitmap, com.trolltech.qt.gui.QBitmap, int)">QCursor</A></B>(<A HREF="../../../../com/trolltech/qt/gui/QBitmap.html" title="class in com.trolltech.qt.gui">QBitmap</A>&nbsp;bitmap,
        <A HREF="../../../../com/trolltech/qt/gui/QBitmap.html" title="class in com.trolltech.qt.gui">QBitmap</A>&nbsp;mask,
        int&nbsp;hotX)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Equivalent to <a href="QCursor.html#QCursor(com.trolltech.qt.gui.QPixmap, int, int)"><tt>QCursor</tt></a>(<tt>bitmap</tt>, <tt>mask</tt>, <tt>hotX</tt>, -1).</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QCursor.html#QCursor(com.trolltech.qt.gui.QBitmap, com.trolltech.qt.gui.QBitmap, int, int)">QCursor</A></B>(<A HREF="../../../../com/trolltech/qt/gui/QBitmap.html" title="class in com.trolltech.qt.gui">QBitmap</A>&nbsp;bitmap,
        <A HREF="../../../../com/trolltech/qt/gui/QBitmap.html" title="class in com.trolltech.qt.gui">QBitmap</A>&nbsp;mask,
        int&nbsp;hotX,
        int&nbsp;hotY)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Constructs a custom bitmap cursor.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QCursor.html#QCursor(com.trolltech.qt.gui.QCursor)">QCursor</A></B>(<A HREF="../../../../com/trolltech/qt/gui/QCursor.html" title="class in com.trolltech.qt.gui">QCursor</A>&nbsp;cursor)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Constructs a copy of the cursor <tt>cursor</tt>.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QCursor.html#QCursor(com.trolltech.qt.gui.QPixmap)">QCursor</A></B>(<A HREF="../../../../com/trolltech/qt/gui/QPixmap.html" title="class in com.trolltech.qt.gui">QPixmap</A>&nbsp;pixmap)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Equivalent to <a href="QCursor.html#QCursor(com.trolltech.qt.gui.QPixmap, int, int)"><tt>QCursor</tt></a>(<tt>pixmap</tt>, -1, -1).</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QCursor.html#QCursor(com.trolltech.qt.gui.QPixmap, int)">QCursor</A></B>(<A HREF="../../../../com/trolltech/qt/gui/QPixmap.html" title="class in com.trolltech.qt.gui">QPixmap</A>&nbsp;pixmap,
        int&nbsp;hotX)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Equivalent to <a href="QCursor.html#QCursor(com.trolltech.qt.gui.QPixmap, int, int)"><tt>QCursor</tt></a>(<tt>pixmap</tt>, <tt>hotX</tt>, -1).</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QCursor.html#QCursor(com.trolltech.qt.gui.QPixmap, int, int)">QCursor</A></B>(<A HREF="../../../../com/trolltech/qt/gui/QPixmap.html" title="class in com.trolltech.qt.gui">QPixmap</A>&nbsp;pixmap,
        int&nbsp;hotX,
        int&nbsp;hotY)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Constructs a custom pixmap cursor.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QCursor.html#QCursor(com.trolltech.qt.core.Qt.CursorShape)">QCursor</A></B>(<A HREF="../../../../com/trolltech/qt/core/Qt.CursorShape.html" title="enum in com.trolltech.qt.core">Qt.CursorShape</A>&nbsp;shape)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Constructs a cursor with the specified <tt>shape</tt>.</TD>
</TR>
</TABLE>
&nbsp;
<!-- ========== METHOD SUMMARY =========== -->

<A NAME="method_summary"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
<B>Method Summary</B></FONT></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../com/trolltech/qt/gui/QBitmap.html" title="class in com.trolltech.qt.gui">QBitmap</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QCursor.html#bitmap()">bitmap</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the cursor bitmap, or null if it is one of the standard
cursors.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;<A HREF="../../../../com/trolltech/qt/gui/QCursor.html" title="class in com.trolltech.qt.gui">QCursor</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QCursor.html#fromNativePointer(com.trolltech.qt.QNativePointer)">fromNativePointer</A></B>(<A HREF="../../../../com/trolltech/qt/QNativePointer.html" title="class in com.trolltech.qt">QNativePointer</A>&nbsp;nativePointer)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This function returns the QCursor instance pointed to by nativePointer</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../com/trolltech/qt/core/QPoint.html" title="class in com.trolltech.qt.core">QPoint</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QCursor.html#hotSpot()">hotSpot</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the cursor hot spot, or (0, 0) if it is one of the standard cursors.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../com/trolltech/qt/gui/QBitmap.html" title="class in com.trolltech.qt.gui">QBitmap</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QCursor.html#mask()">mask</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the cursor bitmap mask, or null if it is one of the standard
cursors.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;<A HREF="../../../../com/trolltech/qt/QNativePointer.html" title="class in com.trolltech.qt">QNativePointer</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QCursor.html#nativePointerArray(com.trolltech.qt.gui.QCursor[])">nativePointerArray</A></B>(<A HREF="../../../../com/trolltech/qt/gui/QCursor.html" title="class in com.trolltech.qt.gui">QCursor</A>[]&nbsp;array)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This function returns a QNativePointer that is pointing to the specified QCursor array.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../com/trolltech/qt/gui/QPixmap.html" title="class in com.trolltech.qt.gui">QPixmap</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QCursor.html#pixmap()">pixmap</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the cursor pixmap.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;<A HREF="../../../../com/trolltech/qt/core/QPoint.html" title="class in com.trolltech.qt.core">QPoint</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QCursor.html#pos()">pos</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the position of the cursor (hot spot) in global screen coordinates.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QCursor.html#readFrom(com.trolltech.qt.core.QDataStream)">readFrom</A></B>(<A HREF="../../../../com/trolltech/qt/core/QDataStream.html" title="class in com.trolltech.qt.core">QDataStream</A>&nbsp;inS)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Reads a QCursor from inS.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QCursor.html#setPos(int, int)">setPos</A></B>(int&nbsp;x,
       int&nbsp;y)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Moves the cursor (hot spot) to the global screen position (<tt>x</tt>, <tt>y</tt>).</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QCursor.html#setPos(com.trolltech.qt.core.QPoint)">setPos</A></B>(<A HREF="../../../../com/trolltech/qt/core/QPoint.html" title="class in com.trolltech.qt.core">QPoint</A>&nbsp;p)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Moves the cursor (hot spot) to the global screen position at point <tt>p</tt>.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QCursor.html#setShape(com.trolltech.qt.core.Qt.CursorShape)">setShape</A></B>(<A HREF="../../../../com/trolltech/qt/core/Qt.CursorShape.html" title="enum in com.trolltech.qt.core">Qt.CursorShape</A>&nbsp;newShape)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the cursor to the shape identified by <tt>newShape</tt>.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../com/trolltech/qt/core/Qt.CursorShape.html" title="enum in com.trolltech.qt.core">Qt.CursorShape</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QCursor.html#shape()">shape</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the cursor shape identifier.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QCursor.html#writeTo(com.trolltech.qt.core.QDataStream)">writeTo</A></B>(<A HREF="../../../../com/trolltech/qt/core/QDataStream.html" title="class in com.trolltech.qt.core">QDataStream</A>&nbsp;outS)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Writes thisQCursor to outS.</TD>
</TR>
</TABLE>
&nbsp;<A NAME="methods_inherited_from_class_com.trolltech.qt.QtJambiObject"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
<TH ALIGN="left"><B>Methods inherited from class com.trolltech.qt.<A HREF="../../../../com/trolltech/qt/QtJambiObject.html" title="class in com.trolltech.qt">QtJambiObject</A></B></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><A HREF="../../../../com/trolltech/qt/QtJambiObject.html#dispose()">dispose</A>, <A HREF="../../../../com/trolltech/qt/QtJambiObject.html#disposed()">disposed</A>, <A HREF="../../../../com/trolltech/qt/QtJambiObject.html#finalize()">finalize</A>, <A HREF="../../../../com/trolltech/qt/QtJambiObject.html#reassignNativeResources(com.trolltech.qt.QtJambiObject, java.lang.Class)">reassignNativeResources</A>, <A HREF="../../../../com/trolltech/qt/QtJambiObject.html#tr(java.lang.String)">tr</A>, <A HREF="../../../../com/trolltech/qt/QtJambiObject.html#tr(java.lang.String, java.lang.String)">tr</A>, <A HREF="../../../../com/trolltech/qt/QtJambiObject.html#tr(java.lang.String, java.lang.String, int)">tr</A></CODE></TD>
</TR>
</TABLE>
&nbsp;<A NAME="methods_inherited_from_class_com.trolltech.qt.QSignalEmitter"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
<TH ALIGN="left"><B>Methods inherited from class com.trolltech.qt.<A HREF="../../../../com/trolltech/qt/QSignalEmitter.html" title="class in com.trolltech.qt">QSignalEmitter</A></B></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><A HREF="../../../../com/trolltech/qt/QSignalEmitter.html#blockSignals(boolean)">blockSignals</A>, <A HREF="../../../../com/trolltech/qt/QSignalEmitter.html#disconnect()">disconnect</A>, <A HREF="../../../../com/trolltech/qt/QSignalEmitter.html#disconnect(java.lang.Object)">disconnect</A>, <A HREF="../../../../com/trolltech/qt/QSignalEmitter.html#signalsBlocked()">signalsBlocked</A>, <A HREF="../../../../com/trolltech/qt/QSignalEmitter.html#signalSender()">signalSender</A>, <A HREF="../../../../com/trolltech/qt/QSignalEmitter.html#thread()">thread</A></CODE></TD>
</TR>
</TABLE>
&nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
<TH ALIGN="left"><B>Methods inherited from class java.lang.Object</B></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE>clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</CODE></TD>
</TR>
</TABLE>
&nbsp;<A NAME="methods_inherited_from_class_com.trolltech.qt.QtJambiInterface"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
<TH ALIGN="left"><B>Methods inherited from interface com.trolltech.qt.<A HREF="../../../../com/trolltech/qt/QtJambiInterface.html" title="interface in com.trolltech.qt">QtJambiInterface</A></B></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><A HREF="../../../../com/trolltech/qt/QtJambiInterface.html#disableGarbageCollection()">disableGarbageCollection</A>, <A HREF="../../../../com/trolltech/qt/QtJambiInterface.html#nativeId()">nativeId</A>, <A HREF="../../../../com/trolltech/qt/QtJambiInterface.html#nativePointer()">nativePointer</A>, <A HREF="../../../../com/trolltech/qt/QtJambiInterface.html#reenableGarbageCollection()">reenableGarbageCollection</A>, <A HREF="../../../../com/trolltech/qt/QtJambiInterface.html#setJavaOwnership()">setJavaOwnership</A></CODE></TD>
</TR>
</TABLE>
&nbsp;
<P>

<!-- ========= CONSTRUCTOR DETAIL ======== -->

<A NAME="constructor_detail"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
<B>Constructor Detail</B></FONT></TH>
</TR>
</TABLE>

<A NAME="QCursor()"><!-- --></A><H3>
QCursor</H3>
<PRE>
public <B>QCursor</B>()</PRE>
<DL>
<DD><p>Constructs a cursor with the default arrow shape.</p>
<P>
</DL>
<HR>

<A NAME="QCursor(com.trolltech.qt.core.Qt.CursorShape)"><!-- --></A><H3>
QCursor</H3>
<PRE>
public <B>QCursor</B>(<A HREF="../../../../com/trolltech/qt/core/Qt.CursorShape.html" title="enum in com.trolltech.qt.core">Qt.CursorShape</A>&nbsp;shape)</PRE>
<DL>
<DD><p>Constructs a cursor with the specified <tt>shape</tt>.</p>
<p>See <tt>Qt::CursorShape</tt> for a list of shapes.</p>
<P>
<DL>
<DT><B>See Also:</B><DD><a href="QCursor.html#setShape(com.trolltech.qt.core.Qt.CursorShape)"><tt>setShape</tt></a></DL>
</DL>
<HR>

<A NAME="QCursor(com.trolltech.qt.gui.QBitmap, com.trolltech.qt.gui.QBitmap, int)"><!-- --></A><H3>
QCursor</H3>
<PRE>
public <B>QCursor</B>(<A HREF="../../../../com/trolltech/qt/gui/QBitmap.html" title="class in com.trolltech.qt.gui">QBitmap</A>&nbsp;bitmap,
               <A HREF="../../../../com/trolltech/qt/gui/QBitmap.html" title="class in com.trolltech.qt.gui">QBitmap</A>&nbsp;mask,
               int&nbsp;hotX)</PRE>
<DL>
<DD><p>Equivalent to <a href="QCursor.html#QCursor(com.trolltech.qt.gui.QPixmap, int, int)"><tt>QCursor</tt></a>(<tt>bitmap</tt>, <tt>mask</tt>, <tt>hotX</tt>, -1).
<P>
</DL>
<HR>

<A NAME="QCursor(com.trolltech.qt.gui.QBitmap, com.trolltech.qt.gui.QBitmap)"><!-- --></A><H3>
QCursor</H3>
<PRE>
public <B>QCursor</B>(<A HREF="../../../../com/trolltech/qt/gui/QBitmap.html" title="class in com.trolltech.qt.gui">QBitmap</A>&nbsp;bitmap,
               <A HREF="../../../../com/trolltech/qt/gui/QBitmap.html" title="class in com.trolltech.qt.gui">QBitmap</A>&nbsp;mask)</PRE>
<DL>
<DD><p>Equivalent to <a href="QCursor.html#QCursor(com.trolltech.qt.gui.QPixmap, int, int)"><tt>QCursor</tt></a>(<tt>bitmap</tt>, <tt>mask</tt>, -1, -1).
<P>
</DL>
<HR>

<A NAME="QCursor(com.trolltech.qt.gui.QBitmap, com.trolltech.qt.gui.QBitmap, int, int)"><!-- --></A><H3>
QCursor</H3>
<PRE>
public <B>QCursor</B>(<A HREF="../../../../com/trolltech/qt/gui/QBitmap.html" title="class in com.trolltech.qt.gui">QBitmap</A>&nbsp;bitmap,
               <A HREF="../../../../com/trolltech/qt/gui/QBitmap.html" title="class in com.trolltech.qt.gui">QBitmap</A>&nbsp;mask,
               int&nbsp;hotX,
               int&nbsp;hotY)</PRE>
<DL>
<DD><p>Constructs a custom bitmap cursor.</p>
<p><tt>bitmap</tt> and <tt>mask</tt> make up the bitmap. <tt>hotX</tt> and <tt>hotY</tt> define the cursor's hot spot.</p>
<p>If <tt>hotX</tt> is negative, it is set to the <tt>bitmap().width()/2</tt>. If <tt>hotY</tt> is negative, it is set to the <tt>bitmap().height()/2</tt>.</p>
<p>The cursor <tt>bitmap</tt> (B) and <tt>mask</tt> (M) bits are combined like this:</p>
<ul>
<li>B=1 and M=1 gives black.</li>
<li>B=0 and M=1 gives white.</li>
<li>B=0 and M=0 gives transparent.</li>
<li>B=1 and M=0 gives an XOR'd result.</li>
</ul>
<p>Use the global Qt color Qt::color0 to draw 0-pixels and Qt::color1 to draw 1-pixels in the bitmaps.</p>
<p>Valid cursor sizes depend on the display hardware (or the underlying window system). We recommend using 32 x 32 cursors, because this size is supported on all platforms. Some platforms also support 16 x 16, 48 x 48, and 64 x 64 cursors.</p>
<P>
<DL>
<DT><B>See Also:</B><DD><tt>QBitmap::QBitmap</tt>, 
<tt>QBitmap::setMask</tt></DL>
</DL>
<HR>

<A NAME="QCursor(com.trolltech.qt.gui.QCursor)"><!-- --></A><H3>
QCursor</H3>
<PRE>
public <B>QCursor</B>(<A HREF="../../../../com/trolltech/qt/gui/QCursor.html" title="class in com.trolltech.qt.gui">QCursor</A>&nbsp;cursor)</PRE>
<DL>
<DD><p>Constructs a copy of the cursor <tt>cursor</tt>.</p>
<P>
</DL>
<HR>

<A NAME="QCursor(com.trolltech.qt.gui.QPixmap, int)"><!-- --></A><H3>
QCursor</H3>
<PRE>
public <B>QCursor</B>(<A HREF="../../../../com/trolltech/qt/gui/QPixmap.html" title="class in com.trolltech.qt.gui">QPixmap</A>&nbsp;pixmap,
               int&nbsp;hotX)</PRE>
<DL>
<DD><p>Equivalent to <a href="QCursor.html#QCursor(com.trolltech.qt.gui.QPixmap, int, int)"><tt>QCursor</tt></a>(<tt>pixmap</tt>, <tt>hotX</tt>, -1).
<P>
</DL>
<HR>

<A NAME="QCursor(com.trolltech.qt.gui.QPixmap)"><!-- --></A><H3>
QCursor</H3>
<PRE>
public <B>QCursor</B>(<A HREF="../../../../com/trolltech/qt/gui/QPixmap.html" title="class in com.trolltech.qt.gui">QPixmap</A>&nbsp;pixmap)</PRE>
<DL>
<DD><p>Equivalent to <a href="QCursor.html#QCursor(com.trolltech.qt.gui.QPixmap, int, int)"><tt>QCursor</tt></a>(<tt>pixmap</tt>, -1, -1).
<P>
</DL>
<HR>

<A NAME="QCursor(com.trolltech.qt.gui.QPixmap, int, int)"><!-- --></A><H3>
QCursor</H3>
<PRE>
public <B>QCursor</B>(<A HREF="../../../../com/trolltech/qt/gui/QPixmap.html" title="class in com.trolltech.qt.gui">QPixmap</A>&nbsp;pixmap,
               int&nbsp;hotX,
               int&nbsp;hotY)</PRE>
<DL>
<DD><p>Constructs a custom pixmap cursor.</p>
<p><tt>pixmap</tt> is the image. It is usual to give it a mask (set using QPixmap::setMask()). <tt>hotX</tt> and <tt>hotY</tt> define the cursor's hot spot.</p>
<p>If <tt>hotX</tt> is negative, it is set to the <tt>pixmap().width()/2</tt>. If <tt>hotY</tt> is negative, it is set to the <tt>pixmap().height()/2</tt>.</p>
<p>Valid cursor sizes depend on the display hardware (or the underlying window system). We recommend using 32 x 32 cursors, because this size is supported on all platforms. Some platforms also support 16 x 16, 48 x 48, and 64 x 64 cursors.</p>
<P>
<DL>
<DT><B>See Also:</B><DD><tt>QPixmap::QPixmap</tt>, 
<tt>QPixmap::setMask</tt></DL>
</DL>

<!-- ============ METHOD DETAIL ========== -->

<A NAME="method_detail"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
<B>Method Detail</B></FONT></TH>
</TR>
</TABLE>

<A NAME="hotSpot()"><!-- --></A><H3>
hotSpot</H3>
<PRE>
public final <A HREF="../../../../com/trolltech/qt/core/QPoint.html" title="class in com.trolltech.qt.core">QPoint</A> <B>hotSpot</B>()</PRE>
<DL>
<DD><p>Returns the cursor hot spot, or (0, 0) if it is one of the standard cursors.</p>
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="writeTo(com.trolltech.qt.core.QDataStream)"><!-- --></A><H3>
writeTo</H3>
<PRE>
public final void <B>writeTo</B>(<A HREF="../../../../com/trolltech/qt/core/QDataStream.html" title="class in com.trolltech.qt.core">QDataStream</A>&nbsp;outS)</PRE>
<DL>
<DD>Writes thisQCursor to outS.
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="readFrom(com.trolltech.qt.core.QDataStream)"><!-- --></A><H3>
readFrom</H3>
<PRE>
public final void <B>readFrom</B>(<A HREF="../../../../com/trolltech/qt/core/QDataStream.html" title="class in com.trolltech.qt.core">QDataStream</A>&nbsp;inS)</PRE>
<DL>
<DD>Reads a QCursor from inS.
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="pixmap()"><!-- --></A><H3>
pixmap</H3>
<PRE>
public final <A HREF="../../../../com/trolltech/qt/gui/QPixmap.html" title="class in com.trolltech.qt.gui">QPixmap</A> <B>pixmap</B>()</PRE>
<DL>
<DD><p>Returns the cursor pixmap. This is only valid if the cursor is a pixmap cursor.</p>
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="setShape(com.trolltech.qt.core.Qt.CursorShape)"><!-- --></A><H3>
setShape</H3>
<PRE>
public final void <B>setShape</B>(<A HREF="../../../../com/trolltech/qt/core/Qt.CursorShape.html" title="enum in com.trolltech.qt.core">Qt.CursorShape</A>&nbsp;newShape)</PRE>
<DL>
<DD><p>Sets the cursor to the shape identified by <tt>newShape</tt>.</p>
<p>See <tt>Qt::CursorShape</tt> for the list of cursor shapes.</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QCursor.html#shape()"><tt>shape</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="shape()"><!-- --></A><H3>
shape</H3>
<PRE>
public final <A HREF="../../../../com/trolltech/qt/core/Qt.CursorShape.html" title="enum in com.trolltech.qt.core">Qt.CursorShape</A> <B>shape</B>()</PRE>
<DL>
<DD><p>Returns the cursor shape identifier. The return value is one of the <tt>Qt::CursorShape</tt> enum values (cast to an int).</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QCursor.html#setShape(com.trolltech.qt.core.Qt.CursorShape)"><tt>setShape</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="pos()"><!-- --></A><H3>
pos</H3>
<PRE>
public static <A HREF="../../../../com/trolltech/qt/core/QPoint.html" title="class in com.trolltech.qt.core">QPoint</A> <B>pos</B>()</PRE>
<DL>
<DD><p>Returns the position of the cursor (hot spot) in global screen coordinates.</p>
<p>You can call QWidget::mapFromGlobal() to translate it to widget coordinates.</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QCursor.html#setPos(int, int)"><tt>setPos</tt></a>, 
<tt>QWidget::mapFromGlobal</tt>, 
<tt>QWidget::mapToGlobal</tt></DL>
</DD>
</DL>
<HR>

<A NAME="setPos(com.trolltech.qt.core.QPoint)"><!-- --></A><H3>
setPos</H3>
<PRE>
public static void <B>setPos</B>(<A HREF="../../../../com/trolltech/qt/core/QPoint.html" title="class in com.trolltech.qt.core">QPoint</A>&nbsp;p)</PRE>
<DL>
<DD><p>Moves the cursor (hot spot) to the global screen position at point <tt>p</tt>.</p>
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="setPos(int, int)"><!-- --></A><H3>
setPos</H3>
<PRE>
public static void <B>setPos</B>(int&nbsp;x,
                          int&nbsp;y)</PRE>
<DL>
<DD><p>Moves the cursor (hot spot) to the global screen position (<tt>x</tt>, <tt>y</tt>).</p>
<p>You can call QWidget::mapToGlobal() to translate widget coordinates to global screen coordinates.</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QCursor.html#pos()"><tt>pos</tt></a>, 
<tt>QWidget::mapFromGlobal</tt>, 
<tt>QWidget::mapToGlobal</tt></DL>
</DD>
</DL>
<HR>

<A NAME="fromNativePointer(com.trolltech.qt.QNativePointer)"><!-- --></A><H3>
fromNativePointer</H3>
<PRE>
public static <A HREF="../../../../com/trolltech/qt/gui/QCursor.html" title="class in com.trolltech.qt.gui">QCursor</A> <B>fromNativePointer</B>(<A HREF="../../../../com/trolltech/qt/QNativePointer.html" title="class in com.trolltech.qt">QNativePointer</A>&nbsp;nativePointer)</PRE>
<DL>
<DD>This function returns the QCursor instance pointed to by nativePointer
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>nativePointer</CODE> - the QNativePointer of which object should be returned.</DL>
</DD>
</DL>
<HR>

<A NAME="nativePointerArray(com.trolltech.qt.gui.QCursor[])"><!-- --></A><H3>
nativePointerArray</H3>
<PRE>
public static <A HREF="../../../../com/trolltech/qt/QNativePointer.html" title="class in com.trolltech.qt">QNativePointer</A> <B>nativePointerArray</B>(<A HREF="../../../../com/trolltech/qt/gui/QCursor.html" title="class in com.trolltech.qt.gui">QCursor</A>[]&nbsp;array)</PRE>
<DL>
<DD>This function returns a QNativePointer that is pointing to the specified QCursor array.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>array</CODE> - the array that the returned pointer will point to.
<DT><B>Returns:</B><DD>a QNativePointer that is pointing to the specified array.</DL>
</DD>
</DL>
<HR>

<A NAME="bitmap()"><!-- --></A><H3>
bitmap</H3>
<PRE>
public final <A HREF="../../../../com/trolltech/qt/gui/QBitmap.html" title="class in com.trolltech.qt.gui">QBitmap</A> <B>bitmap</B>()</PRE>
<DL>
<DD>Returns the cursor bitmap, or null if it is one of the standard
cursors.
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="mask()"><!-- --></A><H3>
mask</H3>
<PRE>
public final <A HREF="../../../../com/trolltech/qt/gui/QBitmap.html" title="class in com.trolltech.qt.gui">QBitmap</A> <B>mask</B>()</PRE>
<DL>
<DD>Returns the cursor bitmap mask, or null if it is one of the standard
cursors.
<P>
<DD><DL>
</DL>
</DD>
</DL>
<!-- ========= END OF CLASS DATA ========= -->
<HR>


<!-- ======= START OF BOTTOM NAVBAR ====== -->
<A NAME="navbar_bottom"><!-- --></A>
<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
<TR>
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
<A NAME="navbar_bottom_firstrow"><!-- --></A>
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
  <TR ALIGN="center" VALIGN="top">
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
  </TR>
</TABLE>
</TD>
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
</EM>
</TD>
</TR>

<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
&nbsp;<A HREF="../../../../com/trolltech/qt/gui/QContextMenuEvent.Reason.html" title="enum in com.trolltech.qt.gui"><B>PREV CLASS</B></A>&nbsp;
&nbsp;<A HREF="../../../../com/trolltech/qt/gui/QDataWidgetMapper.html" title="class in com.trolltech.qt.gui"><B>NEXT CLASS</B></A></FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
  <A HREF="../../../../index.html?com/trolltech/qt/gui/QCursor.html" target="_top"><B>FRAMES</B></A>  &nbsp;
&nbsp;<A HREF="QCursor.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;
&nbsp;<SCRIPT type="text/javascript">
  <!--
  if(window==top) {
    document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>');
  }
  //-->
</SCRIPT>
<NOSCRIPT>
  <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>
</NOSCRIPT>


</FONT></TD>
</TR>
<TR>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
  SUMMARY:&nbsp;<A HREF="#nested_classes_inherited_from_class_com.trolltech.qt.QSignalEmitter">NESTED</A>&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
DETAIL:&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
</TR>
</TABLE>
<A NAME="skip-navbar_bottom"></A>
<!-- ======== END OF BOTTOM NAVBAR ======= -->

<HR>

</BODY>
</HTML>