求助 帮忙翻译英文资料

来源:百度知道 编辑:UC知道 时间:2024/06/17 11:00:15
• Qt's widgets handle keyboard focus in the ways that have become customary in GUIs.
• The basic issue is that the user's key strokes can be directed at any of several windows on the screen, and any of several widgets inside the intended window. When the user presses a key, they expect it to go to the right place, and the software must try to meet this expectation. The system must determine which application the key stroke is directed at, which window within that application, and which widget within that window.
• Focus Motion
• The customs which have evolved for directing keyboard focus to a particular widget are these:
• The user presses Tab (or Shift+Tab).
• The user clicks a widget.
• The user presses a keyboard shortcut.
• The user uses the mouse wheel.
• The user moves the focus to a window, and the application must determine which widget within the window should get the focu

• Qt的工具处理键盘焦点的方式,已成为习惯GUIs 。
•基本的问题是,用户的键上的笔画,可在任何的好几个窗口,在屏幕上,任何的几个小工具窗口内的打算。当使用者按下一个关键,他们期望它去正确的地方,和软件必须设法满足这种期望。该系统必须确定哪个应用程序的关键是针对中风,而窗口内的应用,并在该窗口小部件。
•福克斯运动
•海关已演变为指导键盘焦点某一部件有:
•用户按下表(或Shift + TAB键) 。
•用户点击窗口小部件。
•用户按下键盘快捷键。
•用户使用鼠标滚轮。
•用户动作的重点,以一个窗口,并且该应用程序必须确定哪个部件的窗口应该得到重点。
•每一个动作机制是不同的,不同类型的小工具收到的重点只在其中的一些。我们将支付每人反过来。
•表或Shift + TAB键
•压表是最常见的方式将焦点移到使用键盘。 (有时,在数据录入应用程序输入不相同的标签,这可以很容易地取得了Qt的执行一个事件过滤器。 )
•压选项卡上,在所有的窗口系统共同使用,键盘焦点移动到下一个窗口小部件的通函每窗口清单。标签动作重点名单沿圆一个方向, SHIFT +向标签中的其他。的顺序表压力机从工具到部件称为标签秩序。
•您可以自定义选项卡以使用QWidget : : setTabOrder ( ) 。 (如果您不表一般举动重点建设秩序的工具。 ) Qt的设计师提供了一个可视化的手段改变标签秩序。
•由于紧迫的标签,以便共同的,大多数小装置,可以有重点应支持标签的重点。主要的例外是构件,以便很少被采用,而有一些键盘加速器或错误处理移动的重点。
•例如,在数据输入对话框中,有可能是一个领域,是必要的,只有百分之一的所有案件。在这样一个对话框,标签可以跳过这一领域,并在对话可以使用其中的机制:
•如果该程序可以判断是否领域是必要的,它可以将焦点移到有当用户完成入境和印刷机确定,或当用户按下输入完