We bake cookies in your browser for a better experience. Using this site means that you consent. Read More
The QPlatformCursorImage class provides a set of graphics intended to be used as cursors. More...
The QPlatformCursorImage class provides a set of graphics intended to be used as cursors.
See also QPlatformCursor.
Sets the cursor image to the graphic represented by the combination of data and mask, with dimensions given by width and height and a hotspot at the point specified by (hotX, hotY).
See also set().
Return the cursor's hotspot
Return the cursor graphic as a pointer to a QImage
Sets the cursor image to the graphic represented by the combination of data and mask, with dimensions given by width and height and a hotspot at the point specified by (hx, hy).
The image data specified by data must be supplied in the format described by QImage::Format_Indexed8.
The corresponding mask data specified by mask must be supplied in a character array containing packed 1 bit per pixel format data, with any padding bits at the end of the array. Bits of value 0 represent transparent pixels in the image data.
Sets the cursor image to the given image, with the hotspot at the point specified by (hx, hy).
Calling this method sets the cursor image to the specified shape
id is one of the defined Qt::CursorShape values.
If id is invalid, Qt::BitmapCursor, or unknown by the implementation, Qt::ArrowCursor is used instead.
© 2016 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.