1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50
|
.\"
.\" Created by Torsten Marek <shlomme@debian.org>
.\" Updated for PyQt5 by Dmitry Shachnev <mitya57@debian.org>
.TH PYUIC5 1 "2013/06/29" "pyuic 5.0"
.SH NAME
pyuic5 \- compile Qt5 user interfaces to Python code
.SH SYNOPSIS
.B pyuic5
[\fIOPTION\fR]... \fIFILE\fR
.SH DESCRIPTION
.B pyuic5
takes a Qt5 user interface description file and compiles it to Python code. It can also show a preview of the user interface.
.SH OPTIONS
.TP
\fB\-h\fR, \fB\-\-help\fR
Show a summary of the options.
.TP
.B \-\-version
Display the pyuic and Qt version numbers and exit.
.TP
\fB\-p\fR, \fB\-\-preview\fR
Show a preview of the UI instead of generating Python code.
.TP
\fB\-o\fR, \fB\-\-output\fR=\fIFILE\fR
Write the generated Python code to \fIFILE\fR instead of stdout.
.TP
\fB\-d\fR, \fB\-\-debug\fR
Show detailed debugging information about the UI generation process.
.TP
\fB\-x\fR, \fB\-\-execute\fR
Generate extra code to test and display the class when executed as a script.
.TP
\fB\-i\fR, \fB\-\-indent\fR=\fINUM\fR
Set the indentation width to \fINUM\fR spaces. A TAB character will be used if \fINUM\fR is 0 (default: 4).
.SH CODE GENERATION OPTIONS
.TP
\fB\-\-import\-from\fR=\fIPACKAGE\fR
Generate imports of pyrcc5 generated modules in the style "from \fIPACKAGE\fR import ...".
.TP
\fB\-\-from\-imports\fR
The equivalent of "\-\-import\-from=.".
.TP
\fB\-\-resource\-suffix\fR=\fISUFFIX\fR
Append \fISUFFIX\fR to the basename of resource files (default: _rc).
.SH AUTHOR
This manual page was written for Debian GNU/Linux by Torsten Marek <shlomme@debian.org>, but may freely be used by others.
|