Interface Customization/zh-cn: Difference between revisions

From FreeCAD Documentation
(Updating to match new version of source page)
(Updating to match new version of source page)
(21 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<languages/>
<languages/>
{{UnfinishedDocu{{#translation:}}}}
Since FreeCAD interface is based on the modern [http://en.wikipedia.org/wiki/Qt_(toolkit) Qt] toolkit, it has a state-of-the-art organization. Widgets, menus, toolbars and other tools can be modified, moved, shared between workbenches, keyboard shortcuts can be set, modified, and macros can be recorded and played. The customization window is accessed from the {{MenuCommand|Tools → Customize}} menu:
{{Docnav
|[[Import Export Preference|Import Export Preference]]
|[[Property editor|Property editor]]
}}

==Introduction==

<div class="mw-translate-fuzzy">
由于FreeCAD界面是基于现代的[http://en.wikipedia.org/wiki/Qt_(toolkit) Qt]工具包制作,因此它具有最先进的组织架构。widget部件、菜单、工具栏与其他工具都可修改、移动、在工具台之间共享,还可设置、修改快捷键,并记录和执行宏(macro)。通过{{MenuCommand|Tools → Customize}}菜单即可进行窗口的定制:
</div>
{{TOCright}}


[[Image:Screenshot-customize.jpg]]
[[Image:Screenshot-customize.jpg]]


==Customization tabs==
{{Caption|The Interface Customization dialog}}
The '''Commands''' tab lets you browse all available FreeCAD commands, organized by their category.
==Usage==


The customization window is accessed from the {{MenuCommand|{{StdMenu|[[Std Tools Menu|Tools]]}} → Customize}} menu.
In '''Keyboard''', you can see the keyboard shortcuts associated with every FreeCAD command, and if you want, modify or assign new shortcut to any command. This is where to come if you use a particular workbench often, and would like to speed up its use by using the keyboard.


==定制选项卡==
The '''Toolbars''' and '''Toolbox bars''' tabs let you modify existing toolbars, or create your own custom toolbars.
'''Commands'''选项卡可令您浏览FreeCAD中可用的所有命令,这些命令根据其分类进行组织。


在'''Keyboard'''选项卡中,您能看到每个FreeCAD命令的对应快捷键,如有需要,可以修改任意命令的快捷键或为之赋予新的快捷键。如果您经常使用某种特定的工作台,且需要用键盘提高工作效率,此选项卡就派上了用场。
The '''Macros''' tab lets you manage your saved [[Macros]].


利用'''Toolbars'''与'''Toolbox bars'''选项卡即可令您修改存在的工具栏,或创建您自己的自定义工具栏。
Create your Toolbars for your macro [[Customize_Toolbars|Customize Toolbars]]


Under the tab '''Worksbenches''' ('''Workbenches''') the workbenches existing in FreeCAD are listed, on the left the currently passive, on the right the currently active workspaces. The status can be changed with the horizontal arrows.
Since FreeCAD 0.16 a new tool is available that lets you manage your workbenches.

[[Image:UserdefSymbstrip.jpg]]

Under the tab '''Toolbars''' ('''Toolbars''') on the left are the same command categories as under the map '''Commands'''. After clicking on a category the corresponding commands appear, which can be copied to the right side. Before you do this, select an active workspace to which you want to add an individual toolbar. First select a name for this toolbar with '''New''' ('''New...''') before copying commands over to it. When this workspace is called later, this bar must be activated: '''View → Toolbars'''.

Remark: If "Global" (instead of a workspace) is selected on the right, the added toolbar can be activated in each workspace.


<div class="mw-translate-fuzzy">
借助'''Macros'''选项卡来管理您自己所保存的[[Macros|宏]]。
</div>

利用您自己的宏来创建一个工具栏 [[Customize_Toolbars|自定义工具栏(Customize Toolbars)]]

自0.16版开始,FreeCAD提供了一个新的工具用来使您管理自己的工作台。


[[Image:CustomizeWorkbenches.png]]
[[Image:CustomizeWorkbenches.png]]


<div class="mw-translate-fuzzy">
==Example==
==示例==
For an example workflow lets suppose we want to have the "Measure Linear" tool also show up in a custom toolbar in the [[Draft Workbench]].
这里给出一个有关示例:假设我们希望在[[Draft Workbench]]中显示一个含有"Measure Linear"工具的自定义工具栏。
* in FreeCAD choose {{MenuCommand|Tools → Customize}} from the top menu
* 在FreeCAD中的顶级菜单里选择{{MenuCommand|Tools → Customize}}
* select the "Toolbars" tab
* 选中"Toolbars"选项卡
* on the left side choose "Part" in the pull down menu
* 在左侧的下拉菜单中选择"Part"
* on the left side in the lower window scroll down to the "Measure Linear" entry and select it
* 在左侧下方的窗口内找到"Measure Linear"项,选之
* on the right side choose "Draft" in the pull down menu
* 在右侧下拉菜单中选中"Draft"
* click on {{button|New...}} to create a new toolbar and choose a name for it
* 单击{{button|New...}}来创建新的工具栏并为之填写名称
* now select your destination toolbar in the right lower window (only needed if you have more than one toolbar)
* 在右侧下方窗口里选中待更新的目标工具栏(如果此窗口中有多个工具栏才需选中)
* by clicking on the blue "Arrow right" (top icon in the middle row) you will add your selected entry to the selected toolbar
* 通过点击蓝色的指向右侧的箭头(中间列最上侧的那个箭头)您将为(右侧)选中的工具栏添加(左侧)选中的工具项
</div>

===备注===
在右侧下拉菜单中选择"Global",您将创建一个在所有工作台中都可见的工具栏。

当要将一个安装好的宏加入一个工具栏中时,您必须:
* 在右侧下拉菜单中选择"Macros"
* 利用{{MenuCommand|Tools → Customize → Macros}}菜单为要加入工具栏的宏创建对应的菜单文本、图标(像素图(Pixmap))等

== Addons ==
{{Page in progress}}

There are other ways to customize the FreeCAD interface using its robust modular Addon repository through the [[Image:AddonManager.svg|24px]] [[Addon Manager]]. There are several Addons that allow for improved UI/UX. Below are some options created by users in the FreeCAD community.

=== Glass ===

https://www.youtube.com/watch?v=ny31diN1ZhM

* Github repository: ([https://github.com/triplus/Glass link])
* Forum discussion: ([https://forum.freecadweb.org/viewtopic.php?t=32397 thread])
=== PieMenu ===

* Github repository:
=== Launcher ===

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

=== ShortCut ===

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

=== RemBench ===

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

=== IconThemes ===


* Github repository: https://github.com/triplus/IconThemes
===Remarks===
When selecting "Global" in the pull down menu on the right side you will create a toolbar which will be visible in all workbenches.


=== CubeMenu ===
For adding an installed macro to a toolbar you must
* select "Macros" in the pull down menu on the left side
* have assigned menu text, icon (Pixmap) and so on using the {{MenuCommand|Tools → Customize → Macros}} menu


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


{{Docnav
{{docnav|Preferences Editor|Property editor}}
|[[Import Export Preference|Import Export Preference]]
|[[Property editor|Property editor]]
}}


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

Revision as of 22:29, 21 February 2020

This documentation is not finished. Please help and contribute documentation.

GuiCommand model explains how commands should be documented. Browse Category:UnfinishedDocu to see more incomplete pages like this one. See Category:Command Reference for all commands.

See WikiPages to learn about editing the wiki pages, and go to Help FreeCAD to learn about other ways in which you can contribute.

Introduction

由于FreeCAD界面是基于现代的Qt工具包制作,因此它具有最先进的组织架构。widget部件、菜单、工具栏与其他工具都可修改、移动、在工具台之间共享,还可设置、修改快捷键,并记录和执行宏(macro)。通过Tools → Customize菜单即可进行窗口的定制:

The Interface Customization dialog

Usage

The customization window is accessed from the Tools → Customize menu.

定制选项卡

Commands选项卡可令您浏览FreeCAD中可用的所有命令,这些命令根据其分类进行组织。

Keyboard选项卡中,您能看到每个FreeCAD命令的对应快捷键,如有需要,可以修改任意命令的快捷键或为之赋予新的快捷键。如果您经常使用某种特定的工作台,且需要用键盘提高工作效率,此选项卡就派上了用场。

利用ToolbarsToolbox bars选项卡即可令您修改存在的工具栏,或创建您自己的自定义工具栏。

Under the tab Worksbenches (Workbenches) the workbenches existing in FreeCAD are listed, on the left the currently passive, on the right the currently active workspaces. The status can be changed with the horizontal arrows.

File:UserdefSymbstrip.jpg

Under the tab Toolbars (Toolbars) on the left are the same command categories as under the map Commands. After clicking on a category the corresponding commands appear, which can be copied to the right side. Before you do this, select an active workspace to which you want to add an individual toolbar. First select a name for this toolbar with New (New...) before copying commands over to it. When this workspace is called later, this bar must be activated: View → Toolbars.

Remark: If "Global" (instead of a workspace) is selected on the right, the added toolbar can be activated in each workspace.


借助Macros选项卡来管理您自己所保存的

利用您自己的宏来创建一个工具栏 自定义工具栏(Customize Toolbars)

自0.16版开始,FreeCAD提供了一个新的工具用来使您管理自己的工作台。

示例

这里给出一个有关示例:假设我们希望在Draft Workbench中显示一个含有"Measure Linear"工具的自定义工具栏。

  • 在FreeCAD中的顶级菜单里选择Tools → Customize
  • 选中"Toolbars"选项卡
  • 在左侧的下拉菜单中选择"Part"
  • 在左侧下方的窗口内找到"Measure Linear"项,选之
  • 在右侧下拉菜单中选中"Draft"
  • 单击New...来创建新的工具栏并为之填写名称
  • 在右侧下方窗口里选中待更新的目标工具栏(如果此窗口中有多个工具栏才需选中)
  • 通过点击蓝色的指向右侧的箭头(中间列最上侧的那个箭头)您将为(右侧)选中的工具栏添加(左侧)选中的工具项

备注

在右侧下拉菜单中选择"Global",您将创建一个在所有工作台中都可见的工具栏。

当要将一个安装好的宏加入一个工具栏中时,您必须:

  • 在右侧下拉菜单中选择"Macros"
  • 利用Tools → Customize → Macros菜单为要加入工具栏的宏创建对应的菜单文本、图标(像素图(Pixmap))等

Addons

This documentation is a work in progress. Please don't mark it as translatable since it will change in the next hours and days.

There are other ways to customize the FreeCAD interface using its robust modular Addon repository through the Addon Manager. There are several Addons that allow for improved UI/UX. Below are some options created by users in the FreeCAD community.

Glass

https://www.youtube.com/watch?v=ny31diN1ZhM

  • Github repository: (link)
  • Forum discussion: (thread)

PieMenu

  • Github repository:

Launcher

ShortCut

RemBench

IconThemes

CubeMenu

Template:Interface/zh-cn