Qt 4.8
KeyEvent Class Reference

The KeyEvent object provides information about a key event. More...

Detailed Description

The KeyEvent object provides information about a key event.

Since
4.7
For example, the following changes the Item's state property when the Enter
key is pressed:
focus: true
Keys.onPressed: { if (event.key == Qt.Key_Enter) state = 'ShowDetails'; }
}

The documentation for this class was generated from the following file: