用于“安全锁定”的UI元素选择正常/异常操作

发布于 2024-09-14 02:23:56 字数 518 浏览 6 评论 0原文

我有一个 GUI,它有几个控制系统操作“特殊”模式的复选框。我希望这些始终显示出来,并在操作员打算编辑它们时轻松编辑,但这种情况很少见,大多数时候我希望禁用复选框。

我正在寻找的是用于启用/禁用异常操作的 UI 元素。(因此正常操作将使复选框处于禁用状态,异常操作将允许用户编辑)

  • 复选框或一对按钮:太容易按下
  • 菜单项:太晦涩
  • 对话框确认框:(“这种操作模式允许____。你确定要使用它吗?”)太烦人了,我想避免模式对话框,因为它们会阻止在重要情况下使用所有其他 UI 元素。

物理对象的 UI 设计包括一些微妙的锁定,例如汽车中的自动变速箱需要您踩刹车才能换入/换出某些档位;割草机有启动/运行时必须按下的手柄;儿童安全药瓶需要您在转动时按下。

我正在寻找一些简单/直观、易于使用但会避免无意使用的东西。有什么想法吗?在软件世界里一定有人想到过这种事情。

I have a GUI which has a couple of checkboxes that control "special" modes of system operation. I want these to always be displayed, and easily edited when the operator intends to edit them, but this condition is infrequent, and most of the time I want the checkboxes to be disabled.

What I'm looking for, is what UI element(s) to use to enable/disable abnormal operation. (so normal operation would leave the checkboxes in a disabled state, abnormal operation would allow user to edit them.)

  • checkbox or pair of buttons: too easy to press
  • menu item: too obscure
  • dialog confirmation box: ("This mode of operation allows ____. Are you sure you want to use it?") too annoying, and I want to avoid modal dialog boxes because they block usage of all other UI elements in important situations.

The UI design of physical objects includes some subtle lockouts, e.g. automatic transmissions in a car require you to press the brake to shift into/out of certain gears; lawnmowers have those handles that you have to press during starting/running; childproof pill bottles require you to press down while turning.

I am looking for something simple/intuitive that's easy to use but will avoid inadvertent use. Any ideas? Someone must have thought of this sort of thing in the software world.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

↘人皮目录ツ 2024-09-21 02:23:56

我会遵循“物理对象”范例,在实际控件上设置“安全罩”。

就用户界面而言,这将是一个复选框(我知道您说过您希望它们始终显示,但是..)显示并启用特殊控件。

Disabled:
 _____________________________
| O Enable Dangerous mode     |
|_____________________________|

Enabled:
 _____________________________
| X Enable Dangerous mode     |
|                             |
|    O Dangerous Control One  |
|    O Dangerous Control Two  |
|_____________________________|

后评论:

我想另一个重要的问题是,界面主要是“手放在键盘上”还是“鼠标”。

如果是键盘,则使用组合键,或者再次从其他界面获取,让用户键入“启用”或与实际控件相关的内容。

如果它主要是一个鼠标界面,那么更复杂的交互(例如“滑动”)怎么样?用户必须将元素拖动合理的距离。

Disabled:
 _____________________________
|   Enable Dangerous mode     |
|    _                  _     |
|   |*| -------------> |_|    |
|   off                on     |
|_____________________________|

Enabled:
 _____________________________
|   Enable Dangerous mode     |
|    _                  _     |
|   |_| -------------> |*|    |
|   off                on     |
|                             |
|   O Dangerous Control One   |
|   O Dangerous Control Two   |
|_____________________________|

I would follow the "physical object" paradigm of having a 'safety cover' over the actual controls.

In terms of the UI, this would be a checkbox that (and I know you said that you want them always displayed, but..) reveals and enables the special controls.

Disabled:
 _____________________________
| O Enable Dangerous mode     |
|_____________________________|

Enabled:
 _____________________________
| X Enable Dangerous mode     |
|                             |
|    O Dangerous Control One  |
|    O Dangerous Control Two  |
|_____________________________|

Post-Comment:

I guess another important question is, is the interface primarily 'hands on keyboard' or 'mouse'.

If its keyboard, then a keycombo, or, again, taking from other interfaces, have the user type 'enable' or something relevant to the actual controls.

If its primarily a mouse interface, how about a more complex interaction like a "swipe" - where the user has to drag an element a reasonable distance.

Disabled:
 _____________________________
|   Enable Dangerous mode     |
|    _                  _     |
|   |*| -------------> |_|    |
|   off                on     |
|_____________________________|

Enabled:
 _____________________________
|   Enable Dangerous mode     |
|    _                  _     |
|   |_| -------------> |*|    |
|   off                on     |
|                             |
|   O Dangerous Control One   |
|   O Dangerous Control Two   |
|_____________________________|
~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文