Feat/toolbar switch action
Description
This merge request introduces several improvements and new features to the toolbar module:
- Enhanced Action Bundling: Actions can now be added to an existing bundle, simplifying toolbar customization.
- Improved QMenu Icons Visibility: Addresses the PySide6 default behavior that previously hid QMenu icons by ensuring they are now clearly visible.
- Compact Layout Adjustments: The toolbar layout has been resized to be more compact, optimizing space and aesthetics.
- Switchable Toolbar Action: A new switchable toolbar action allows for dynamic switching between multiple actions within a single toolbar element.
-
Fix blocking tests: Some toolbar tests were blocking because of
exec
called in the context ofQMenu
Users can review and test all new features by running toolbar.py
.
Related Issues
closes #376
Type of Change
- Enhancement: Streamlined toolbar customization and improved visual clarity.
- Bug Fix: Resolves issues related to hidden QMenu icons in PySide6.
- New Feature: Introduces the Switchable Toolbar Action for flexible interaction.
Additional Comments
I haven't found a way to make tests works for long press and for QMenu on CI. Also lot of changes are just made in the demo toolbar app.
Edited by wyzula_j