Public Member Functions

Koo::Pos::EventFilter::PosEventFilter Class Reference

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...

List of all members.

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.

Detailed Description

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.


Member Function Documentation

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.


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