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