carta
pyuic(1)

pyuic1

Qt user interface compiler for python

Usage

pyuic [options] <uifile>

Overview

This page documents the Python User Interface Compiler for the Qt GUI application framework. The pyuic reads a user interface definition file (.ui) in XML as generated by Qt Designer and creates corresponding Python module.

Generate implementation:
pyuic [options] <uifile>

Generate image collection:
pyuic [options] -embed <project> <image1> <image2> <image3> ...

<project>: project name
<image[1..n]>: image files

Generate subclass implementation:
pyuic [options] -subimpl <classname> <uifile>

<classname>: name of the subclass to generate

Options

-o file

Write output to file rather than to stdout.

-p indent

Set the Python indent in spaces (0 to use a tab)

-tr func

Use func(...) rather than tr(...) for i18n.

-x

Generate extra code to test the class

-test

Generate extra code to test but not display the class

-version

Display version of pyuic

-help

Display this information

History

  • Debian 6.0 (Squeeze) to Debian 4.0 (Etch): the text shown here
  • Debian 3.1 (Sarge)
  • Debian 3.0 (Woody)

-help since Debian 4.0 (Etch); -p since Debian 4.0 (Etch); -test since Debian 4.0 (Etch); -version since Debian 4.0 (Etch).

Author

This manual page was written by Ricardo J. Cárdenes Medina for the Debian GNU/Linux System (but may be used by others), based on Trolltech's <[email protected]> manual page for uic

From pyqt-tools 3.18.1-4 in Debian 6.0 (Squeeze). Parsed by carta from the page's man source.