src/eric7/Documentation/Source/compileUiFiles.html

branch
eric7
changeset 9209
b99e7fd55fd3
parent 8596
d64760b2da50
equal deleted inserted replaced
9208:3fc8dfeb6ebe 9209:b99e7fd55fd3
1 <!DOCTYPE html>
2 <html><head>
3 <title>compileUiFiles</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>compileUiFiles</h1>
10
11 <p>
12 Script for eric to compile all .ui files to Python source.
13 </p>
14 <h3>Global Attributes</h3>
15
16 <table>
17 <tr><td>None</td></tr>
18 </table>
19 <h3>Classes</h3>
20
21 <table>
22 <tr><td>None</td></tr>
23 </table>
24 <h3>Functions</h3>
25
26 <table>
27
28 <tr>
29 <td><a href="#__pyName">__pyName</a></td>
30 <td>Local function to create the Python source file name for the compiled .ui file.</td>
31 </tr>
32 <tr>
33 <td><a href="#compileUiFiles">compileUiFiles</a></td>
34 <td>Compile the .ui files to Python sources.</td>
35 </tr>
36 <tr>
37 <td><a href="#main">main</a></td>
38 <td>The main function of the script.</td>
39 </tr>
40 </table>
41 <hr />
42 <hr />
43 <a NAME="__pyName" ID="__pyName"></a>
44 <h2>__pyName</h2>
45 <b>__pyName</b>(<i>py_dir, py_file</i>)
46
47 <p>
48 Local function to create the Python source file name for the compiled
49 .ui file.
50 </p>
51 <dl>
52
53 <dt><i>py_dir</i></dt>
54 <dd>
55 suggested name of the directory (string)
56 </dd>
57 <dt><i>py_file</i></dt>
58 <dd>
59 suggested name for the compile source file (string)
60 </dd>
61 </dl>
62 <dl>
63 <dt>Return:</dt>
64 <dd>
65 tuple of directory name (string) and source file name (string)
66 </dd>
67 </dl>
68 <div align="right"><a href="#top">Up</a></div>
69 <hr />
70 <hr />
71 <a NAME="compileUiFiles" ID="compileUiFiles"></a>
72 <h2>compileUiFiles</h2>
73 <b>compileUiFiles</b>(<i></i>)
74
75 <p>
76 Compile the .ui files to Python sources.
77 </p>
78 <div align="right"><a href="#top">Up</a></div>
79 <hr />
80 <hr />
81 <a NAME="main" ID="main"></a>
82 <h2>main</h2>
83 <b>main</b>(<i>argv</i>)
84
85 <p>
86 The main function of the script.
87 </p>
88 <dl>
89
90 <dt><i>argv</i></dt>
91 <dd>
92 the list of command line arguments.
93 </dd>
94 </dl>
95 <div align="right"><a href="#top">Up</a></div>
96 <hr />
97 </body></html>

eric ide

mercurial