summaryrefslogtreecommitdiffstats
path: root/src/gui/kernel/qcursor.cpp
diff options
context:
space:
mode:
authorDenis Dzyubenko <denis.dzyubenko@nokia.com>2010-02-05 14:25:23 (GMT)
committerDenis Dzyubenko <denis.dzyubenko@nokia.com>2010-02-05 15:22:43 (GMT)
commit1efb2693b15f23f269be1db393a83af132924e06 (patch)
tree8ed2801a64ca3e37233b984d252e44c59841d96e /src/gui/kernel/qcursor.cpp
parent00d08740a1a5234c7f73eb634dcd45092b97dacd (diff)
downloadQt-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/kernel/qcursor.cpp')
-rw-r--r--src/gui/kernel/qcursor.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/gui/kernel/qcursor.cpp b/src/gui/kernel/qcursor.cpp
index 0f0470c..f38e4f5 100644
--- a/src/gui/kernel/qcursor.cpp
+++ b/src/gui/kernel/qcursor.cpp
@@ -141,6 +141,12 @@ QT_BEGIN_NAMESPACE
\o Qt::WhatsThisCursor \o \c whats_this
\o \inlineimage cursor-closedhand.png
\o Qt::ClosedHandCursor \o \c closedhand
+ \row \o
+ \o Qt::DragMoveCursor \o \c dnd-move or \c move
+ \o
+ \o Qt::DragCopyCursor \o \c dnd-copy or \c copy
+ \row \o
+ \o Qt::DragLinkCursor \o \c dnd-link or \c link
\endtable
\sa QWidget, {fowler}{GUI Design Handbook: Cursors}