Personnaliser la barre d'outils
Thème |
---|
SampleTopic |
Niveau |
Débutant |
Temps d'exécution estimé |
5 minutes |
Auteurs |
Mario52 |
Version de FreeCAD |
Toutes |
Fichiers exemples |
None |
Voir aussi |
None |
Sommaire
Ce tutoriel vous vous montre la personnalisation de la barre d'outils. Les outils (incluant les outils-Macro) peuvent être utilisés dans différents ateliers. Dans un exemple une Macro devient un "texte de Menu", " un "nom d'outil" et une "icône". Ensuite l'outil-Macro devient un élément supplémentaire de la barre d'outil dans l'atelier.
Utilisation
1. Trouver le Menu Personnaliser
1 : Cliquez sur Template:MenuCommand/fr,
![Personnaliser](/images/thumb/f/f7/CustomizeToolBar_01.png/640px-CustomizeToolBar_01.png)
ou faites un clic droit sur n'importe quelle barre d'outils
- la fenêtre "Personnaliser" s'affiche
- Transformer une Macro en Macro-Outil
2 Sélectionnez l'onglet "Macro"
3 : cliquez sur le bouton ... pour ajouter un icône pour votre macro
4 : Cherchez une icône appropriée parmi les icônes FreeCAD existantes,
[or add your own icon by clicking Add icons...]. (expand for an example)
- Select your icon and click OK.
![Sélectionnez votre icône](/images/7/7b/CustomizeToolBar_07.png)
- The icon you selected is now displayed next to the Pixmap button labelled ....
![Votre icône est affiché](/images/6/6f/CustomizeToolBar_08.png)
- Select the provided macro in line 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); further lines are optional.
- Click the button Add.
![Cliquez sur le bouton](/images/d/d2/CustomizeToolBar_09.png)
- The button of the macro-tool is now created.
![Votre bouton est créé](/images/3/30/CustomizeToolBar_10.png)
3. Create a toolbar outside the workbench Macro which contains the created Macro-tool
- Select the Toolbars tab and choose the workbench (for which the toolbar is provided) in the drop down on the right (Part in this example).
[Since version 0.15 there is a Global toolbar. If this is selected, the provided toolbar will be in each workbench.]
![Onglet Barre d'outils](/images/3/32/CustomizeToolBar_11.png)
- In the dropdown on the left select Macros.
![Onglet Macros > Macros](/images/6/69/CustomizeToolBar_12.png)
- The macro-tool with its icon appears in the list.
![Votre icône apparait](/images/b/b8/CustomizeToolBar_13.png)
- Click the button New...
![Cliquez le bouton Nouveau](/images/6/64/CustomizeToolBar_14.png)
- In the window "New Toolbar" enter the name of the provided extra toolbar for the Part Workbench and click OK
![Entrez le nom de la nouvelle barre d'outils](/images/6/6c/CustomizeToolBar_15.png)
- The toolbar is now created.
- To add the creadet macro-tool to this toolbar, select it in the left window and then click the Button with the arrow pointing right.
![Sélectionnez votre macro](/images/7/78/CustomizeToolBar_16.png)
- You have created now a toolbar called "Camera" (with the Macro-tool Camera in it)
- Click the Close button.
![Fermer](/images/4/41/CustomizeToolBar_17.png)
- Your new toolbar is now contained in the toolbars' right-click menu. Its Icons (in our example only the camera) are visible, if the toolbar is activated (blue checkmark).
![Nouvelle barre d'outils](/images/thumb/a/af/CustomizeToolBar_18.png/640px-CustomizeToolBar_18.png)