The WKeyEvent provides detailed information for a
keyboard event. Type in the line edits below to demonstrate the
events. In general, keyboard events can be generated by every WInteractWidget, provided that either the
widget itself has keyboard focus, or one of its children. While
form widgets can receive keyboard focus out of the box, this
must be enabled for other passive widgets by adding them to the
tab chain using setTabIndex(0), and will not work on
older browsers.
This line edit listens to keyWentUp() and
keyWentDown() events.