Today’s goal is to implement PySide Widget where a function is executed when the tab is expanded. For example, the following is a function to print opened item name.
Environment
Windows 10 Python 3.8.7 PySide2 (5.15.2)
Method
Use itemExpanded
Connect target function to itemExpanded signal of QTreeWidget.
The system of keymap preference in Blender is complex a little.
GOAL
Today’s goal is to summarize how to customize keymaps in Blender. The main contents are how to change keymaps, save and import/export key configuration presets. This article doesn’t contain how to use keymap editor or details of UI.
Environment
Blender 2.83 (Python 3.7.4) Windows 10
What is keymap preference?
The following is an excerpt from the Blender manual.
The keymap editor lets you adjust your keymap via:
Presets: Predefined keymaps which come with Blender and can be added to. Preferences: Keymaps may define their own preferences to change the functionality or add additional key bindings. Key Map Items: You may add/remove/edit individual keymap entries.