src/eric7/Documentation/Source/eric7.Utilities.uic.html

branch
eric7
changeset 9209
b99e7fd55fd3
parent 8596
d64760b2da50
child 10433
328f3ec4b77a
equal deleted inserted replaced
9208:3fc8dfeb6ebe 9209:b99e7fd55fd3
1 <!DOCTYPE html>
2 <html><head>
3 <title>eric7.Utilities.uic</title>
4 <meta charset="UTF-8">
5 <link rel="stylesheet" href="styles.css">
6 </head>
7 <body>
8 <a NAME="top" ID="top"></a>
9 <h1>eric7.Utilities.uic</h1>
10
11 <p>
12 Module implementing a function to compile all user interface files of a
13 directory or directory tree.
14 </p>
15 <h3>Global Attributes</h3>
16
17 <table>
18 <tr><td>None</td></tr>
19 </table>
20 <h3>Classes</h3>
21
22 <table>
23 <tr><td>None</td></tr>
24 </table>
25 <h3>Functions</h3>
26
27 <table>
28
29 <tr>
30 <td><a href="#__pyName">__pyName</a></td>
31 <td>Local function to create the Python source file name for the compiled .ui file.</td>
32 </tr>
33 <tr>
34 <td><a href="#compileUiFiles">compileUiFiles</a></td>
35 <td>Module function to compile the .ui files of a directory tree to Python sources.</td>
36 </tr>
37 </table>
38 <hr />
39 <hr />
40 <a NAME="__pyName" ID="__pyName"></a>
41 <h2>__pyName</h2>
42 <b>__pyName</b>(<i>py_dir, py_file</i>)
43
44 <p>
45 Local function to create the Python source file name for the compiled
46 .ui file.
47 </p>
48 <dl>
49
50 <dt><i>py_dir</i></dt>
51 <dd>
52 suggested name of the directory (string)
53 </dd>
54 <dt><i>py_file</i></dt>
55 <dd>
56 suggested name for the compile source file (string)
57 </dd>
58 </dl>
59 <dl>
60 <dt>Return:</dt>
61 <dd>
62 tuple of directory name (string) and source file name (string)
63 </dd>
64 </dl>
65 <div align="right"><a href="#top">Up</a></div>
66 <hr />
67 <hr />
68 <a NAME="compileUiFiles" ID="compileUiFiles"></a>
69 <h2>compileUiFiles</h2>
70 <b>compileUiFiles</b>(<i>directory, recurse=False</i>)
71
72 <p>
73 Module function to compile the .ui files of a directory tree to Python
74 sources.
75 </p>
76 <dl>
77
78 <dt><i>directory</i></dt>
79 <dd>
80 name of a directory to scan for .ui files (string)
81 </dd>
82 <dt><i>recurse</i></dt>
83 <dd>
84 flag indicating to recurse into subdirectories (boolean)
85 </dd>
86 </dl>
87 <div align="right"><a href="#top">Up</a></div>
88 <hr />
89 </body></html>

eric ide

mercurial