上一话题

有关 GUI 设计的书籍

下一话题

隐式共享

帮助系统

Classes used to provide online-help for applications.

这些类为应用程序提供在线帮助,采用 3 细节级别:

  1. Tool Tips and Status Bar message - flyweight help, extremely brief, entirely integrated in the user interface, requiring little or no user interaction to invoke.

  2. What’s This? - lightweight, but can be a three-paragraph explanation.

  3. Online Help - can encompass any amount of information, but is typically slower to call up, somewhat separated from the user’s work, and often users feel that using online help is a digression from their real task.

PySide2.QtWidgets.QToolTip

The QToolTip class provides tool tips (balloon help) for any widget.

PySide2.QtWidgets.QWhatsThis

The QWhatsThis class provides a simple description of any widget, i.e. answering the question “What’s This?”.

PySide2.QtWidgets.QStatusBar

QStatusBar 类提供适合呈现状态信息的水平条。

PySide2.QtGui.QHelpEvent

QHelpEvent 类提供用于在 Widget 中有关特定点请求有帮助信息的事件。

PySide2.QtGui.QStatusTipEvent

QStatusTipEvent 类提供用于在状态栏展示消息的事件。

PySide2.QtGui.QWhatsThisClickedEvent

The QWhatsThisClickedEvent class provides an event that can be used to handle hyperlinks in a “What’s This?” text.