Left pane, and toolbar, prominence: Features, or not yet refined functional issues?

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

Moderator: agryson

a3bksll47
Posts: 75
Joined: Sat Mar 17, 2018 3:42 am

Re: Left pane, and toolbar, prominence: Features, or not yet refined functional issues?

Postby a3bksll47 » Mon Apr 16, 2018 1:28 am

triplus wrote:
Sun Apr 15, 2018 10:39 pm
At this point this is the best i can offer (to get some results). Didn't test it but creating a macro command with assigned shortcut likely should be achievable using the code snippet as a basis:

Code: Select all

from PySide import QtGui
mw = Gui.getMainWindow()
mw.findChild(QtGui.QDockWidget, "Combo View").toggleViewAction().trigger()
P.S. In the future who knows what will happen. Projects like this or some other approach might end up making viewport a bigger by default:

https://forum.freecadweb.org/viewtopic.php?f=8&t=23053
Oh cool! Thanks for this snip.
mario52
Posts: 2355
Joined: Wed May 16, 2012 2:13 pm

Re: Left pane, and toolbar, prominence: Features, or not yet refined functional issues?

Postby mario52 » Mon Apr 16, 2018 9:44 am

hi

also Macro_Toggle_Panels_Visibility Image
This macro toggles the visibility of various supporting panels in FreeCAD, allowing the main window to be viewed with all available screen space.

same triplus snippet and include the Python console and report view

mario
Maybe you need a special feature, go into Macros_recipes and Code_snippets. My macros on Gist.github
a3bksll47
Posts: 75
Joined: Sat Mar 17, 2018 3:42 am

Re: Left pane, and toolbar, prominence: Features, or not yet refined functional issues?

Postby a3bksll47 » Mon Apr 16, 2018 12:13 pm

mario52 wrote:
Mon Apr 16, 2018 9:44 am
hi

also Macro_Toggle_Panels_Visibility Image
This macro toggles the visibility of various supporting panels in FreeCAD, allowing the main window to be viewed with all available screen space.

same triplus snippet and include the Python console and report view

mario
Thanks, will look at this.
triplus
Posts: 7326
Joined: Mon Dec 12, 2011 4:45 pm

Re: Left pane, and toolbar, prominence: Features, or not yet refined functional issues?

Postby triplus » Mon Apr 16, 2018 3:41 pm

a3bksll47 wrote:
Mon Apr 16, 2018 1:28 am
Oh cool! Thanks for this snip.
You're welcome.
mario52 wrote:
Mon Apr 16, 2018 9:44 am
hi

also Macro_Toggle_Panels_Visibility Image
This macro toggles the visibility of various supporting panels in FreeCAD, allowing the main window to be viewed with all available screen space.

same triplus snippet and include the Python console and report view

mario
I tend to forget to first check the macro list. If similar solution is already available. ;)