Falkon Develop
Cross-platform Qt-based web browser
QmlWheelEvent Class Reference

The class exposing WheelEvent to QML. More...

#include <qmlwheelevent.h>

Inheritance diagram for QmlWheelEvent:

Public Member Functions

 QmlWheelEvent (QWheelEvent *wheelEvent=nullptr, QObject *parent=nullptr)
 
QPoint angleDelta () const
 
int buttons () const
 
QPoint globalPos () const
 
QPointF globalPosF () const
 
int globalX () const
 
int globalY () const
 
bool inverted () const
 
int phase () const
 
QPoint pixelDelta () const
 
QPoint pos () const
 
QPointF posF () const
 
int source () const
 
int x () const
 
int y () const
 
void clear ()
 

Properties

QPoint angleDelta
 the distance that the wheel is rotated, in eighths of a degree More...
 
int buttons
 mouse state at the time of event More...
 
QPoint globalPos
 global position of mouse cursor at the time of event More...
 
QPointF globalPosF
 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...
 
bool inverted
 checks if the delta values delivered with the event are inverted More...
 
int phase
 scrolling phase of this wheel event More...
 
QPoint pixelDelta
 scrolling distance in pixels on screen More...
 
QPoint pos
 position of mouse cursor at the time of event More...
 
QPointF posF
 position of mouse cursor at the time of event More...
 
int source
 source of the 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...
 

Detailed Description

The class exposing WheelEvent to QML.

Definition at line 26 of file qmlwheelevent.h.

Constructor & Destructor Documentation

◆ QmlWheelEvent()

QmlWheelEvent::QmlWheelEvent ( QWheelEvent *  wheelEvent = nullptr,
QObject *  parent = nullptr 
)
explicit

Definition at line 21 of file qmlwheelevent.cpp.

Member Function Documentation

◆ angleDelta()

QPoint QmlWheelEvent::angleDelta ( ) const

Definition at line 27 of file qmlwheelevent.cpp.

◆ buttons()

int QmlWheelEvent::buttons ( ) const

Definition at line 35 of file qmlwheelevent.cpp.

◆ clear()

void QmlWheelEvent::clear ( )

Definition at line 139 of file qmlwheelevent.cpp.

◆ globalPos()

QPoint QmlWheelEvent::globalPos ( ) const

Definition at line 43 of file qmlwheelevent.cpp.

◆ globalPosF()

QPointF QmlWheelEvent::globalPosF ( ) const

Definition at line 51 of file qmlwheelevent.cpp.

◆ globalX()

int QmlWheelEvent::globalX ( ) const

Definition at line 59 of file qmlwheelevent.cpp.

◆ globalY()

int QmlWheelEvent::globalY ( ) const

Definition at line 67 of file qmlwheelevent.cpp.

◆ inverted()

bool QmlWheelEvent::inverted ( ) const

Definition at line 75 of file qmlwheelevent.cpp.

◆ phase()

int QmlWheelEvent::phase ( ) const

Definition at line 83 of file qmlwheelevent.cpp.

◆ pixelDelta()

QPoint QmlWheelEvent::pixelDelta ( ) const

Definition at line 91 of file qmlwheelevent.cpp.

◆ pos()

QPoint QmlWheelEvent::pos ( ) const

Definition at line 99 of file qmlwheelevent.cpp.

◆ posF()

QPointF QmlWheelEvent::posF ( ) const

Definition at line 107 of file qmlwheelevent.cpp.

◆ source()

int QmlWheelEvent::source ( ) const

Definition at line 115 of file qmlwheelevent.cpp.

◆ x()

int QmlWheelEvent::x ( ) const

Definition at line 123 of file qmlwheelevent.cpp.

◆ y()

int QmlWheelEvent::y ( ) const

Definition at line 131 of file qmlwheelevent.cpp.

Property Documentation

◆ angleDelta

QPoint QmlWheelEvent::angleDelta
read

the distance that the wheel is rotated, in eighths of a degree

Definition at line 1 of file qmlwheelevent.h.

◆ buttons

int QmlWheelEvent::buttons
read

mouse state at the time of event

Definition at line 1 of file qmlwheelevent.h.

◆ globalPos

QPoint QmlWheelEvent::globalPos
read

global position of mouse cursor at the time of event

Definition at line 1 of file qmlwheelevent.h.

◆ globalPosF

QPointF QmlWheelEvent::globalPosF
read

global position of mouse cursor at the time of event

Definition at line 1 of file qmlwheelevent.h.

◆ globalX

int QmlWheelEvent::globalX
read

global x position of mouse cursor at the time of event

Definition at line 1 of file qmlwheelevent.h.

◆ globalY

int QmlWheelEvent::globalY
read

global y position of mouse cursor at the time of event

Definition at line 1 of file qmlwheelevent.h.

◆ inverted

bool QmlWheelEvent::inverted
read

checks if the delta values delivered with the event are inverted

Definition at line 1 of file qmlwheelevent.h.

◆ phase

int QmlWheelEvent::phase
read

scrolling phase of this wheel event

Definition at line 1 of file qmlwheelevent.h.

◆ pixelDelta

QPoint QmlWheelEvent::pixelDelta
read

scrolling distance in pixels on screen

Definition at line 1 of file qmlwheelevent.h.

◆ pos

QPoint QmlWheelEvent::pos
read

position of mouse cursor at the time of event

Definition at line 1 of file qmlwheelevent.h.

◆ posF

QPointF QmlWheelEvent::posF
read

position of mouse cursor at the time of event

Definition at line 1 of file qmlwheelevent.h.

◆ source

int QmlWheelEvent::source
read

source of the event

Definition at line 1 of file qmlwheelevent.h.

◆ x

int QmlWheelEvent::x
read

x position of mouse cursor at the time of event

Definition at line 1 of file qmlwheelevent.h.

◆ y

int QmlWheelEvent::y
read

y position of mouse cursor at the time of event

Definition at line 1 of file qmlwheelevent.h.


The documentation for this class was generated from the following files: