The PosEventFilter class provides an eventFilter that shows a Keyboard for touchscreen environemnts when a QLineEdit or QTextEdit gets the focus (is clicked by the user). More...
Public Member Functions | |
| def | __init__ |
| Creates a new PosEventFilter object. | |
| def | eventFilter |
| Reimplements eventFilter() to show a Keyboard when a QLineEdit or QTextEdit gets the focus. | |
The PosEventFilter class provides an eventFilter that shows a Keyboard for touchscreen environemnts when a QLineEdit or QTextEdit gets the focus (is clicked by the user).
In order to enable the Keyboard (and Keypad) in an application, simply install it with 'app.installEventFilter( Koo.Pos.PosEventFilter( mainWindow ) )'
Definition at line 28 of file EventFilter.py.
| def Koo::Pos::EventFilter::PosEventFilter::__init__ | ( | self, | ||
parent = None | ||||
| ) |
Creates a new PosEventFilter object.
Definition at line 30 of file EventFilter.py.
| def Koo::Pos::EventFilter::PosEventFilter::eventFilter | ( | self, | ||
| obj, | ||||
| event | ||||
| ) |
Reimplements eventFilter() to show a Keyboard when a QLineEdit or QTextEdit gets the focus.
Definition at line 37 of file EventFilter.py.