Show / Hide Table of Contents

Class KeyPressedEventResult

Inheritance
object
EventResult
KeyPressedEventResult
Inherited Members
EventResult.EventType
EventResult.Item
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
Namespace:RoboDk.API
Assembly: RoboDkApi.dll
Syntax
public class KeyPressedEventResult : EventResult

Constructors

|Improve this Doc View Source

KeyPressedEventResult(IItem, int, KeyPressState, int)

Key pressed event.

Declaration
公共KeyPressedEventResult(IItem item, int keyId, KeyPressedEventResult.KeyPressState keyState, int modifiers)
Parameters
Type Name Description
IItem item
int keyId

键id根据Qt映射: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 Source

KeyId

键id根据Qt映射:https://doc.qt.io/qt-5/qt.html#Key-enum

Declaration
public int KeyId { get; }
Property Value
Type Description
int
|Improve this Doc View Source

KeyState

Is key pressed or released

Declaration
公共KeyPressedEventResult.KeyPressState KeyState { get; }
Property Value
Type Description
KeyPressedEventResult.KeyPressState
|Improve this Doc View Source

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
  • Improve this Doc
  • View Source
In This Article
Back to topCopyright © 2015-RoboDK Inc.