Command panel

A forum for research and development of the user interface of FreeCAD
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
triplus
Veteran
Posts: 9471
Joined: Mon Dec 12, 2011 4:45 pm

Re: Command panel

Post by triplus »

Namespace.png
Namespace.png (67.45 KiB) Viewed 2740 times
Control panel front and back end features
  • Workbench selector combo box
  • Reset workbench settings to defaults
  • Set default menu check box
  • Workbench menu combo box
  • Add or remove workbench menu
  • Small UX related adjustments and tweaks
  • UUID based group/menu storage
  • Default, new, find and delete group (menu)
  • Shared widgets created on demand
  • Artwork
triplus
Veteran
Posts: 9471
Joined: Mon Dec 12, 2011 4:45 pm

Re: Command panel

Post by triplus »

Enabled.png
Enabled.png (75.22 KiB) Viewed 2706 times
Enabled commands panel
  • Add, remove and move (enabled) command buttons
  • Add command on double click
  • Always show (default) icon for command
  • Always show not currently available commands in enabled panel
  • Use disabled icon mode for not available commands
  • Add tooltips for available and enabled commands
  • Small UX related adjustments and tweaks
  • Artwork
triplus
Veteran
Posts: 9471
Joined: Mon Dec 12, 2011 4:45 pm

Re: Command panel

Post by triplus »

Commands.png
Commands.png (86.94 KiB) Viewed 2664 times
Workbench buttons
  • Flow layout
  • Scroll wheel event filter for disabled buttons
  • Unavailable command name info added to tooltip
  • Create workbench buttons from command names
  • Show workbench buttons on workbench activation
  • Update workbench buttons on preferences edit
  • Predefined set of commands for default workbench menu
  • Small UX related adjustments and tweaks
triplus
Veteran
Posts: 9471
Joined: Mon Dec 12, 2011 4:45 pm

Re: Command panel

Post by triplus »

MenuSpacerSeparator.png
MenuSpacerSeparator.png (98.28 KiB) Viewed 2622 times
Menu, spacer and separator
  • Create and edit buttons with menu
  • Create separators
  • Create spacers
  • Artwork
  • Small UX related adjustments and tweaks
triplus
Veteran
Posts: 9471
Joined: Mon Dec 12, 2011 4:45 pm

Re: Command panel

Post by triplus »

Collapse.png
Collapse.png (11.63 KiB) Viewed 2568 times
Expand.png
Expand.png (17.53 KiB) Viewed 2568 times
  • Expand or collapse menu
  • Persistent button and menu default action
  • Set default menu action only if action was triggered from the menu
  • Rework existing artwork to omit Qt SVG support related messages
  • Artwork
triplus
Veteran
Posts: 9471
Joined: Mon Dec 12, 2011 4:45 pm

Re: Command panel

Post by triplus »

Settings.png
Settings.png (90.29 KiB) Viewed 2526 times
Settings
  • Settings section added to the preferences
  • Button style control (icon, text, icon and text, text below icon)
  • Button auto raise control
  • Button icon size control
  • Button text size control
  • Button width control
  • New expand layout option
  • Minor tweaks
User avatar
Kunda1
Veteran
Posts: 13434
Joined: Thu Jan 05, 2017 9:03 pm

Re: Command panel

Post by Kunda1 »

Nice job!
Alone you go faster. Together we go farther
Please mark thread [Solved]
Want to contribute back to FC? Checkout:
'good first issues' | Open TODOs and FIXMEs | How to Help FreeCAD | How to report Bugs
User avatar
silopolis
Posts: 74
Joined: Thu Oct 20, 2016 10:06 pm

Re: Command panel

Post by silopolis »

Kunda1 wrote: Wed Oct 11, 2017 12:30 am @triplus perhaps adding instructions on how to install Command panel will encourage testing...?
I'd love to be able to add repository URLs in addons manager to add custom modules and then use manager goodness to update and remove them.
User avatar
pablogil
Posts: 881
Joined: Wed Nov 26, 2014 3:19 pm
Location: Badajoz (Spain)
Contact:

Re: Command panel

Post by pablogil »

silopolis wrote: Fri Jan 26, 2018 6:41 am
Kunda1 wrote: Wed Oct 11, 2017 12:30 am @triplus perhaps adding instructions on how to install Command panel will encourage testing...?
I'd love to be able to add repository URLs in addons manager to add custom modules and then use manager goodness to update and remove them.
I also miss other nice @triplus modules in "addon manager" such as Selector... Could you add them so that all the community has a easier access to install, try and love them? :)

PS - how is going Piemenu 2.0? I'm still missing it... :roll:
Dark and Light stylesheets v2.0 to theme your FreeCAD UI, more information here
triplus
Veteran
Posts: 9471
Joined: Mon Dec 12, 2011 4:45 pm

Re: Command panel

Post by triplus »

silopolis wrote: Fri Jan 26, 2018 6:41 am I'd love to be able to add repository URLs in addons manager to add custom modules and then use manager goodness to update and remove them.
pablogil wrote: Fri Jan 26, 2018 7:23 am I also miss other nice @triplus modules in "addon manager" such as Selector... Could you add them so that all the community has a easier access to install, try and love them? :)
Done:

https://github.com/FreeCAD/FreeCAD-addons/issues/64
pablogil wrote: Fri Jan 26, 2018 7:23 am PS - how is going Piemenu 2.0? I'm still missing it... :roll:
  • Command panel: Small set of additional refinements and a feature or two
  • Command panel: Providing an API for adding workbench menus from Python and tackling that in Preferences
  • TabBar: Removing functionality that has evolved and is now located in separate modules
  • PieMenu
Note that a lot of command panel functionality and principles will be reusable in PieMenu.

P.S. There is a small issue in light set of stylesheets regarding Selector toolbar. I was hopping you could take a look at it before FreeCAD 0.17 release. That would come down to one less item on the todo list on my side. ;)
Post Reply