eric6/Documentation/Source/eric6.Utilities.uic.html

branch
maintenance
changeset 6989
8b8cadf8d7e9
parent 6942
2602857055c5
child 7273
391d6b7b1eff
equal deleted inserted replaced
6938:7926553b7509 6989:8b8cadf8d7e9
1 <!DOCTYPE html>
2 <html><head>
3 <title>eric6.Utilities.uic</title>
4 <meta charset="UTF-8">
5 <style>
6 body {
7 background: #EDECE6;
8 margin: 0em 1em 10em 1em;
9 color: black;
10 }
11
12 h1 { color: white; background: #85774A; }
13 h2 { color: white; background: #85774A; }
14 h3 { color: white; background: #9D936E; }
15 h4 { color: white; background: #9D936E; }
16
17 a { color: #BA6D36; }
18
19 </style>
20 </head>
21 <body><a NAME="top" ID="top"></a>
22 <h1>eric6.Utilities.uic</h1>
23 <p>
24 Module implementing a function to compile all user interface files of a
25 directory or directory tree.
26 </p>
27 <h3>Global Attributes</h3>
28 <table>
29 <tr><td>None</td></tr>
30 </table>
31 <h3>Classes</h3>
32 <table>
33 <tr><td>None</td></tr>
34 </table>
35 <h3>Functions</h3>
36 <table>
37 <tr>
38 <td><a href="#__pyName">__pyName</a></td>
39 <td>Local function to create the Python source file name for the compiled .ui file.</td>
40 </tr><tr>
41 <td><a href="#compileUiFiles">compileUiFiles</a></td>
42 <td>Module function to compile the .ui files of a directory tree to Python sources.</td>
43 </tr>
44 </table>
45 <hr /><hr />
46 <a NAME="__pyName" ID="__pyName"></a>
47 <h2>__pyName</h2>
48 <b>__pyName</b>(<i>py_dir, py_file</i>)
49 <p>
50 Local function to create the Python source file name for the compiled
51 .ui file.
52 </p><dl>
53 <dt><i>py_dir</i></dt>
54 <dd>
55 suggested name of the directory (string)
56 </dd><dt><i>py_file</i></dt>
57 <dd>
58 suggested name for the compile source file (string)
59 </dd>
60 </dl><dl>
61 <dt>Returns:</dt>
62 <dd>
63 tuple of directory name (string) and source file name (string)
64 </dd>
65 </dl>
66 <div align="right"><a href="#top">Up</a></div>
67 <hr /><hr />
68 <a NAME="compileUiFiles" ID="compileUiFiles"></a>
69 <h2>compileUiFiles</h2>
70 <b>compileUiFiles</b>(<i>directory, recurse=False</i>)
71 <p>
72 Module function to compile the .ui files of a directory tree to Python
73 sources.
74 </p><dl>
75 <dt><i>directory</i></dt>
76 <dd>
77 name of a directory to scan for .ui files (string)
78 </dd><dt><i>recurse</i></dt>
79 <dd>
80 flag indicating to recurse into subdirectories (boolean)
81 </dd>
82 </dl>
83 <div align="right"><a href="#top">Up</a></div>
84 <hr />
85 </body></html>

eric ide

mercurial