Slice: Add modifiable shortcut for 'Show Plane'
Closes: #19348
The description & Video has been recently updated
TL;DR
Notes
In the latest commit I expanded Customized Shortcuts
to also contain such properties, for that matter I created a new property in the menubar named: ParaviewHiddenActions
which contains properties related to widget customized shortcut.
This allows to invisibly connect the two parts with a minimal changes, also introducing a very weak dependency.
Now menubar has two types of actions:
- Visible QActions returned by
menubar->actions()
- Hidden QActions returned by
menubar.property('ParaviewHiddenActions')
Internally it extend the menubar with a new category of actionn named Hidden Actions
, which can be accessed through two new provided static methods for pqCustomizeShortcutsDialog named:
addHiddenAction
removeHiddenAction
Edited by Vicente Bolea