Skip to content
Snippets Groups Projects

Filter mouse wheel event in QComboBox of app parameters

Merged Victor Poughon requested to merge filter-wheel-combobox into develop

Summary

In otbgui, block mouse wheel events of QComboBox widgets for choice parameters, and output image pixel type selection. This is to improve UX when scrolling in applications with many parameters. Scrolling in the list of parameters can result in a combo box taking the focus, and users accidentally changing a choice parameter or a numerical value.

Note that it's already in place for int and float parameters. This MR refactors the event filter in QtWidgetParameterBase so that any children can register it.

Copyright

The copyright owner is CNES and has signed the ORFEO ToolBox Contributor License Agreement.


Check before merging:

  • All discussions are resolved
  • At least 2 :thumbsup: votes from core developers, no :thumbsdown: vote.
  • The feature branch is (reasonably) up-to-date with the base branch
  • Dashboard is green
  • Copyright owner has signed the ORFEO ToolBox Contributor License Agreement

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
Please register or sign in to reply
Loading