---
id: "qmouseevent"
title: "QMouseEvent"
sidebar_label: "QMouseEvent"
---

## Hierarchy

* **QMouseEvent**

## Index

### Constructors

* [constructor](qmouseevent.md#constructor)

### Properties

* [native](qmouseevent.md#native)

### Methods

* [button](qmouseevent.md#button)
* [globalX](qmouseevent.md#globalx)
* [globalY](qmouseevent.md#globaly)
* [x](qmouseevent.md#x)
* [y](qmouseevent.md#y)

## Constructors

###  constructor

\+ **new QMouseEvent**(`event`: [NativeRawPointer](../globals.md#nativerawpointer)‹"QEvent"›): *[QMouseEvent](qmouseevent.md)*

**Parameters:**

Name | Type |
------ | ------ |
`event` | [NativeRawPointer](../globals.md#nativerawpointer)‹"QEvent"› |

**Returns:** *[QMouseEvent](qmouseevent.md)*

## Properties

###  native

• **native**: *[NativeElement](../globals.md#nativeelement)*

## Methods

###  button

▸ **button**(): *number*

**Returns:** *number*

___

###  globalX

▸ **globalX**(): *number*

**Returns:** *number*

___

###  globalY

▸ **globalY**(): *number*

**Returns:** *number*

___

###  x

▸ **x**(): *number*

**Returns:** *number*

___

###  y

▸ **y**(): *number*

**Returns:** *number*
