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

branch
maintenance
changeset 7286
7eb04391adf7
parent 7273
391d6b7b1eff
child 7989
a21d673a8f99
equal deleted inserted replaced
7226:babe80d84a3e 7286:7eb04391adf7
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>eric6.Utilities.uic</h1> 23 <h1>eric6.Utilities.uic</h1>
24
23 <p> 25 <p>
24 Module implementing a function to compile all user interface files of a 26 Module implementing a function to compile all user interface files of a
25 directory or directory tree. 27 directory or directory tree.
26 </p> 28 </p>
27 <h3>Global Attributes</h3> 29 <h3>Global Attributes</h3>
30
28 <table> 31 <table>
29 <tr><td>None</td></tr> 32 <tr><td>None</td></tr>
30 </table> 33 </table>
31 <h3>Classes</h3> 34 <h3>Classes</h3>
35
32 <table> 36 <table>
33 <tr><td>None</td></tr> 37 <tr><td>None</td></tr>
34 </table> 38 </table>
35 <h3>Functions</h3> 39 <h3>Functions</h3>
40
36 <table> 41 <table>
42
37 <tr> 43 <tr>
38 <td><a href="#__pyName">__pyName</a></td> 44 <td><a href="#__pyName">__pyName</a></td>
39 <td>Local function to create the Python source file name for the compiled .ui file.</td> 45 <td>Local function to create the Python source file name for the compiled .ui file.</td>
40 </tr><tr> 46 </tr>
47 <tr>
41 <td><a href="#compileUiFiles">compileUiFiles</a></td> 48 <td><a href="#compileUiFiles">compileUiFiles</a></td>
42 <td>Module function to compile the .ui files of a directory tree to Python sources.</td> 49 <td>Module function to compile the .ui files of a directory tree to Python sources.</td>
43 </tr> 50 </tr>
44 </table> 51 </table>
45 <hr /><hr /> 52 <hr />
53 <hr />
46 <a NAME="__pyName" ID="__pyName"></a> 54 <a NAME="__pyName" ID="__pyName"></a>
47 <h2>__pyName</h2> 55 <h2>__pyName</h2>
48 <b>__pyName</b>(<i>py_dir, py_file</i>) 56 <b>__pyName</b>(<i>py_dir, py_file</i>)
57
49 <p> 58 <p>
50 Local function to create the Python source file name for the compiled 59 Local function to create the Python source file name for the compiled
51 .ui file. 60 .ui file.
52 </p><dl> 61 </p>
62 <dl>
63
53 <dt><i>py_dir</i></dt> 64 <dt><i>py_dir</i></dt>
54 <dd> 65 <dd>
55 suggested name of the directory (string) 66 suggested name of the directory (string)
56 </dd><dt><i>py_file</i></dt> 67 </dd>
68 <dt><i>py_file</i></dt>
57 <dd> 69 <dd>
58 suggested name for the compile source file (string) 70 suggested name for the compile source file (string)
59 </dd> 71 </dd>
60 </dl><dl> 72 </dl>
73 <dl>
61 <dt>Returns:</dt> 74 <dt>Returns:</dt>
62 <dd> 75 <dd>
63 tuple of directory name (string) and source file name (string) 76 tuple of directory name (string) and source file name (string)
64 </dd> 77 </dd>
65 </dl> 78 </dl>
66 <div align="right"><a href="#top">Up</a></div> 79 <div align="right"><a href="#top">Up</a></div>
67 <hr /><hr /> 80 <hr />
81 <hr />
68 <a NAME="compileUiFiles" ID="compileUiFiles"></a> 82 <a NAME="compileUiFiles" ID="compileUiFiles"></a>
69 <h2>compileUiFiles</h2> 83 <h2>compileUiFiles</h2>
70 <b>compileUiFiles</b>(<i>directory, recurse=False</i>) 84 <b>compileUiFiles</b>(<i>directory, recurse=False</i>)
85
71 <p> 86 <p>
72 Module function to compile the .ui files of a directory tree to Python 87 Module function to compile the .ui files of a directory tree to Python
73 sources. 88 sources.
74 </p><dl> 89 </p>
90 <dl>
91
75 <dt><i>directory</i></dt> 92 <dt><i>directory</i></dt>
76 <dd> 93 <dd>
77 name of a directory to scan for .ui files (string) 94 name of a directory to scan for .ui files (string)
78 </dd><dt><i>recurse</i></dt> 95 </dd>
96 <dt><i>recurse</i></dt>
79 <dd> 97 <dd>
80 flag indicating to recurse into subdirectories (boolean) 98 flag indicating to recurse into subdirectories (boolean)
81 </dd> 99 </dd>
82 </dl> 100 </dl>
83 <div align="right"><a href="#top">Up</a></div> 101 <div align="right"><a href="#top">Up</a></div>

eric ide

mercurial