Merge lp:~syleam/openobject-client-kde/trunk-pos-mouse-event into lp:~openobject-client-kde/openobject-client-kde/trunk

Proposed by Sebastien LANGE -
Status: Merged
Approved by: Albert Cervera i Areny -
Approved revision: 626
Merged at revision: not available
Proposed branch: lp:~syleam/openobject-client-kde/trunk-pos-mouse-event
Merge into: lp:~openobject-client-kde/openobject-client-kde/trunk
Diff against target: None lines
To merge this branch: bzr merge lp:~syleam/openobject-client-kde/trunk-pos-mouse-event
Reviewer Review Type Date Requested Status
Albert Cervera i Areny - Approve
Review via email:
To post a comment you must log in.
Revision history for this message
Sebastien LANGE - (alnslang) wrote :

Rewrite the eventfilter to use mouseevent instead of focus.

Revision history for this message
Albert Cervera i Areny - (albert-nan) :
review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'Koo/Pos/'
2--- Koo/Pos/ 2009-03-07 14:12:35 +0000
3+++ Koo/Pos/ 2009-03-23 16:18:17 +0000
4@@ -35,7 +35,7 @@
5 ## @brief Reimplements eventFilter() to show a Keyboard when a QLineEdit or QTextEdit gets
6 # the focus.
7 def eventFilter(self, obj, event):
8- if event.type() == QEvent.FocusIn:
9+ if event.type() == QEvent.MouseButtonPress:
10 if obj != self.currentWidget:
11 if obj.inherits( 'QLineEdit' ) or obj.inherits( 'QTextEdit' ):
12 self.currentWidget = obj


People subscribed via source and target branches