java.lang.Object
io.qt.QtObject
io.qt.gui.QCursor
- All Implemented Interfaces:
QtObjectInterface
,Cloneable
Mouse cursor with an arbitrary shape
Java wrapper for Qt's class QCursor
-
Nested Class Summary
Nested classes/interfaces inherited from class io.qt.QtObject
QtObject.QPrivateConstructor
-
Constructor Summary
ModifierConstructorDescriptionQCursor()
QCursor
(Qt.CursorShape shape) Overloaded constructor forQCursor(io.qt.gui.QBitmap, io.qt.gui.QBitmap, int, int)
Overloaded constructor forQCursor(io.qt.gui.QBitmap, io.qt.gui.QBitmap, int, int)
withhotY = -1
.Overloaded constructor forQCursor(io.qt.gui.QPixmap, int, int)
Overloaded constructor forQCursor(io.qt.gui.QPixmap, int, int)
withhotY = -1
.protected
Constructor for internal use only. -
Method Summary
Modifier and TypeMethodDescriptionfinal void
final QBitmap
bitmap()
clone()
boolean
Used to check if this object shares the same native counterpart with the other object, i.e. the objects are equals if their native counterparts are identical.int
hashCode()
final QPoint
hotSpot()
final QBitmap
mask()
final QPixmap
pixmap()
static QPoint
pos()
See QCursor::pos()static QPoint
void
readFrom
(QDataStream inS) static void
setPos
(int x, int y) static void
static void
static void
final void
setShape
(Qt.CursorShape newShape) final Qt.CursorShape
shape()
final void
toString()
void
writeTo
(QDataStream outS) Methods inherited from class io.qt.QtObject
dispose, isDisposed
-
Constructor Details
-
QCursor
public QCursor() -
QCursor
-
QCursor
Overloaded constructor for
QCursor(io.qt.gui.QBitmap, io.qt.gui.QBitmap, int, int)
withhotY = -1
. -
QCursor
Overloaded constructor for
QCursor(io.qt.gui.QBitmap, io.qt.gui.QBitmap, int, int)
with:
hotX = -1
hotY = -1
-
QCursor
-
QCursor
-
QCursor
Overloaded constructor for
QCursor(io.qt.gui.QPixmap, int, int)
withhotY = -1
. -
QCursor
-
QCursor
-
QCursor
Constructor for internal use only.- Parameters:
p
- expected to benull
.
-
-
Method Details
-
bitmap
-
hotSpot
-
mask
-
writeTo
-
assign
-
readFrom
-
pixmap
-
setShape
-
shape
-
swap
-
pos
See QCursor::pos()
-
pos
-
setPos
-
setPos
-
setPos
-
setPos
public static void setPos(int x, int y) -
equals
Description copied from class:QtObject
Used to check if this object shares the same native counterpart with the other object, i.e. the objects are equals if their native counterparts are identical. Qt value types override this method to make a value comparison. Otherwise it will return the result of calling the super class implementation. -
hashCode
-
toString
-
clone
-