eric6/Documentation/Source/eric6.compileUiFiles.html

branch
maintenance
changeset 7286
7eb04391adf7
parent 7226
babe80d84a3e
parent 7285
1ff497f33f31
child 7287
1c17f2191bdd
equal deleted inserted replaced
7226:babe80d84a3e 7286:7eb04391adf7
1 <!DOCTYPE html>
2 <html><head>
3 <title>eric6.compileUiFiles</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.compileUiFiles</h1>
23 <p>
24 Script for eric6 to compile all .ui files to Python source.
25 </p>
26 <h3>Global Attributes</h3>
27 <table>
28 <tr><td>None</td></tr>
29 </table>
30 <h3>Classes</h3>
31 <table>
32 <tr><td>None</td></tr>
33 </table>
34 <h3>Functions</h3>
35 <table>
36 <tr>
37 <td><a href="#__pyName">__pyName</a></td>
38 <td>Local function to create the Python source file name for the compiled .ui file.</td>
39 </tr><tr>
40 <td><a href="#compileUiFiles">compileUiFiles</a></td>
41 <td>Compile the .ui files to Python sources.</td>
42 </tr><tr>
43 <td><a href="#main">main</a></td>
44 <td>The main function of the script.</td>
45 </tr>
46 </table>
47 <hr /><hr />
48 <a NAME="__pyName" ID="__pyName"></a>
49 <h2>__pyName</h2>
50 <b>__pyName</b>(<i>py_dir, py_file</i>)
51 <p>
52 Local function to create the Python source file name for the compiled
53 .ui file.
54 </p><dl>
55 <dt><i>py_dir</i></dt>
56 <dd>
57 suggested name of the directory (string)
58 </dd><dt><i>py_file</i></dt>
59 <dd>
60 suggested name for the compile source file (string)
61 </dd>
62 </dl><dl>
63 <dt>Returns:</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 /><hr />
70 <a NAME="compileUiFiles" ID="compileUiFiles"></a>
71 <h2>compileUiFiles</h2>
72 <b>compileUiFiles</b>(<i></i>)
73 <p>
74 Compile the .ui files to Python sources.
75 </p>
76 <div align="right"><a href="#top">Up</a></div>
77 <hr /><hr />
78 <a NAME="main" ID="main"></a>
79 <h2>main</h2>
80 <b>main</b>(<i>argv</i>)
81 <p>
82 The main function of the script.
83 </p><dl>
84 <dt><i>argv</i></dt>
85 <dd>
86 the list of command line arguments.
87 </dd>
88 </dl>
89 <div align="right"><a href="#top">Up</a></div>
90 <hr />
91 </body></html>

eric ide

mercurial