![]() |
Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
|
#include <QtCore/qt_windows.h>#include "qwindowspointerhandler.h"#include "qwindowskeymapper.h"#include "qwindowscontext.h"#include "qwindowswindow.h"#include "qwindowsintegration.h"#include "qwindowsscreen.h"#include <QtGui/qguiapplication.h>#include <QtGui/qscreen.h>#include <QtGui/qpointingdevice.h>#include <QtGui/qwindow.h>#include <QtGui/private/qguiapplication_p.h>#include <QtCore/qvarlengtharray.h>#include <QtCore/qloggingcategory.h>#include <QtCore/qqueue.h>#include <algorithm>#include <windowsx.h>Go to the source code of this file.
Enumerations | |
| enum | { QT_PT_POINTER = 1 , QT_PT_TOUCH = 2 , QT_PT_PEN = 3 , QT_PT_MOUSE = 4 , QT_PT_TOUCHPAD = 5 , QT_PT_POINTER = 1 , QT_PT_TOUCH = 2 , QT_PT_PEN = 3 , QT_PT_MOUSE = 4 , QT_PT_TOUCHPAD = 5 } |
| enum | { QT_PT_POINTER = 1 , QT_PT_TOUCH = 2 , QT_PT_PEN = 3 , QT_PT_MOUSE = 4 , QT_PT_TOUCHPAD = 5 , QT_PT_POINTER = 1 , QT_PT_TOUCH = 2 , QT_PT_PEN = 3 , QT_PT_MOUSE = 4 , QT_PT_TOUCHPAD = 5 } |
Functions | |
| const QPointingDevice * | primaryMouse () |
| static Qt::MouseButton | extraButton (WPARAM wParam) |
| static MouseEvent | eventFromMsg (const MSG &msg) |
| static Qt::MouseButtons | mouseButtonsFromKeyState (WPARAM keyState) |
| static QWindow * | getWindowUnderPointer (QWindow *window, QPoint globalPos) |
| static bool | trackLeave (HWND hwnd) |
| static bool | isValidWheelReceiver (QWindow *candidate) |
| static bool | isMouseEventSynthesizedFromPenOrTouch () |
| anonymous enum |
| Enumerator | |
|---|---|
| QT_PT_POINTER | |
| QT_PT_TOUCH | |
| QT_PT_PEN | |
| QT_PT_MOUSE | |
| QT_PT_TOUCHPAD | |
| QT_PT_POINTER | |
| QT_PT_TOUCH | |
| QT_PT_PEN | |
| QT_PT_MOUSE | |
| QT_PT_TOUCHPAD | |
Definition at line 31 of file qwindowspointerhandler.cpp.
| anonymous enum |
| Enumerator | |
|---|---|
| QT_PT_POINTER | |
| QT_PT_TOUCH | |
| QT_PT_PEN | |
| QT_PT_MOUSE | |
| QT_PT_TOUCHPAD | |
| QT_PT_POINTER | |
| QT_PT_TOUCH | |
| QT_PT_PEN | |
| QT_PT_MOUSE | |
| QT_PT_TOUCHPAD | |
Definition at line 31 of file qwindowspointerhandler.cpp.
|
inlinestatic |
Definition at line 154 of file qwindowspointerhandler.cpp.
|
inlinestatic |
Definition at line 149 of file qwindowspointerhandler.cpp.
Definition at line 242 of file qwindowspointerhandler.cpp.
|
inlinestatic |
Definition at line 706 of file qwindowspointerhandler.cpp.
Referenced by QWindowsPointerHandler::translateMouseEvent().
|
static |
Definition at line 274 of file qwindowspointerhandler.cpp.
References QWindowsWindow::BlockedByModal, and QWindowsWindow::testFlag().
|
static |
Definition at line 209 of file qwindowspointerhandler.cpp.
| const QPointingDevice * primaryMouse | ( | ) |
Definition at line 41 of file qwindowspointerhandler.cpp.
Referenced by QWindowsPointerHandler::translateMouseEvent().
|
static |
Definition at line 264 of file qwindowspointerhandler.cpp.