2010-07-08 22:03:41 +04:00
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
2017-10-01 14:21:40 +03:00
< html xmlns = "http://www.w3.org/1999/xhtml" lang = "zh-CN" xml:lang = "zh-CN" >
2010-07-08 22:03:41 +04:00
< head >
<!--
*
2017-11-26 13:14:46 +03:00
* Copyright 2008-2017, Haiku. All rights reserved.
2010-07-08 22:03:41 +04:00
* Distributed under the terms of the MIT License.
*
* Authors:
* Humdinger < humdingerb @ gmail . com >
2010-08-02 20:51:09 +04:00
* Translators:
2013-12-15 16:04:28 +04:00
* dill
2018-09-26 08:46:30 +03:00
* Pengphei Han
2010-07-08 22:03:41 +04:00
*
-->
< meta http-equiv = "content-type" content = "text/html; charset=utf-8" / >
< meta http-equiv = "Content-Style-Type" content = "text/css" / >
< meta name = "robots" content = "all" / >
2010-08-02 20:51:09 +04:00
< title > Haiku的图形用户界面< / title >
2017-10-01 14:21:40 +03:00
< meta name = "viewport" content = "width=device-width, initial-scale=1.0" / >
2010-07-08 22:03:41 +04:00
< link rel = "stylesheet" type = "text/css" href = "../Haiku-doc.css" / >
< / head >
< body >
< div id = "banner" >
2018-09-26 08:46:30 +03:00
< div > < span > 用户指南< / span > < / div >
2010-07-08 22:03:41 +04:00
< / div >
< div class = "nav" >
< div class = "inner" >
< ul class = "lang-menu" >
< li class = "now" > < img src = "../images/flags/zh_CN.png" alt = "" / > 中文 [中文]< / li >
2017-06-24 01:19:23 +03:00
< li > < a href = "../ca/gui.html" > < img src = "../images/flags/ca.png" alt = "" / > Català< / a > < / li >
2010-07-08 22:03:41 +04:00
< li > < a href = "../de/gui.html" > < img src = "../images/flags/de.png" alt = "" / > Deutsch< / a > < / li >
2017-06-24 01:19:23 +03:00
< li > < a href = "../en/gui.html" > < img src = "../images/flags/gb.png" alt = "" / > English< / a > < / li >
2010-07-08 22:03:41 +04:00
< li > < a href = "../es/gui.html" > < img src = "../images/flags/es.png" alt = "" / > Español< / a > < / li >
2017-06-24 01:19:23 +03:00
< li > < a href = "../fr/gui.html" > < img src = "../images/flags/fr.png" alt = "" / > Français< / a > < / li >
< li > < a href = "../it/gui.html" > < img src = "../images/flags/it.png" alt = "" / > Italiano< / a > < / li >
2012-11-16 01:36:54 +04:00
< li > < a href = "../hu/gui.html" > < img src = "../images/flags/hu.png" alt = "" / > Magyar< / a > < / li >
2014-05-31 02:02:36 +04:00
< li > < a href = "../pl/gui.html" > < img src = "../images/flags/pl.png" alt = "" / > Polski< / a > < / li >
2017-06-24 01:19:23 +03:00
< li > < a href = "../pt_PT/gui.html" > < img src = "../images/flags/pt_PT.png" alt = "" / > Português< / a > < / li >
< li > < a href = "../pt_BR/gui.html" > < img src = "../images/flags/pt_BR.png" alt = "" / > Português (Brazil)< / a > < / li >
2016-05-06 05:15:13 +03:00
< li > < a href = "../ro/gui.html" > < img src = "../images/flags/ro.png" alt = "" / > Română< / a > < / li >
2017-06-24 01:19:23 +03:00
< li > < a href = "../sk/gui.html" > < img src = "../images/flags/sk.png" alt = "" / > Slovenčina< / a > < / li >
< li > < a href = "../fi/gui.html" > < img src = "../images/flags/fi.png" alt = "" / > Suomi< / a > < / li >
< li > < a href = "../sv_SE/gui.html" > < img src = "../images/flags/sv_SE.png" alt = "" / > Svenska< / a > < / li >
< li > < a href = "../ru/gui.html" > < img src = "../images/flags/ru.png" alt = "" / > Русский< / a > < / li >
< li > < a href = "../uk/gui.html" > < img src = "../images/flags/uk.png" alt = "" / > Українська< / a > < / li >
< li > < a href = "../jp/gui.html" > < img src = "../images/flags/jp.png" alt = "" / > 日本語< / a > < / li >
2010-07-08 22:03:41 +04:00
< / ul >
< span >
2018-09-26 08:46:30 +03:00
« < a href = "filesystem-layout.html" > 文件系统布局< / a >
:: < a href = "contents.html" class = "uplink" > 内容< / a >
:: < a href = "workspaces.html" > Workspaces( 工作区) < / a > »
2010-07-08 22:03:41 +04:00
< / span > < / div >
< / div >
< div id = "content" >
< div >
2018-09-26 08:46:30 +03:00
< div class = "box-info" > 本节的翻译还未完成。在未完成之前,所有的未完成部分都将使用英语原文。< / div >
2012-01-31 14:50:22 +04:00
< table class = "index" id = "index" summary = "index" >
2012-08-18 12:28:04 +04:00
< tr class = "heading" > < td > 索引< / td > < / tr >
2012-01-31 14:50:22 +04:00
< tr class = "index" > < td >
2012-08-18 12:28:04 +04:00
< a href = "#move-resize" > 移动和自定义大小< / a > < br / >
< a href = "#stack-tile" > 重叠和拼贴< / a > < br / >
< a href = "#open-save-panel" > 打开和保存面板< / a > < br / >
2012-01-31 14:50:22 +04:00
< a href = "#replicants" > Replicants< / a > < / td > < / tr >
< / table >
2010-07-08 22:03:41 +04:00
2010-08-02 20:51:09 +04:00
< h1 > Haiku的图形用户界面< / h1 >
2010-07-08 22:03:41 +04:00
2018-10-20 23:28:58 +03:00
< p > Haiku's graphical user interface is an integral part of the system. Unlike other Unix-like operating systems, there is no separate window manager and booting just into a command-line shell is not possible. Haiku's focus being on the desktop user, this is just not considered necessary.< / p >
2012-08-18 12:28:04 +04:00
< p > 鉴于您已经有过使用其他图形环境的经历,那么我们就跳过这些标准,例如,菜单,右键菜单,拖拽操作等; 直接开始了解 Haiku 图形用户界面与其他系统不同的地方。< / p >
2010-07-08 22:03:41 +04:00
< img src = "images/gui-images/gui.png" alt = "gui.png" / >
2010-08-02 20:51:09 +04:00
< p > Haiku的图形界面只有很少一部分不是很常见, 可能需要进行解释。< / p >
2010-07-08 22:03:41 +04:00
< ol >
2010-08-02 20:51:09 +04:00
< li > < p > 桌面栏可以看做是Haiku的"开始"菜单和任务栏(如果您愿意这样认为的话),详情参阅< a href = "deskbar.html" > 桌面栏< / a > 主题。< / p > < / li >
< li > 黄色的标签不仅仅提供了程序名或者文档的文件名:
< ul > < li > 在拖动窗口时,您可以同时按下 < span class = "key" > SHIFT< / span > 键来移动标签,这样您可以将许多窗口进行叠加,而只需要点击标签即可方便的进行访问。< / li >
2010-08-11 21:56:45 +04:00
< li > 双击标签可以最小化窗口(或者使用 < span class = "key" > CTRL< / span > < span class = "key" > ALT< / span > < span class = "key" > M< / span > 组合键)。通过这种方式隐藏的窗口可以通过 < a href = "deskbar.html" > 桌面栏< / a > 或者 < a href = "twitcher.html" > 任务切换器< / a > 进行访问。< / li >
2010-08-02 20:51:09 +04:00
< li > 您可以通过右键点击标签(或者窗口边界)来置后窗口。< / li > < / ul > < / li >
< li > < p > 关闭按钮< / p > < / li >
2018-09-26 08:46:30 +03:00
< li > < p > The "zoom" button (or < span class = "key" > CTRL< / span > < span class = "key" > ALT< / span > < span class = "key" > Z< / span > ). In most applications, this will expand a window to maximum size without obscuring the Deskbar (hold < span class = "key" > SHIFT< / span > to cover the Deskbar as well). It doesn't have to, however. Tracker windows, for example, will resize to best fit the contents.< / p > < / li >
2012-08-18 12:28:04 +04:00
< li > < p > 窗口边界。左键拖拽移动窗口,右键拖拽改变大小。< / p > < / li >
< li > < p > 可调整的窗口边角。< / p > < / li >
2010-07-08 22:03:41 +04:00
< / ol >
2011-06-06 20:08:15 +04:00
< h2 >
< a href = "#" > < img src = "../images/up.png" style = "border:none;float:right" alt = "index" / > < / a >
< a id = "move-resize" name = "move-resize" > 快速移动或调整窗口< / a > < / h2 >
2012-08-18 12:28:04 +04:00
< p > 移动和调整窗口时和多个并发运行程序交互的重要部分。除了通过微小的黄色标签和更窄的窗口边框,还有更为方便的方法可供使用。而且,该边角不仅很小,而且还有另外限制:它仅允许在右下角,并且沿右下角方向使用。< br / > 右键拖动边角将会改变其大小,但是您必须仔细进行操作。< / p >
2013-12-15 16:04:28 +04:00
< p > 为了处理这些问题, Haiku 提供了一个简洁的方案:使用窗口管理组合键 < span class = "key" > CTRL< / span > < span class = "key" > ALT< / span > 和鼠标。更多窗口管理快捷键的信息,请查阅 < a href = "keyboard-shortcuts.html#general" > 快捷键和组合键< / a > 。< / p >
2011-06-06 20:08:15 +04:00
< img src = "images/gui-images/resizing.png" alt = "resizing.png" / >
< p > 按下 < span class = "key" > CTRL< / span > < span class = "key" > ALT< / span > 将会高亮显示最接近鼠标的窗口边界。向另一个边界方向移动将会激活该目标。点击并使用 < i > 鼠标右键< / i > 拖动将会重定义高亮边界的窗口。< / p >
< p > 按下 < span class = "key" > CTRL< / span > < span class = "key" > ALT< / span > 并点击使用 < i > 鼠标左键< / i > 在窗口中拖动将会移动窗口。快速点击 < i > 鼠标右键< / i > 会将其置后。< / p >
2010-07-08 22:03:41 +04:00
2012-01-31 14:50:22 +04:00
< h2 >
< a href = "#" > < img src = "../images/up.png" style = "border:none;float:right" alt = "index" / > < / a >
2012-08-18 12:28:04 +04:00
< a id = "stack-tile" name = "stack-tile" > 重叠与拼贴< / a > < / h2 >
2013-12-15 16:04:28 +04:00
< p > Haiku 的用户界面提供了一个特别的功能,根据其窗口仅拥有一个黄色标签而非窗口全长的标题栏的实际情况,提供了非常精巧的功能,称之为“重叠与拼贴”。< br / >
在下述图示中, 一个具有黄色标签的文件浏览器( Tracker) 窗口拼贴到了WebPositive网络浏览器窗口的左侧, 而其本身则与另一个显示 < tt > haiku< / tt > 源文件夹的窗口相叠加。在这个动画中,用户点击叠加窗口的标签将它们切换到前面。 < / p >
2012-01-31 14:50:22 +04:00
< img src = "images/gui-images/gui-s+t.gif" alt = "gui-s+t.gif" / >
2013-12-15 16:04:28 +04:00
< p > 像上述这样拼贴到一起,一组窗口就可以一起移动或改变大小,这样可以在一个多窗口的项目工作环境中更便捷的进行管理。而不必去不同的窗口中查找文档、编辑器、文件浏览器,甚至相关的电子邮件,你只需将它们叠加拼贴起来就行了。< / p >
2012-08-18 12:28:04 +04:00
< p > 窗口的排布也非常简单:按下 < span class = "key" > OPT< / span > 键,通过标签拖动窗口到另一个窗口的标签或边界,直到其显示为高亮后,然后再释放鼠标按键。< / p >
< p > 重叠和拼贴由两个相关部分组成。< / p >
2012-01-31 14:50:22 +04:00
< table summary = "layout" border = "0" cellspacing = "0" cellpadding = "2" >
< tr > < td > < img src = "images/gui-images/gui-stacking.png" alt = "gui-stacking.png" / > < / td > < td width = "10" > < / td >
2012-08-18 12:28:04 +04:00
< td > < p > "< i > 重叠< / i > " 用于将窗口依次叠放起来,自动将黄色标签移动到指定位置。< br / >
在按下 < span class = "key" > OPT< / span > 键,当标签重叠时,标签颜色发生变化,然后放下窗口以实现重叠。< / p > < / td > < / tr > < / table >
2012-01-31 14:50:22 +04:00
< table summary = "layout" border = "0" cellspacing = "0" cellpadding = "2" vspace = "10" >
< tr > < td > < img src = "images/gui-images/gui-tiling.png" alt = "gui-tilinging.png" / > < / td > < td > < / td >
2013-02-18 00:51:59 +04:00
< td > < p > "< i > 拼贴< / i > " 用于将窗口水平或者竖直的拼贴在一起。< br / >
在按下 < span class = "key" > OPT< / span > 键时,当您将边界颜色改变的窗口拖放相近时,它们将会拼贴到一起。< / p > < / td > < / tr > < / table >
2012-08-18 12:28:04 +04:00
< p > 分离也是同样的方式,通过标签拖动窗口时,按下 < span class = "key" > OPT< / span > 键,将会使其从窗口组中分离。< / p >
2012-01-31 14:50:22 +04:00
2010-07-08 22:03:41 +04:00
< h2 >
< a href = "#" > < img src = "../images/up.png" style = "border:none;float:right" alt = "index" / > < / a >
2010-08-02 20:51:09 +04:00
< a id = "open-save-panel" name = "open-save-panel" > 打开和保存面板< / a > < / h2 >
2010-08-11 21:56:45 +04:00
< p > 从任意的程序打开或保存文件都将会打开类似于如下所示的面板:< / p >
2010-07-08 22:03:41 +04:00
< img src = "images/gui-images/open-save.png" alt = "open-save.png" / >
2010-08-11 21:56:45 +04:00
< p > 它具有所有常用的东西:当前文件夹下可选的文件列表,用于输入文件名的文本框,用于不同文件格式的弹出菜单,以及有关的设置。< br / >
您可以使用文件列表上面的弹出菜单进入上层文件夹。< / p >
2013-12-15 16:04:28 +04:00
< p > 如果您已经有一个打开的文件浏览器( Tracker) 窗口, 您可以将里边的任何文件或文件夹或类似的东西( 例如, 在菜单栏最右边的标志) 拖拽到这个打开与保存面板。之后, 它会修改这个面板指向新的位置。< / p >
2010-07-08 22:03:41 +04:00
< h3 >
< a href = "#" > < img src = "../images/up.png" style = "border:none;float:right" alt = "index" / > < / a >
2010-08-02 20:51:09 +04:00
< a id = "open-save-shortcuts" name = "open-save-shortcuts" > 快捷键< / a > < / h3 >
2010-08-11 21:56:45 +04:00
< p > 在打开和保存面板中的许多快捷键和在Tracker中使用的相同。除了在 < span class = "menu" > File< / span > 菜单中也可用的命令之外,还有些不是很明显的命令:< / p >
2010-07-08 22:03:41 +04:00
< table summary = "shortcuts" border = "0" cellspacing = "0" cellpadding = "2" >
2010-08-11 21:56:45 +04:00
< tr > < td > < span class = "key" > ALT< / span > < span class = "key" > N< / span > < / td > < td > < / td > < td > 新建一个文件夹。< / td > < / tr >
< tr > < td > < span class = "key" > ALT< / span > < span class = "key" > E< / span > < / td > < td > < / td > < td > 重命名选中的文件。< / td > < / tr >
< tr > < td > < span class = "key" > ALT< / span > < span class = "key" > ↑< / span > < / td > < td style = "width:24px;" > < / td > < td > 移动到上层文件夹。< / td > < / tr >
< tr > < td class = "onelinetop" > < span class = "key" > ALT< / span > < span class = "key" > ↓< / span > or < span class = "key" > ENTER< / span > < / td > < td > < / td > < td > 进入选中的文件夹。< / td > < / tr >
< tr > < td > < span class = "key" > ALT< / span > < span class = "key" > D< / span > < / td > < td > < / td > < td > 返回桌面。< / td > < / tr >
< tr > < td > < span class = "key" > ALT< / span > < span class = "key" > H< / span > < / td > < td > < / td > < td > 返回home文件夹。< / td > < / tr >
2010-07-08 22:03:41 +04:00
< / table >
2018-09-26 08:46:30 +03:00
< p > 更多 Haiku 中常用的快捷键,可以查看 < a href = "keyboard-shortcuts.html" > 快捷键和组合键< / a > 。< / p >
2010-07-08 22:03:41 +04:00
< h3 >
< a href = "#" > < img src = "../images/up.png" style = "border:none;float:right" alt = "index" / > < / a >
2010-08-02 20:51:09 +04:00
< a id = "favorites-recent" name = "favorites-recent" > 收藏夹和最近的文件夹< / a > < / h3 >
2010-08-11 21:56:45 +04:00
< p > 在打开和保存面板中的 < span class = "menu" > 收藏夹< / span > 菜单提供了您可以自主设置的最近访问文件夹和收藏夹的位置。根据小箭头的指示,您也可以使用这些位置通过子菜单导航至下面的文件层次。< / p >
2010-07-08 22:03:41 +04:00
< img src = "images/gui-images/favorites.png" alt = "favorites.png" / >
2010-08-11 21:56:45 +04:00
< p > 为了添加收藏项目,您可以导航至目标,然后选择 < span class = "menu" > Favorites | Add Current Folder< / span > 。那么之后,它将会出现在每个打开/保存面板。为了删除收藏项目,选择 < span class = "menu" > Favorites | Configure Favorites...< / span > ,然后在其中删除该入口。< br / >
所有的收藏项目保存在 < span class = "path" > /boot/home/config/settings/Tracker/Go/< / span > 。所以您可以直接在那里添加或者删除相关的文件和文件夹的链接。< / p >
2010-07-08 22:03:41 +04:00
< h2 >
< a href = "#" > < img src = "../images/up.png" style = "border:none;float:right" alt = "index" / > < / a >
< a id = "replicants" name = "replicants" > Replicants< / a > < / h2 >
2010-12-30 22:10:45 +03:00
< p > Replicants 是可以集成到其他软件的应用程序中小的独立部分。假如桌面栏的 < span class = "menu" > Show Replicants< / span > 是激活的,您将能够通过应用程序的小控件看到它的可复制部分,控件通常处于窗体的右下角:< / p >
2010-07-08 22:03:41 +04:00
< img src = "../images/gui-images/replicant.png" alt = "replicant.png" / >
2010-12-30 22:10:45 +03:00
< p > 接受复制体最突出的地方是桌面:您可以直接将小控件拖到其上。而且从此,它将成为桌面的一部分, 不需要复制体的原程序也可以进行工作。< br / >
右键点击复制体的小控件将会显示一个右键菜单,用于显示原程序的 < span class = "menu" > About< / span > 窗体和 < span class = "menu" > Remove Replicant< / span > 。< / p >
< div class = "box-info" > 如果碰巧,您在使用桌面上的复制体时遇到困难,而且无法进行处理,您可以删除 < span class = "path" > ~/config/settings/Tracker/tracker_shelf< / span > 。但是,它将会删除桌面上 < i > 所有< / i > 的复制体。< / div >
2011-06-06 20:08:15 +04:00
< p > 可复制程序示例来源于 < a href = "applications/activitymonitor.html" > 任务管理器< / a > , < a href = "workspaces.html" > 工作区小程序< / a > 或者 < a href = "applications/deskcalc.html" > 计算器< / a > 的图片。< / p >
2010-07-08 22:03:41 +04:00
< / div >
< / div >
< div class = "nav" >
< div class = "inner" > < span >
2018-09-26 08:46:30 +03:00
« < a href = "filesystem-layout.html" > 文件系统布局< / a >
:: < a href = "contents.html" class = "uplink" > 内容< / a >
:: < a href = "workspaces.html" > Workspaces( 工作区) < / a > »
2010-07-08 22:03:41 +04:00
< / span > < / div >
< / div >
< / body >
< / html >