-
-
Notifications
You must be signed in to change notification settings - Fork 469
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add option to disable keyboard focus being set on mouse move (#1174)
* add option to disable keyboard focus being set on mouse move currently all mouse events get forwarded to onRenderWindowMouseEvents, there keyboard focus is requested (setFocus) unconditionally. This commit adds a new property "focus_on_mouse_move_" that enables setting keyboard focus on mouse move events. Setting focus on click or wheel is handled by QObject::setFocusPolicy Subclasses/Users of rvis::RenderPanel can disable either setting focus on mouse move by using the boolean property and disable keyboard focus on click, on wheel or totally via setFocusPolicy * use scope brackets on if statement
- Loading branch information
Showing
2 changed files
with
22 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters