![]() |
Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
|
Implementation of IDropSource. More...
Public Types | |
| enum | Mode { MouseDrag , TouchDrag , MouseDrag , TouchDrag } |
| enum | Mode { MouseDrag , TouchDrag , MouseDrag , TouchDrag } |
Public Member Functions | |
| QWindowsOleDropSource (QWindowsDrag *drag) | |
| ~QWindowsOleDropSource () override | |
| void | createCursors () |
| Blend custom pixmap with cursors. | |
| STDMETHOD | QueryContinueDrag (BOOL fEscapePressed, DWORD grfKeyState) noexcept override |
| Check for cancel. | |
| STDMETHOD | GiveFeedback (DWORD dwEffect) noexcept override |
| Give feedback: Change cursor according to action. | |
| QWindowsOleDropSource (QWindowsDrag *drag) | |
| ~QWindowsOleDropSource () override | |
| void | createCursors () |
| STDMETHOD | QueryContinueDrag (BOOL fEscapePressed, DWORD grfKeyState) noexcept override |
| STDMETHOD | GiveFeedback (DWORD dwEffect) noexcept override |
Friends | |
| QDebug | operator<< (QDebug d, const QWindowsOleDropSource::CursorEntry &e) |
| QDebug | operator<< (QDebug d, const QWindowsOleDropSource::CursorEntry &e) |
Implementation of IDropSource.
Used for drag operations.
Definition at line 173 of file qwindowsdrag.cpp.
| Enumerator | |
|---|---|
| MouseDrag | |
| TouchDrag | |
| MouseDrag | |
| TouchDrag | |
Definition at line 176 of file qwindowsdrag.cpp.
| Enumerator | |
|---|---|
| MouseDrag | |
| TouchDrag | |
| MouseDrag | |
| TouchDrag | |
Definition at line 176 of file qwindowsdrag.cpp.
|
explicit |
Definition at line 216 of file qwindowsdrag.cpp.
References QWindowsOleDropSource(), QWindowsCursor::cursorState(), MouseDrag, QWindowsCursor::Suppressed, and TouchDrag.
Referenced by QWindowsOleDropSource(), and QWindowsDrag::drag().
|
override |
Definition at line 226 of file qwindowsdrag.cpp.
|
explicit |
|
override |
| void QWindowsOleDropSource::createCursors | ( | ) |
Blend custom pixmap with cursors.
Definition at line 246 of file qwindowsdrag.cpp.
References QWindowsContext::instance(), QWindowsCursor::mousePosition(), QWindowsScreenManager::screenAtDp(), QWindowsContext::screenManager(), and TouchDrag.
Referenced by QWindowsDrag::drag().
| void QWindowsOleDropSource::createCursors | ( | ) |
|
overridenoexcept |
Give feedback: Change cursor according to action.
Definition at line 395 of file qwindowsdrag.cpp.
|
overridenoexcept |
|
overridenoexcept |
Check for cancel.
Definition at line 341 of file qwindowsdrag.cpp.
|
overridenoexcept |
Definition at line 234 of file qwindowsdrag.cpp.
Definition at line 234 of file qwindowsdrag.cpp.