eric6/Documentation/Source/compileUiFiles.html

changeset 7273
391d6b7b1eff
parent 6942
2602857055c5
child 7960
e8fc383322f7
equal deleted inserted replaced
7272:1779dc278077 7273:391d6b7b1eff
16 16
17 a { color: #BA6D36; } 17 a { color: #BA6D36; }
18 18
19 </style> 19 </style>
20 </head> 20 </head>
21 <body><a NAME="top" ID="top"></a> 21 <body>
22 <a NAME="top" ID="top"></a>
22 <h1>compileUiFiles</h1> 23 <h1>compileUiFiles</h1>
24
23 <p> 25 <p>
24 Script for eric6 to compile all .ui files to Python source. 26 Script for eric6 to compile all .ui files to Python source.
25 </p> 27 </p>
26 <h3>Global Attributes</h3> 28 <h3>Global Attributes</h3>
29
27 <table> 30 <table>
28 <tr><td>None</td></tr> 31 <tr><td>None</td></tr>
29 </table> 32 </table>
30 <h3>Classes</h3> 33 <h3>Classes</h3>
34
31 <table> 35 <table>
32 <tr><td>None</td></tr> 36 <tr><td>None</td></tr>
33 </table> 37 </table>
34 <h3>Functions</h3> 38 <h3>Functions</h3>
39
35 <table> 40 <table>
41
36 <tr> 42 <tr>
37 <td><a href="#__pyName">__pyName</a></td> 43 <td><a href="#__pyName">__pyName</a></td>
38 <td>Local function to create the Python source file name for the compiled .ui file.</td> 44 <td>Local function to create the Python source file name for the compiled .ui file.</td>
39 </tr><tr> 45 </tr>
46 <tr>
40 <td><a href="#compileUiFiles">compileUiFiles</a></td> 47 <td><a href="#compileUiFiles">compileUiFiles</a></td>
41 <td>Compile the .ui files to Python sources.</td> 48 <td>Compile the .ui files to Python sources.</td>
42 </tr><tr> 49 </tr>
50 <tr>
43 <td><a href="#main">main</a></td> 51 <td><a href="#main">main</a></td>
44 <td>The main function of the script.</td> 52 <td>The main function of the script.</td>
45 </tr> 53 </tr>
46 </table> 54 </table>
47 <hr /><hr /> 55 <hr />
56 <hr />
48 <a NAME="__pyName" ID="__pyName"></a> 57 <a NAME="__pyName" ID="__pyName"></a>
49 <h2>__pyName</h2> 58 <h2>__pyName</h2>
50 <b>__pyName</b>(<i>py_dir, py_file</i>) 59 <b>__pyName</b>(<i>py_dir, py_file</i>)
60
51 <p> 61 <p>
52 Local function to create the Python source file name for the compiled 62 Local function to create the Python source file name for the compiled
53 .ui file. 63 .ui file.
54 </p><dl> 64 </p>
65 <dl>
66
55 <dt><i>py_dir</i></dt> 67 <dt><i>py_dir</i></dt>
56 <dd> 68 <dd>
57 suggested name of the directory (string) 69 suggested name of the directory (string)
58 </dd><dt><i>py_file</i></dt> 70 </dd>
71 <dt><i>py_file</i></dt>
59 <dd> 72 <dd>
60 suggested name for the compile source file (string) 73 suggested name for the compile source file (string)
61 </dd> 74 </dd>
62 </dl><dl> 75 </dl>
76 <dl>
63 <dt>Returns:</dt> 77 <dt>Returns:</dt>
64 <dd> 78 <dd>
65 tuple of directory name (string) and source file name (string) 79 tuple of directory name (string) and source file name (string)
66 </dd> 80 </dd>
67 </dl> 81 </dl>
68 <div align="right"><a href="#top">Up</a></div> 82 <div align="right"><a href="#top">Up</a></div>
69 <hr /><hr /> 83 <hr />
84 <hr />
70 <a NAME="compileUiFiles" ID="compileUiFiles"></a> 85 <a NAME="compileUiFiles" ID="compileUiFiles"></a>
71 <h2>compileUiFiles</h2> 86 <h2>compileUiFiles</h2>
72 <b>compileUiFiles</b>(<i></i>) 87 <b>compileUiFiles</b>(<i></i>)
88
73 <p> 89 <p>
74 Compile the .ui files to Python sources. 90 Compile the .ui files to Python sources.
75 </p> 91 </p>
76 <div align="right"><a href="#top">Up</a></div> 92 <div align="right"><a href="#top">Up</a></div>
77 <hr /><hr /> 93 <hr />
94 <hr />
78 <a NAME="main" ID="main"></a> 95 <a NAME="main" ID="main"></a>
79 <h2>main</h2> 96 <h2>main</h2>
80 <b>main</b>(<i>argv</i>) 97 <b>main</b>(<i>argv</i>)
98
81 <p> 99 <p>
82 The main function of the script. 100 The main function of the script.
83 </p><dl> 101 </p>
102 <dl>
103
84 <dt><i>argv</i></dt> 104 <dt><i>argv</i></dt>
85 <dd> 105 <dd>
86 the list of command line arguments. 106 the list of command line arguments.
87 </dd> 107 </dd>
88 </dl> 108 </dl>

eric ide

mercurial