property WantAllKeys : Boolean
Default: True
Defines whether the terminal component hooks and retrieves all keystrokes.
Part of the function of a terminal component is the ability to map the PC keyboard onto a terminal keyboard. This latter keyboard might be a completely different layout than the PC keyboard and, apart from the alphabetic key section, have different keys for different host functions. The keyboard mapping should attempt to match PC keys (whether they are
alt- shifted, ctrl-shifted, or whatever) onto appropriate terminal keys.
A problem that will occur is that keys like F1, F10, Enter, Tab, etc., may have other meanings depending on the configuration of the window manager. Normally, controls on a form would ignore these keys since they have dialog-specific or application-wide meanings. However, for a terminal component, it often makes sense to have these keys perform a terminal related function and to suppress the meaning as defined by your operating system or window manager. If WantAllKeys is True, the terminal component will attempt to hook and trap all keystrokes generated while it has focus. For example, F10 will not activate the main menu of the application.
If WantAllKeys is False, the terminal component will not perform anything special with regard to the keyboard. It will just trap the QEventType_KeyPress message and pass them it to the emulator for processing. Keys defined by the window manager will perform their usual functions.