Command panel

A forum for research and development of the user interface of FreeCAD

Moderator: agryson

triplus
Posts: 8748
Joined: Mon Dec 12, 2011 4:45 pm

Re: Command panel

Postby triplus » Tue Nov 21, 2017 4:19 pm

Namespace.png
Namespace.png (67.45 KiB) Viewed 1076 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
Posts: 8748
Joined: Mon Dec 12, 2011 4:45 pm

Re: Command panel

Postby triplus » Mon Nov 27, 2017 8:51 pm

Enabled.png
Enabled.png (75.22 KiB) Viewed 1048 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
Posts: 8748
Joined: Mon Dec 12, 2011 4:45 pm

Re: Command panel

Postby triplus » Wed Nov 29, 2017 5:34 pm

Commands.png
Commands.png (86.94 KiB) Viewed 1012 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
Posts: 8748
Joined: Mon Dec 12, 2011 4:45 pm

Re: Command panel

Postby triplus » Sat Dec 09, 2017 11:54 pm

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

Re: Command panel

Postby triplus » Fri Jan 05, 2018 4:47 pm

Collapse.png
Collapse.png (11.63 KiB) Viewed 928 times
Expand.png
Expand.png (17.53 KiB) Viewed 928 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
Posts: 8748
Joined: Mon Dec 12, 2011 4:45 pm

Re: Command panel

Postby triplus » Tue Jan 23, 2018 11:38 pm

Settings.png
Settings.png (90.29 KiB) Viewed 889 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
Posts: 5783
Joined: Thu Jan 05, 2017 9:03 pm

Re: Command panel

Postby Kunda1 » Tue Jan 23, 2018 11:45 pm

Nice job!
Want to contribute back to FC? Checkout:
#lowhangingfruit | Use the Source, Luke. | How to Help FreeCAD | How to report FC bugs and features
silopolis
Posts: 59
Joined: Thu Oct 20, 2016 10:06 pm

Re: Command panel

Postby silopolis » 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.
pablogil
Posts: 758
Joined: Wed Nov 26, 2014 3:19 pm
Location: Badajoz (Spain)
Contact:

Re: Command panel

Postby pablogil » Fri Jan 26, 2018 7:23 am

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
Posts: 8748
Joined: Mon Dec 12, 2011 4:45 pm

Re: Command panel

Postby triplus » Fri Jan 26, 2018 11:29 pm

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. ;)