Skip to content

PythonQt

PythonQt

Overview

PythonQt is the Qt binding built into FontLab. Scripts use it to build dialogs, panels and other user interface, and to work with Qt values such as points, rectangles, colours and fonts that the FontLab API returns. PythonQt.QtCore, PythonQt.QtGui and the other modules below expose the Qt classes that FontLab's build provides; the classes in this module are PythonQt's own helpers.

Modules

Module Summary
Config Build configuration flags of the PythonQt binding.
Debug Debugging helpers of the PythonQt binding.
Qt All Qt classes in one namespace, combining QtCore, QtGui and the other modules.
QtCore Core non-GUI classes: strings, byte arrays, points, rectangles, timers, signals and slots, the event loop.
QtGui Widgets, dialogs, layouts, painting (QPainter, QPainterPath), images, colours and fonts.
QtNetwork TCP, UDP and HTTP networking classes.
QtOpenGL OpenGL widget and context classes.
QtSvg SVG rendering and generation (QSvgRenderer, QSvgGenerator, QSvgWidget).
QtUiTools Loading Qt Designer .ui files at runtime (QUiLoader).
QtXmlPatterns XQuery and XPath evaluation over XML.
private Wrappers for FontLab's own Qt-based classes; which ones are registered depends on what the session has used.

Classes

Class Summary
BoolResult Result object that is useful for bool* arguments