windows:Windows/dialog-boxes/usage-patterns
出自UXGuide.net
对话框使用模式
Dialog Box Usage Patterns
对话框具有下列使用模式:
| 问题对话框(使用按钮)
问用户单个问题,并通过一些横向排列的命令按钮提供一些简单的回应选项。 |
类型:模式。 主标题说明:要问的问题(可能表述为祈使句)。 图标:程序、特性、对象、警告图标(如果有丢失数据或无法访问系统的可能的话)、安全警告、或者无。 提交按钮:下列简洁的命令组合之一:是/否、是/否/取消、[做某事]/取消、[做某事]/[不做某事]、[做某事]/[不做某事]/取消,其中 [做某事] 和 [不做某事] 是针对主标题按钮的专门回答。 其他控件:可能还有帮助用户作出合理选择的辅助说明、用于显示更多信息的 V 形控件、以及如果该问题以后可以不再显示的话还可以包括“不要再显示此 <项>”选项。 干扰程度:高。如果能够假定一个安全的默认回答的话,其实就不存在选择,或者选项之前的区别没那么明显。 虽然确认信息是以问题形式出现的,但我们将在确认信息一文中专门进行讨论。 |
|
问题对话框(使用命令链接) 用于询问用户单个问题或选择要执行的任务,并通过垂直排列的命令链接提供详细的回应选项。 |
In contrast to the version with command buttons, these dialogs may have several responses or responses that require more text to describe. Type: Modal. Main instruction: The question being asked (could be phrased as an instruction). Icon: Program, feature, object, warning icon (if potential loss of data or system access), security warning, or none. Command links: Two or more complete, specific responses to the main instruction. Commit buttons: Cancel. Other controls: There may be supplemental explanations to help users make informed decisions, and a chevron to show more information. Annoyance factor: High, if default response can be safely assumed, there really isn't a choice, or the differences among the choices aren't clear. While confirmations are presented as questions, they are covered specifically in Confirmations. |
|
选择对话框 用于向用户提供一组选择,通常更完整地描述某个命令。与问题对话框不同,选择对话框可以提多个问题。 |
Type: Modal, modeless, and task pane. Main instruction: An optional imperative instruction that tells users what to do. Icon: None. Commit buttons: One of the following:
Other controls: There may be supplemental explanations to help users make choices, and a chevron to show infrequently used options. Annoyance factor: Normally low, because user initiated and needs a response, but could be high if users rarely change default values. |
|
进度对话框 用于在耗时操作(长于五秒)的过程中向用户提供进度反馈,并提供用于取消或停止操作的命令。 |
如果该操作是需要长时间运动的任务(超过 30 秒),且可以在后台执行的话,应当使用无模式进度对话框使得用户能够在等待过程中继续使用你的程序。
Type: Modal and modeless. Main instruction: A gerund phrase briefly explaining the operation in progress, ending with an ellipsis. Example: Downloading... Icon: None (but may have an animation). Commit buttons: Use Cancel if returns the environment to its previous state (leaving no side effect); otherwise, use Stop. Annoyance factor: Low, if user needs to know when operation is complete, but high if unnecessarily modal or operation isn't significant. |
|
信息对话框 用于显示用户需要的信息。 |
Type: Modal. Main instruction: A sentence that describes the information. Icon: None. Commit buttons: Close Other controls: There may be a chevron to show more information. Annoyance factor: Low, if information is relevant and requested by the user. |