Class KeyPressedEventResult
Inherited Members
Namespace: RoboDk.API
Assembly: RoboDkApi.dll
Syntax
public class KeyPressedEventResult : EventResult
Constructors
| Improve this Doc View SourceKeyPressedEventResult(IItem, int, KeyPressState, int)
Key pressed event.
Declaration
public KeyPressedEventResult(IItem item, int keyId, KeyPressedEventResult.KeyPressState keyState, int modifiers)
Parameters
Type | Name | Description |
---|---|---|
IItem | item | |
int | keyId | Key id as per Qt mappings: https://doc.qt.io/qt-5/qt.html#Key-enum |
KeyPressedEventResult.KeyPressState | keyState | Pressed or Released |
int | modifiers | Modifier bits as per Qt mappings: https://doc.qt.io/qt-5/qt.html#KeyboardModifier-enum |
Properties
| Improve this Doc View SourceKeyId
Key id as per Qt mappings: https://doc.qt.io/qt-5/qt.html#Key-enum
Declaration
public int KeyId { get; }
Property Value
Type | Description |
---|---|
int |
KeyState
Is key pressed or released
Declaration
public KeyPressedEventResult.KeyPressState KeyState { get; }
Property Value
Type | Description |
---|---|
KeyPressedEventResult.KeyPressState |
Modifiers
Modifier bits as per Qt mappings: https://doc.qt.io/qt-5/qt.html#KeyboardModifier-enum
Declaration
public int Modifiers { get; }
Property Value
Type | Description |
---|---|
int |