Interface creation/ru

Введение

Power users have the possibility of creating interfaces to help them produce complex tools for their custom addons, such as macros or full workbenches.

Interfaces are created using PySide, which is a library for using Qt with Python.

Two general methods to create interfaces, by including the interface in the Python file, or by using .ui files.

Описание

Существует два способа создания интерфейсов с применением PySide.

Интерфейс записанный в .ui файл

In this method the interface is defined in a .ui file (an XML document that defines the structure of the interface), which is then imported into Python code that uses it. This is the recommended approach.

Интерфейс полностью созданный с помощью Python кода

In this method the entire interface is defined by several Python calls.

Примеры этого метода см. в разделе Interface creation completely in Python.