diff options
author | Denis Dzyubenko <denis.dzyubenko@nokia.com> | 2010-02-05 14:25:23 (GMT) |
---|---|---|
committer | Denis Dzyubenko <denis.dzyubenko@nokia.com> | 2010-02-05 15:22:43 (GMT) |
commit | 1efb2693b15f23f269be1db393a83af132924e06 (patch) | |
tree | 8ed2801a64ca3e37233b984d252e44c59841d96e /src/gui/image/qpixmap_x11_p.h | |
parent | 00d08740a1a5234c7f73eb634dcd45092b97dacd (diff) | |
download | Qt-1efb2693b15f23f269be1db393a83af132924e06.zip Qt-1efb2693b15f23f269be1db393a83af132924e06.tar.gz Qt-1efb2693b15f23f269be1db393a83af132924e06.tar.bz2 |
Added new mouse cursor types.
Added Qt::DragCopyCursor, DragMoveCursor and DragLinkCursor that are already
used internally for drag-n-drop, but were not exposed before. On X11 made them
use themed cursors through the Xcursor library.
Drag-n-drop now use these new cursors.
Inspired-by: David Benjamin MR#2215
Reviewed-by: Bradley T. Hughes
Diffstat (limited to 'src/gui/image/qpixmap_x11_p.h')
-rw-r--r-- | src/gui/image/qpixmap_x11_p.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gui/image/qpixmap_x11_p.h b/src/gui/image/qpixmap_x11_p.h index 20fb654..0c0a9bd 100644 --- a/src/gui/image/qpixmap_x11_p.h +++ b/src/gui/image/qpixmap_x11_p.h @@ -92,6 +92,8 @@ public: Qt::HANDLE handle() const { return hd; } Qt::HANDLE x11ConvertToDefaultDepth(); + static Qt::HANDLE createBitmapFromImage(const QImage &image); + protected: int metric(QPaintDevice::PaintDeviceMetric metric) const; |