QCursor Class Reference

#include <qcursor.h>

Class Description

Definition at line 89 of file qcursor.h.

Public Member Functions

 QCursor ()
 
 QCursor (Qt::CursorShape shape)
 
 QCursor (const QBitmap &bitmap, const QBitmap &mask, int hotX=-1, int hotY=-1)
 
 QCursor (const QPixmap &pixmap, int hotX=-1, int hotY=-1)
 
 QCursor (const QCursor &cursor)
 
 ~QCursor ()
 
QCursoroperator= (const QCursor &cursor)
 
 operator QVariant () const
 
Qt::CursorShape shape () const
 
void setShape (Qt::CursorShape newShape)
 
const QBitmapbitmap () const
 
const QBitmapmask () const
 
QPixmap pixmap () const
 
QPoint hotSpot () const
 
Qt::HANDLE handle () const
 
 QCursor (Qt::HANDLE cursor)
 

Static Public Member Functions

static QPoint pos ()
 
static void setPos (int x, int y)
 
static void setPos (const QPoint &p)
 
static int x11Screen ()
 

Constructor & Destructor Documentation

QCursor ( )
QCursor ( const QBitmap bitmap,
const QBitmap mask,
int  hotX = -1,
int  hotY = -1 
)
QCursor ( const QPixmap pixmap,
int  hotX = -1,
int  hotY = -1 
)
QCursor ( const QCursor cursor)
~QCursor ( )
QCursor ( Qt::HANDLE  cursor)

Member Function Documentation

QCursor& operator= ( const QCursor cursor)
operator QVariant ( ) const
Qt::CursorShape shape ( ) const
void setShape ( Qt::CursorShape  newShape)
const QBitmap* bitmap ( ) const
const QBitmap* mask ( ) const
QPixmap pixmap ( ) const
QPoint hotSpot ( ) const
static QPoint pos ( )
static
static void setPos ( int  x,
int  y 
)
static
static void setPos ( const QPoint p)
inlinestatic

Definition at line 115 of file qcursor.h.

115 { setPos(p.x(), p.y()); }
int y() const
Definition: qpoint.h:131
static void setPos(int x, int y)
int x() const
Definition: qpoint.h:128
Qt::HANDLE handle ( ) const
static int x11Screen ( )
static

The documentation for this class was generated from the following file: