The QKeyEvent class contains parameters that describe a key event. List of all member functions. The QKeyEvent class contains parameters that describe a key event.
Key events occur when a key is pressed or released when a widget has keyboard input focus.
A key event contains a special accept flag which tells whether the receiver wants the key. Constructs a key event object. Sets the accept flag of the key event object. Setting the accept parameter indicates that the receiver of the event wants the key event. Unwanted key events are sent to the parent widget.