The EnterEventFilter class provides an eventFilter that treats Enter key events as if they were Tab Key hits. More...
Public Member Functions | |
| def | __init__ |
| Creates a new EnterEventFilter object. | |
| def | eventFilter |
| Reimplements eventFilter() to send the Tab Key press. | |
The EnterEventFilter class provides an eventFilter that treats Enter key events as if they were Tab Key hits.
Exceptions are buttons (in which it's replaced with space) and QTextEdits in which it's the event is sent as is.
To install it in an application use 'app.installEventFilter( Koo.Common.EnterEventFilter( mainWindow ) )'
Definition at line 27 of file EnterEventFilter.py.
| def Koo::Common::EnterEventFilter::EnterEventFilter::__init__ | ( | self, | ||
parent = None | ||||
| ) |
Creates a new EnterEventFilter object.
Definition at line 29 of file EnterEventFilter.py.