---
id: "qkeyevent"
title: "QKeyEvent"
sidebar_label: "QKeyEvent"
---

## Hierarchy

* **QKeyEvent**

## Index

### Constructors

* [constructor](qkeyevent.md#constructor)

### Properties

* [native](qkeyevent.md#native)

### Methods

* [count](qkeyevent.md#count)
* [isAutoRepeat](qkeyevent.md#isautorepeat)
* [key](qkeyevent.md#key)
* [modifiers](qkeyevent.md#modifiers)
* [text](qkeyevent.md#text)

## Constructors

###  constructor

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

**Parameters:**

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

**Returns:** *[QKeyEvent](qkeyevent.md)*

## Properties

###  native

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

## Methods

###  count

▸ **count**(): *number*

**Returns:** *number*

___

###  isAutoRepeat

▸ **isAutoRepeat**(): *boolean*

**Returns:** *boolean*

___

###  key

▸ **key**(): *number*

**Returns:** *number*

___

###  modifiers

▸ **modifiers**(): *number*

**Returns:** *number*

___

###  text

▸ **text**(): *string*

**Returns:** *string*
