![]() |
Falkon Develop
Cross-platform Qt-based web browser
|
The class exposing MouseEvent to QML. More...
#include <qmlmouseevent.h>
Public Member Functions | |
QmlMouseEvent (QMouseEvent *mouseEvent=nullptr, QObject *parent=nullptr) | |
int | button () const |
int | buttons () const |
QPoint | globalPos () const |
int | globalX () const |
int | globalY () const |
QPointF | localPos () const |
QPoint | pos () const |
QPointF | screenPos () const |
int | source () const |
QPointF | windowPos () const |
int | x () const |
int | y () const |
void | clear () |
Properties | |
int | button |
button associated with the event More... | |
int | buttons |
button state associated with the event More... | |
QPoint | globalPos |
global position of mouse cursor at the time of event More... | |
int | globalX |
global x position of mouse cursor at the time of event More... | |
int | globalY |
global y position of mouse cursor at the time of event More... | |
QPointF | localPos |
local position of mouse cursor at the time of event More... | |
QPoint | pos |
position of mouse cursor at the time of event More... | |
QPointF | screenPos |
screen position of mouse cursor at the time of event More... | |
int | source |
source of the event More... | |
QPointF | windowPos |
window position of mouse cursor at the time of event More... | |
int | x |
x position of mouse cursor at the time of event More... | |
int | y |
y position of mouse cursor at the time of event More... | |
The class exposing MouseEvent to QML.
Definition at line 25 of file qmlmouseevent.h.
|
explicit |
Definition at line 21 of file qmlmouseevent.cpp.
int QmlMouseEvent::button | ( | ) | const |
Definition at line 27 of file qmlmouseevent.cpp.
int QmlMouseEvent::buttons | ( | ) | const |
Definition at line 35 of file qmlmouseevent.cpp.
void QmlMouseEvent::clear | ( | ) |
Definition at line 123 of file qmlmouseevent.cpp.
QPoint QmlMouseEvent::globalPos | ( | ) | const |
Definition at line 43 of file qmlmouseevent.cpp.
int QmlMouseEvent::globalX | ( | ) | const |
Definition at line 51 of file qmlmouseevent.cpp.
int QmlMouseEvent::globalY | ( | ) | const |
Definition at line 59 of file qmlmouseevent.cpp.
QPointF QmlMouseEvent::localPos | ( | ) | const |
Definition at line 67 of file qmlmouseevent.cpp.
QPoint QmlMouseEvent::pos | ( | ) | const |
Definition at line 75 of file qmlmouseevent.cpp.
QPointF QmlMouseEvent::screenPos | ( | ) | const |
Definition at line 83 of file qmlmouseevent.cpp.
int QmlMouseEvent::source | ( | ) | const |
Definition at line 91 of file qmlmouseevent.cpp.
QPointF QmlMouseEvent::windowPos | ( | ) | const |
Definition at line 99 of file qmlmouseevent.cpp.
int QmlMouseEvent::x | ( | ) | const |
Definition at line 107 of file qmlmouseevent.cpp.
int QmlMouseEvent::y | ( | ) | const |
Definition at line 115 of file qmlmouseevent.cpp.
|
read |
button associated with the event
Definition at line 1 of file qmlmouseevent.h.
|
read |
button state associated with the event
Definition at line 1 of file qmlmouseevent.h.
|
read |
global position of mouse cursor at the time of event
Definition at line 1 of file qmlmouseevent.h.
|
read |
global x position of mouse cursor at the time of event
Definition at line 1 of file qmlmouseevent.h.
|
read |
global y position of mouse cursor at the time of event
Definition at line 1 of file qmlmouseevent.h.
|
read |
local position of mouse cursor at the time of event
Definition at line 1 of file qmlmouseevent.h.
|
read |
position of mouse cursor at the time of event
Definition at line 1 of file qmlmouseevent.h.
|
read |
screen position of mouse cursor at the time of event
Definition at line 1 of file qmlmouseevent.h.
|
read |
source of the event
Definition at line 1 of file qmlmouseevent.h.
|
read |
window position of mouse cursor at the time of event
Definition at line 1 of file qmlmouseevent.h.
|
read |
x position of mouse cursor at the time of event
Definition at line 1 of file qmlmouseevent.h.
|
read |
y position of mouse cursor at the time of event
Definition at line 1 of file qmlmouseevent.h.