.\" .\" Created by Torsten Marek .\" Updated for PyQt5 by Dmitry Shachnev .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 , but may freely be used by others.