![]() |
Qt 6.x
The Qt SDK
|
#include <QtCore/qt_windows.h>
#include "qwindowspointerhandler.h"
#include "qwindowsmousehandler.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 } |
Functions | |
static Qt::MouseButton | extraButton (WPARAM wParam) |
static MouseEvent | eventFromMsg (const MSG &msg) |
static Qt::MouseButtons | mouseButtonsFromKeyState (WPARAM keyState) |
static Qt::MouseButtons | queryMouseButtons () |
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 |
Definition at line 32 of file qwindowspointerhandler.cpp.
|
inlinestatic |
Definition at line 147 of file qwindowspointerhandler.cpp.
References extraButton(), Qt::LeftButton, Qt::MiddleButton, QEvent::MouseButtonPress, QEvent::MouseButtonRelease, QEvent::MouseMove, Qt::NoButton, QEvent::NonClientAreaMouseButtonPress, QEvent::NonClientAreaMouseButtonRelease, QEvent::NonClientAreaMouseMove, QEvent::None, and Qt::RightButton.
|
inlinestatic |
Definition at line 142 of file qwindowspointerhandler.cpp.
References Qt::BackButton, and Qt::ForwardButton.
Referenced by eventFromMsg().
Definition at line 235 of file qwindowspointerhandler.cpp.
References QRect::contains(), QWindow::flags, QWindowsWindow::hasMouseCapture(), window(), QWindowsScreen::windowAt(), and Qt::WindowTransparentForInput.
Referenced by QWindowsPointerHandler::translateMouseEvent().
|
inlinestatic |
Definition at line 696 of file qwindowspointerhandler.cpp.
Referenced by QWindowsPointerHandler::translateMouseEvent().
|
static |
Definition at line 267 of file qwindowspointerhandler.cpp.
References QWindowsWindow::BlockedByModal, QPlatformWindow::isForeignWindow(), QWindowsWindow::topLevelOf(), and QWindowsWindow::windowsWindowOf().
|
static |
Definition at line 202 of file qwindowspointerhandler.cpp.
References Qt::LeftButton, Qt::MiddleButton, Qt::NoButton, Qt::RightButton, Qt::XButton1, and Qt::XButton2.
Referenced by QWindowsPointerHandler::translateMouseEvent().
|
static |
Definition at line 218 of file qwindowspointerhandler.cpp.
References Qt::LeftButton, Qt::MiddleButton, Qt::NoButton, Qt::RightButton, Qt::XButton1, and Qt::XButton2.
Referenced by QWindowsPointerHandler::translateMouseEvent().
|
static |
Definition at line 257 of file qwindowspointerhandler.cpp.