qt5: let QNitpickerViewWidget react to focus event

With this patch, when calling 'setFocus()' on a QNitpickerViewWidget, the
Nitpicker view gets the input focus (provided that the parent Qt window
already had it).

Fixes #1314
This commit is contained in:
Christian Prochaska
2014-12-04 16:20:56 +01:00
committed by Christian Helmuth
parent a9a6e8df89
commit 21154d6866
4 changed files with 15 additions and 0 deletions

View File

@ -75,6 +75,7 @@ protected:
virtual void showEvent(QShowEvent *event);
virtual void hideEvent(QHideEvent *event);
virtual void paintEvent(QPaintEvent *event);
virtual void focusInEvent(QFocusEvent * event);
public: