pyqt QMessageBox.about - описание

пример использования

QMessageBox.about (QWidget parent, QString caption, QString text)

Displays a simple about box with title title and text text. The about box's parent is parent.

about() looks for a suitable icon in four locations:

  • It prefers parent->icon() if that exists.
  • If not, it tries the top-level widget containing parent.
  • If that fails, it tries the active window.
  • As a last resort it uses the Information icon.

The about box has a single button labelled "OK". On Mac OS X, the about box is popped up as a modeless window; on other platforms, it is currently application modal.