Personalizzare la barra degli strumenti
Argomento |
---|
{{{Topic}}} |
Livello di difficoltà |
Principiante |
Tempo di esecuzione |
5 minuti |
Autori |
Mario52 |
Versione di FreeCAD |
Tutte |
Files di esempio |
Nessuno |
Vedere anche |
Nessuno |
Sinossi
Questo tutorial spiega come creare un pulsante nella barra degli strumenti per avviare velocemente una macro o per associare altri collegamenti a una icona personalizzata.
Uso
1 : Selezionare Menu → Strumenti → Personalizza
![Customize](/images/thumb/f/f7/CustomizeToolBar_01.png/640px-CustomizeToolBar_01.png)
o posizionare il puntatore sulla barra degli strumenti e poi fare clic con il pulsante destro del mouse
![Click the right mouse button](/images/thumb/5/50/CustomizeToolBar_02.png/640px-CustomizeToolBar_02.png)
appare la finestra Personalizza
![The window Customize appears](/images/c/c8/CustomizeToolBar_03.png)
2 : selezionare la tabella Macro
3 : per selezionare un'icona della barra degli strumenti per la macro cliccare sul pulsante Pixmap ...
![Select an toolbar](/images/6/65/CustomizeToolBar_04.png)
4 : cercare l'icona tra quelle già presenti in FreeCAD, se non si trova qui fare clic sul pulsante Aggiungi icone... per aggiungerne altre alla libreria
5 : if your icon is not here then click the Add icons... button for adding one or more icons in your library (collapse to see)
6 : selezionare l'icona desiderata poi cliccare sul pulsante OK
![Select your icon](/images/7/7b/CustomizeToolBar_07.png)
7 : the icon you selected is now displayed next to the Pixmap button labelled ...
![Your icon is displayed](/images/6/6f/CustomizeToolBar_08.png)
8 : Choose your macro and specify a Menu text (which will appear as the text label in the menu); also fill in the Tool Tip (which is the text that will appear when a mouse is over the button on the toolbar); there are other optional fields for your Button
9 : Click the button Add
![Click the button](/images/d/d2/CustomizeToolBar_09.png)
10 : your button is created
![Your button is created](/images/3/30/CustomizeToolBar_10.png)
11 : create a Toolbar for the button
12 : click the tab Toolbars and your workbench (here Part)
![Tab Toolbabs](/images/3/32/CustomizeToolBar_11.png)
13 : in left window select the Tab Macros and "Macros"
![Tab Macros > Macros](/images/6/69/CustomizeToolBar_12.png)
14 : now your macro and it's icon appears
![Your icon appears](/images/b/b8/CustomizeToolBar_13.png)
15 : Click the button New... (you can choose your ToolBar here the ToolBar is attached to the Part Workbench)
![Click the button New](/images/6/64/CustomizeToolBar_14.png)
16 : in the window "New Toolbar" enter the name for your ToolBar and click OK
![Enter the name for your Toolbar](/images/6/6c/CustomizeToolBar_15.png)
17 : your ToolBar has now been created - make sure you check the checkbox so the toolbar will actually appear
18 : select your macro with it's icon in the left window and then click the Button with the right pointing arrow
![Select your macro](/images/7/78/CustomizeToolBar_16.png)
19 : you have now created a toolbar called "Camera"
20 : click the Close button
![Close](/images/4/41/CustomizeToolBar_17.png)
21 : your new ToolBar with it's button is now both displayed above the active window as well as the right-click menu from the toolbars
![New Toolbar](/images/thumb/a/af/CustomizeToolBar_18.png/640px-CustomizeToolBar_18.png)
22 : enjoy !