Interface Customization/it: Difference between revisions

From FreeCAD Documentation
No edit summary
(Updating to match new version of source page)
(26 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<languages/>
<languages/>
<div class="mw-translate-fuzzy">
{{Docnav/it|[[Import Export Preference/it|Preferenze di Importa/Esporta]]|[[Property editor/it|Editore delle proprietà]]}}
</div>

{{TOCright}}

==Introduction==

<div class="mw-translate-fuzzy">
Dato che l'interfaccia di FreeCAD è basata sul moderno toolkit [http://en.wikipedia.org/wiki/Qt_(toolkit) Qt], essa dispone di una organizzazione ottimale. Si possono modificare, spostare, condividere tra i vari ambienti di lavoro widget, menu, barre e altri strumenti. Si possono creare e modificare le scorciatoie da tastiera. Si possono registrare e riprodurre le macro.
Dato che l'interfaccia di FreeCAD è basata sul moderno toolkit [http://en.wikipedia.org/wiki/Qt_(toolkit) Qt], essa dispone di una organizzazione ottimale. Si possono modificare, spostare, condividere tra i vari ambienti di lavoro widget, menu, barre e altri strumenti. Si possono creare e modificare le scorciatoie da tastiera. Si possono registrare e riprodurre le macro.


La finestra di personalizzazione è accessibile dal menu {{MenuCommand|Strumenti → {{KEY/it|[[File:Std DlgCustomize.png|16px]]}} [[Std_DlgCustomize/it|Personalizza]]}}''':
La finestra di personalizzazione è accessibile dal menu {{MenuCommand|Strumenti → {{KEY/it|[[File:Std DlgCustomize.png|16px]]}} [[Std_DlgCustomize/it|Personalizza]]}}''':
</div>


[[Image:Std_DlgCustomize_tab_Toolbars.png]]
<div class="mw-translate-fuzzy">
[[Image:MenuPersonalizza.png]]
[[Image:MenuPersonalizza.png]]
</div>


==Usage==
==La scheda Personalizza==
La scheda '''Comandi''' consente di esplorare tutti i comandi disponibili in FreeCAD, organizzati per categorie.


# The commands available in the Customize dialog box depend on the workbenches that have been loaded in the current FreeCAD session. So you should first load all workbenches whose commands you want to have access to.
In '''Tastiera''', è possibile vedere le scorciatoie da tastiera associate a ogni comando di FreeCAD, e volendo, si può modificare o assegnare un nuovo collegamento a qualsiasi comando. Quando si usa sovente uno specifico ambiente di lavoro, questo permette di velocizzare il suo utilizzo tramite la tastiera.
# There are several ways to invoke the [[Image:Std_DlgCustomize.svg|16px]] [[Std_DlgCustomize|Std DlgCustomize]] command:
#* Select the {{MenuCommand|Tools → [[Image:Std_DlgCustomize.svg|16px]] Customize...}} option from the menu.
#* Right-click a toolbar area and choose {{MenuCommand|[[Image:Std_DlgCustomize.svg|16px]] Customize...}} from the context menu.
# The Customize dialog box opens. For more information see [[#Options|Options]].
# The {{Button|Help}} button does not work at this time.
# Press the {{Button|Close}} button to close the dialog box.


==Options==
La scheda '''Barre degli strumenti''' consente di modificare le barre degli strumenti esistenti, o di creare nuove barre degli strumenti personalizzate.


In the Customize dialog box the following tabs are available:
La scheda '''Macro''' consente di gestire le [[Macros/it|Macro]] salvate in precedenza.


===Commands===
Le schede successive permettono di impostare le azioni di [[3Dconnexion_input_devices/it|Spaceball]] (se installato)


[[Image:Std_DlgCustomize_tab_Commands.png]]
Vedere anche il tutorial per creare la [[Customize_Toolbars/it|Barra personalizzata]] degli strumenti macro
{{Caption|The Commands tab}}


On this tab you can browse the available commands.
Dalla versione 0.16 è disponibile un nuovo strumento che permette di gestire gli ambienti di lavoro.


====Browse commands====
[[Image:CustomizeWorkbenches.png]]


# Select a command category in the '''Category''' panel on the left. Some categories match menu entries.
==Esempio==
# The tools available in the selected category are shown in the panel on the right.
Come esempio del flusso di lavoro, supponiamo di voler avere la funzione "Misura Lineare" mostrata anche in una barra degli strumenti personalizzata nell'ambiente [[Draft Workbench/it|Draft]].
# Hover a command: its tooltip appears.
* dal menu principale di FreeCAD scegliere {{MenuCommand|Strumenti → Personalizza}}
# Select a command: its status bar text is displayed below the two panels.
* selezionare la tabella "Barre degli strumenti"
* sul lato sinistro scegliere "Part" nel menu a discesa
* sul lato sinistro della finestra scorrere in basso fino alla voce "Misura Lineare" e selezionarla
* sul lato destro scegliere "Draft" nel menu a discesa
* cliccare su {{button|Nuova...}} per creare una nuova barra degli strumenti e definire il suo nome
* ora selezionare la barra degli strumenti di destinazione nella finestra in basso a destra (è necessario solo se si dispone di più di una barra degli strumenti)
* cliccando sulla "Freccia destra" di colore blu (l'icona in alto nella fila centrale) si aggiunge la voce selezionata alla barra degli strumenti selezionata


[[#top|top]]
===Osservazioni:===
* quando si seleziona "Global" nel menu a tendina sulla parte di destra si crea una barra degli strumenti che sarà visibile in tutti gli ambienti


===Keyboard===
<div class="mw-translate-fuzzy">
Per aggiungere ad una barra degli strumenti una macro installata è necessario
* selezionare "Macro" nel menu a discesa sul lato sinistro
* aver assegnato il testo del menu, l'icona (Pixmap) e così via utilizzando il menu {{MenuCommand|Strumenti -> Macro -> Personalizza}}
</div>


[[Image:Std_DlgCustomize_tab_Keyboard.png]]
{{Caption|The Keyboard tab}}


On this tab custom keyboard shortcuts can be defined. Shortcuts for macro commands can be defined on the [[#Macros|Macros]] tab.
{{Docnav/it|[[Preferences Editor/it|Impostare le preferenze]]|[[Property editor/it|Editore delle proprietà]]}}

====Add a custom shortcut====

# Select a command category from the '''Category''' dropdown list.
# Select a command from the '''Commands''' panel.
# The '''Current shortcut''' box displays the current short cut, if available.
# Enter a new shortcut in the '''Press new shortcut''' input box. Shortcuts can be up to 4 inputs long. Each input is either a single character, a combination of one or more special keys or a combination of one or more special keys and a character. Use {{KEY|Backspace}} to correct mistakes.
# If the shortcut is already in use, a dialog box will ask you if you want to override it, and the command the shortcut is assigned to will appear in the '''Currently assigned to''' panel.
# Press the {{Button|Assign}} button to assign the new shortcut.
# Press the {{Button|Clear}} button to remove the entered shortcut. This will also remove the content of the '''Current shortcut''' box. Note that default shortcuts are not permanently removed. They will be restored upon restarting FreeCAD.

====Remove a custom shortcut====

# Select a command category from the '''Category''' dropdown list.
# Select a command from the '''Commands''' panel.
# Press the {{Button|Reset}} button.

====Remove all custom shortcuts====

# Press the {{Button|Reset All}} button.

====Notes (Keyboard)====

* Shortcuts only work if their commands appear in the standard menu or in the menu of a workbench that has been loaded in the current FreeCAD session, or if their commands appear on a ''visible'' toolbar.
<!--Description of problem below: https://forum.freecadweb.org/viewtopic.php?f=23&t=45826-->
* In V0.19 there is an issue with some Draft commands. Their default shortcuts do not work and/or custom shortcuts cannot be assigned to them.

[[#top|top]]

===Workbenches===

[[Image:Std_DlgCustomize_tab_Workbenches.png]]
{{Caption|The Workbenches tab}}

On this tab the [[Std_Workbench|Workbench selector]] list can be changed. The '''Enabled workbenches''' list shows the workbenches as they will appear in the Workbench selector.

====Disable a workbench====

# Select a workbench in the '''Enabled workbenches''' list.
# Press the {{Button|[[Image:Button_left.svg|16px]]}} button.
# The workbench will be moved to the '''Disabled workbenches''' list

====Re-enable a workbench====

# Select a workbench in the '''Disabled workbenches''' list.
# Press the {{Button|[[Image:Button_right.svg|16px]]}} button.
# The workbench will be moved to the '''Enabled workbenches''' list

====Re-enable all workbenches====

# Press the {{Button|[[Image:Button_add_all.svg|16px]]}} button.

====Change a workbench position====

# Select a workbench in the '''Enabled workbenches''' list.
# Press the {{Button|[[Image:Button_up.svg|16px]]}} button or the {{Button|[[Image:Button_down.svg|16px]]}} button.
# Optionally repeat this until the workbench is in the correct position.

====Sort workbenches alphabetically====

# Press the {{Button|[[Image:Button_sort.svg|16px]]}} button.

[[#top|top]]

===Toolbars===

[[Image:Std_DlgCustomize_tab_Toolbars.png]]
{{Caption|The Toolbars tab}}

On this tab custom toolbars can be created and modified.

====Select the workbench====

# In the dropdown list on the right select the workbench whose custom toolbars you want to modify. The {{Value|Global}} option is there for custom toolbars that should be available in all workbenches.

====Create a toolbar====

# Press the {{Button|New...}} button.
# Enter a name in the dialog box that opens.
# Press the {{Button|OK}} button.
# The new toolbar will appear in the panel on the right.

====Rename a toolbar====

# Select a toolbar in the panel on the right.
# Press the {{Button|Rename...}} button.
# Enter a new name in the dialog box that opens.
# Press the {{Button|OK}} button.

====Delete a toolbar====

# Select a toolbar in the panel on the right.
# Press the {{Button|Delete}} button.

====Disable a toolbar====

# Uncheck the checkbox in front of the toolbar name in the panel on the right.
# A disabled toolbar will be invisible in the FreeCAD interface.

====Add a command====

# Select the correct toolbar in the panel on the right. If no toolbar is selected, the command will be added to the first toolbar in the list.
# Select a category from the dropdown list on the left. Macro commands that have been set up on the [[#Macros|Macros]] tab appear in the 'Macros' category.
# Select a command from the panel on the left.
# Or select '<Separator>' to add a separator (a line between two toolbar buttons).
# Press {{Button|[[Image:Button_right.svg|16px]]}} button.

====Remove a command====

# If required, expand the toolbar in the panel on the right.
# Select a command.
# Press {{Button|[[Image:Button_left.svg|16px]]}} button.

====Change a command position====

# If required, expand the toolbar in the panel on the right.
# Select a command.
# Press the {{Button|[[Image:Button_up.svg|16px]]}} button or the {{Button|[[Image:Button_down.svg|16px]]}} button.
# Optionally repeat this until the command is in the correct position.

====Notes (Toolbars)====

* Toolbars belonging to the current workbench are updated immediately, but after disabling/re-enabling a toolbar a workbench change is required (switch to a different workbench and then switch back).
* To update global toolbars a workbench change (if commands have been added or removed) or a restart (if the order of a toolbar has changed or a toolbar was renamed) is required.
<!--Description of problem below: https://forum.freecadweb.org/viewtopic.php?f=23&t=45757-->
* In V0.19 there is an issue with some Draft commands. After adding them to a custom toolbar and exiting the FreeCAD application the {{FileName|user.cfg}} file must be manually edited for these commands. Search for the name of the custom toolbar and in that section change the content of the {{incode|FCText}} items that start with {{incode|gui_}} to {{incode|DraftTools}}.

[[#top|top]]

===Macros===

[[Image:Std_DlgCustomize_tab_Macros.png]]
{{Caption|The Macros tab}}

On this tab user macro commands can be set up. Once set up, they can be added to custom toolbars. FreeCAD uses a dedicated folder for user macros and only macros in that folder can be set up. Use the [[Image:Std_DlgMacroExecute.svg|16px]] [[Std_DlgMacroExecute|Std DlgMacroExecute]] command to find this folder on your system.

If you download a macro with the [[Image:Std_AddonMgr.svg|16px]] [[Std_AddonMgr|Addon Manager]] then make sure that you also download its icon image file. Most macros have an image link on the information page that appears in the Addon Manager. You can for example put this image file in the user macros folder.

====Add a macro command====

# In the '''Macro''' dropdown list select a macro.
# Enter a '''Menu text'''. This will be the name used to identify the macro command and will also appear in the toolbar if there is no icon.
# Optionally enter a '''Tool tip'''. This text will appear near the location of the mouse when you hover the toolbar icon.
# Optionally enter a '''Status text'''. This text will appear in the [[Status_bar|status bar]] when you hover the toolbar icon.
# Optionally enter the wiki page for the macro, if available, in the '''What's this''' input box. Enter the page name, not the full URL.
# Optionally enter a shortcut in the '''Accelerator''' input box. See [[#Keyboard|Keyboard]] for more information.
# To add an icon:
## Press the '''Pixmap''' {{Button|...}} button.
## The Choose Icon dialog box opens.
## If required press the {{Button|Icon folders...}} button to add an icon folder.
## Select an icon from the panel. The Choose Icon dialog box closes automatically.
# Press the {{Button|Add}} button.
# The macro command appears in the panel on the left.
# The macro command can now be selected on the [[#Toolbars|Toolbars]] tab.

====Remove a macro command====

# Select the macro command in the panel on the left.
# Press the {{Button|Remove}} button.

====Change a macro command====

# Double-click the macro command in the panel on the left.
# Make the required changes. Note that you cannot remove the icon, you can only replace it.
# Press the {{Button|Replace}} button.

[[#top|top]]

===Spaceball Motion===

This is tab is blank if no Spaceball is detected. See: [[3Dconnexion_input_devices|3Dconnexion input devices]].

[[#top|top]]

===Spaceball Buttons===

This is tab is blank if no Spaceball is detected. See: [[3Dconnexion_input_devices|3Dconnexion input devices]].

[[#top|top]]

==Addons==

Addons offer yet another way to customize the use interface. Below are some addons created by users in the FreeCAD community. They can be downloaded through the [[Image:Std_AddonMgr.svg|16px]] [[Std_AddonMgr|Addon Manager]] (note: they are listed on the Workbenches tab).

===CubeMenu===

* Github repository: https://github.com/triplus/CubeMenu

===Glass===

* Github repository: https://github.com/triplus/Glass.

===IconThemes===

* Github repository: https://github.com/triplus/IconThemes

===Launcher===

* Github repository: https://github.com/triplus/Launcher

===PieMenu===

* Github repository: https://github.com/triplus/PieMenu

===RemBench===

* Github repository: https://github.com/triplus/RemBench

===ShortCut===

* Github repository: https://github.com/triplus/ShortCuts

[[#top|top]]

<div class="mw-translate-fuzzy">
{{Docnav/it|[[Import Export Preference/it|Preferenze di Importa/Esporta]]|[[Property editor/it|Editore delle proprietà]]}}
</div>


{{Std Base navi{{#translation:}}}}
[[Category:User Documentation/it]]
{{Interface navi{{#translation:}}}}
{{Userdocnavi{{#translation:}}}}

Revision as of 18:52, 5 May 2020

Introduction

Dato che l'interfaccia di FreeCAD è basata sul moderno toolkit Qt, essa dispone di una organizzazione ottimale. Si possono modificare, spostare, condividere tra i vari ambienti di lavoro widget, menu, barre e altri strumenti. Si possono creare e modificare le scorciatoie da tastiera. Si possono registrare e riprodurre le macro.

La finestra di personalizzazione è accessibile dal menu Strumenti → Template:KEY/it Personalizza':

Usage

  1. The commands available in the Customize dialog box depend on the workbenches that have been loaded in the current FreeCAD session. So you should first load all workbenches whose commands you want to have access to.
  2. There are several ways to invoke the Std DlgCustomize command:
    • Select the Tools → Customize... option from the menu.
    • Right-click a toolbar area and choose Customize... from the context menu.
  3. The Customize dialog box opens. For more information see Options.
  4. The Help button does not work at this time.
  5. Press the Close button to close the dialog box.

Options

In the Customize dialog box the following tabs are available:

Commands

File:Std DlgCustomize tab Commands.png

The Commands tab

On this tab you can browse the available commands.

Browse commands

  1. Select a command category in the Category panel on the left. Some categories match menu entries.
  2. The tools available in the selected category are shown in the panel on the right.
  3. Hover a command: its tooltip appears.
  4. Select a command: its status bar text is displayed below the two panels.

top

Keyboard

The Keyboard tab

On this tab custom keyboard shortcuts can be defined. Shortcuts for macro commands can be defined on the Macros tab.

Add a custom shortcut

  1. Select a command category from the Category dropdown list.
  2. Select a command from the Commands panel.
  3. The Current shortcut box displays the current short cut, if available.
  4. Enter a new shortcut in the Press new shortcut input box. Shortcuts can be up to 4 inputs long. Each input is either a single character, a combination of one or more special keys or a combination of one or more special keys and a character. Use Backspace to correct mistakes.
  5. If the shortcut is already in use, a dialog box will ask you if you want to override it, and the command the shortcut is assigned to will appear in the Currently assigned to panel.
  6. Press the Assign button to assign the new shortcut.
  7. Press the Clear button to remove the entered shortcut. This will also remove the content of the Current shortcut box. Note that default shortcuts are not permanently removed. They will be restored upon restarting FreeCAD.

Remove a custom shortcut

  1. Select a command category from the Category dropdown list.
  2. Select a command from the Commands panel.
  3. Press the Reset button.

Remove all custom shortcuts

  1. Press the Reset All button.

Notes (Keyboard)

  • Shortcuts only work if their commands appear in the standard menu or in the menu of a workbench that has been loaded in the current FreeCAD session, or if their commands appear on a visible toolbar.
  • In V0.19 there is an issue with some Draft commands. Their default shortcuts do not work and/or custom shortcuts cannot be assigned to them.

top

Workbenches

File:Std DlgCustomize tab Workbenches.png

The Workbenches tab

On this tab the Workbench selector list can be changed. The Enabled workbenches list shows the workbenches as they will appear in the Workbench selector.

Disable a workbench

  1. Select a workbench in the Enabled workbenches list.
  2. Press the button.
  3. The workbench will be moved to the Disabled workbenches list

Re-enable a workbench

  1. Select a workbench in the Disabled workbenches list.
  2. Press the button.
  3. The workbench will be moved to the Enabled workbenches list

Re-enable all workbenches

  1. Press the button.

Change a workbench position

  1. Select a workbench in the Enabled workbenches list.
  2. Press the button or the button.
  3. Optionally repeat this until the workbench is in the correct position.

Sort workbenches alphabetically

  1. Press the button.

top

Toolbars

The Toolbars tab

On this tab custom toolbars can be created and modified.

Select the workbench

  1. In the dropdown list on the right select the workbench whose custom toolbars you want to modify. The Global option is there for custom toolbars that should be available in all workbenches.

Create a toolbar

  1. Press the New... button.
  2. Enter a name in the dialog box that opens.
  3. Press the OK button.
  4. The new toolbar will appear in the panel on the right.

Rename a toolbar

  1. Select a toolbar in the panel on the right.
  2. Press the Rename... button.
  3. Enter a new name in the dialog box that opens.
  4. Press the OK button.

Delete a toolbar

  1. Select a toolbar in the panel on the right.
  2. Press the Delete button.

Disable a toolbar

  1. Uncheck the checkbox in front of the toolbar name in the panel on the right.
  2. A disabled toolbar will be invisible in the FreeCAD interface.

Add a command

  1. Select the correct toolbar in the panel on the right. If no toolbar is selected, the command will be added to the first toolbar in the list.
  2. Select a category from the dropdown list on the left. Macro commands that have been set up on the Macros tab appear in the 'Macros' category.
  3. Select a command from the panel on the left.
  4. Or select '<Separator>' to add a separator (a line between two toolbar buttons).
  5. Press button.

Remove a command

  1. If required, expand the toolbar in the panel on the right.
  2. Select a command.
  3. Press button.

Change a command position

  1. If required, expand the toolbar in the panel on the right.
  2. Select a command.
  3. Press the button or the button.
  4. Optionally repeat this until the command is in the correct position.

Notes (Toolbars)

  • Toolbars belonging to the current workbench are updated immediately, but after disabling/re-enabling a toolbar a workbench change is required (switch to a different workbench and then switch back).
  • To update global toolbars a workbench change (if commands have been added or removed) or a restart (if the order of a toolbar has changed or a toolbar was renamed) is required.
  • In V0.19 there is an issue with some Draft commands. After adding them to a custom toolbar and exiting the FreeCAD application the user.cfg file must be manually edited for these commands. Search for the name of the custom toolbar and in that section change the content of the FCText items that start with gui_ to DraftTools.

top

Macros

The Macros tab

On this tab user macro commands can be set up. Once set up, they can be added to custom toolbars. FreeCAD uses a dedicated folder for user macros and only macros in that folder can be set up. Use the Std DlgMacroExecute command to find this folder on your system.

If you download a macro with the Addon Manager then make sure that you also download its icon image file. Most macros have an image link on the information page that appears in the Addon Manager. You can for example put this image file in the user macros folder.

Add a macro command

  1. In the Macro dropdown list select a macro.
  2. Enter a Menu text. This will be the name used to identify the macro command and will also appear in the toolbar if there is no icon.
  3. Optionally enter a Tool tip. This text will appear near the location of the mouse when you hover the toolbar icon.
  4. Optionally enter a Status text. This text will appear in the status bar when you hover the toolbar icon.
  5. Optionally enter the wiki page for the macro, if available, in the What's this input box. Enter the page name, not the full URL.
  6. Optionally enter a shortcut in the Accelerator input box. See Keyboard for more information.
  7. To add an icon:
    1. Press the Pixmap ... button.
    2. The Choose Icon dialog box opens.
    3. If required press the Icon folders... button to add an icon folder.
    4. Select an icon from the panel. The Choose Icon dialog box closes automatically.
  8. Press the Add button.
  9. The macro command appears in the panel on the left.
  10. The macro command can now be selected on the Toolbars tab.

Remove a macro command

  1. Select the macro command in the panel on the left.
  2. Press the Remove button.

Change a macro command

  1. Double-click the macro command in the panel on the left.
  2. Make the required changes. Note that you cannot remove the icon, you can only replace it.
  3. Press the Replace button.

top

Spaceball Motion

This is tab is blank if no Spaceball is detected. See: 3Dconnexion input devices.

top

Spaceball Buttons

This is tab is blank if no Spaceball is detected. See: 3Dconnexion input devices.

top

Addons

Addons offer yet another way to customize the use interface. Below are some addons created by users in the FreeCAD community. They can be downloaded through the Addon Manager (note: they are listed on the Workbenches tab).

CubeMenu

Glass

IconThemes

Launcher

PieMenu

RemBench

ShortCut

top