Personnaliser la barre d'outils
Thème |
---|
{{{Topic}}} |
Niveau |
Beginner |
Temps d'exécution estimé |
5 minutes |
Auteurs |
Mario52 |
Version de FreeCAD |
All |
Fichiers exemples |
None |
Voir aussi |
None |
Synopsis
Ce tutoriel vous guide pas à pas sur la façon de créer une barre d'outils et d'y ajouter un ou plusieurs boutons qui vous relient directement à vos macros favorites ou à d'autres liens associés avec une icône personnalisée ou non.
Utilisation
1 : Cliquez sur Menu → Outils → Personnaliser
![Personnaliser](/images/thumb/f/f7/CustomizeToolBar_01.png/640px-CustomizeToolBar_01.png)
ou positionnez votre souris sur un endroit libre de la barre d'outils et cliquez sur le bouton droit de la souris
![Cliquez sur le bouton droit de la souris](/images/thumb/5/50/CustomizeToolBar_02.png/640px-CustomizeToolBar_02.png)
la fenêtre "Personnaliser" s'affiche
![La fenêtre "Personnaliser" s'affiche](/images/c/c8/CustomizeToolBar_03.png)
2 : sélectionnez l'onglet Macro
3 : cliquez sur le bouton ... pour sélectionner un icône pour votre macro
![Sélectionner un icône](/images/6/65/CustomizeToolBar_04.png)
4 : cherchez et sélectionnez dans la liste un icône pour votre macro,
5 : si votre icône n'est pas listé, cliquez sur le bouton Ajouter... pour ajouter des icônes dans la bibliothèque (déroulez pour voir)
6 : selectionnez votre icône et cliquez le bouton OK pour valider
![Sélectionnez votre icône](/images/7/7b/CustomizeToolBar_07.png)
7 : l'icône sélectionné est maintenant affiché, cliquez sur le bouton ...
![Votre icône est affiché](/images/6/6f/CustomizeToolBar_08.png)
8 : Choisissez votre macro et spécifiez un texte de menu (ce texte apparaîtra comme l'étiquette dans le menu); remplissez également l'info-bulle (qui est le texte qui apparaît lorsque la souris survole le bouton de la barre d'outils); il y a d'autres champs textes facultatifs pour votre bouton
9 : Cliquez sur le bouton Ajouter
![Cliquez sur le bouton](/images/d/d2/CustomizeToolBar_09.png)
10 : votre bouton est maintenant créé
![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 !