This function should be called in the constructor of the child class (e.g. in ItemView or TextView) to set the widget which receives focus events.
Definition at line 91 of file view.cpp.
assert( focusWidget );
assert( !m_pFocusWidget );
if ( hasFocus() )
m_pFocusWidget = focusWidget;
setFocusProxy( m_pFocusWidget );
m_pFocusWidget->installEventFilter( this );
m_pFocusWidget->setFocusPolicy( ClickFocus );